This repository provides a small test program that reproduces FlowRuleEvent reordering reported in ONOS-5093.
Just enter the following command under the project directory.
mvn clean install
- Start ONOS on your machine with
ok clean
- Start Mininet
sudo mn --topo linear,10 --controller=remote,ip=<IP address of ONOS>
-
Run the application There are multiple ways to deploy and run an ONOS application (more info). The recommended way here is using ONOS Web UI. Open "Application" in the menu appearing when clicking the upper left corner button. Click the "+" button to install a new application. The application file is
target/reorder-test-1.0-SNAPSHOT.oar
. -
Check the log You can check the log on your machine with
log:tail
or
log:display
You could see warning-level log outputs. The results may differ every execution because multi-threading causes the issue.
- Reorders of FlowRuleEvent can be observed when using ONOS whose commit hash is 914db1cf9fba4958c3d6963f5996c7b9c7b338e9