...
- The transmission frequency of packet_in
We suggest the packet_in interval is 50ms, that is 20 copies of packet_in messages are send in one second, and this can be configured in IxNetwork. - How to shutdown the controller(ONOS)
Active approach
Code Block onos> system:shutdown
Passive approach
Code Block $ sudo killall -9 java
How to confirm the master role of the switch
Code Block onos> devices
Preparation
- Cluster formed
3 mode
$ $ONOS_INSTALL_DIR/bin/onos-form-cluster OC1 OC2 OC35 mode
$ $ONOS_INSTALL_DIR/bin/onos-form-cluster OC1 OC2 OC3 OC4 OC57 mode
$ $ONOS_INSTALL_DIR/bin/onos-form-cluster OC1 OC2 OC3 OC4 OC5 OC6 OC7
Features install
onos> feature:install onos-driversonos> feature:install onos-openflowonos> feature:install onos-openflow-baseonos> feature:install onos-app-fwd
Test steps
1. Config IxNetwork with one switch. Set the packet_in messages of the switch, the interval is 50ms, total 100000 packets, using ICMP or ARP packets.
2. Start the controller with the features install.
3. Start the OF protocol of the switch.
4. Wait until all of the channels are established and Echo message interaction started.
5. Enable packet_in and check whether the packet_in sended and packet_out received are the same.
6. If step 5 passed, confirm the master controller of this switch, here we use Cm to represent.
7. Start the capture of IxNetwork.
8. Shutdown controller Cm, and wait until packet_in messages start response again.
9. Stop the capture, analyse the messages captured and write down the result.
10. Clean the configuration of controllers and IxNetwork.
11. Repeat test step 1-10 for three times.
12. Restart the test with another nodes of cluster.
Test Results
...
| Cluster Mode | First | Second | Third | Average |
|---|---|---|---|---|
| 3 controller | 0.284 | 0.488 | 0.465 | 0.412 |
| 5 controller | 0.341 | 0.284 | 0.376 | 0.334 |
| 7 controller | 0.495 | 0.496 | 0.553 | 0.515 |
