...
ECMP / WCMP demo application
Work in progressONOS 1.6 comes with 2 demo applications that use a P4 data plane. These applications provide an example of how to program BMv2 with a specific P4 program and how to control it to provide different load balancing schemes, namely Equal-Cost Multi-Path (ECMP) via ecmp.p4
and Weighted-Cost Multi-Path (WCMP) via wcmp.p4
. These applications can be found under apps/bmv2-demo
. We also provide a python script to run a Mininet topology to test these 2 applications.
This section is still work in progress.
Known issues
- In ONOS 1.6.0:
- When running a cluster with multiple instances of ONOS, a stack overflow Java exception will be thrown by
Bmv2TableEntryService
. This is due to a known bug of the Kryo serializer. This issue has been already fixed and is available in the latestmaster
andonos-1.6
branch.
- When running a cluster with multiple instances of ONOS, a stack overflow Java exception will be thrown by