Configure OVS for OpenDaylight Open Flow Controller


In OVS, the controller property of the bridge created earlier needs to be added to include the controller IP address and port number. The command ovs-vsctl  set-controller br0 tcp:200.16.1.240:6633, is to set a controller address for bridge br0. The command ovs-vsctl show can now show the bridge information. The connection status is not shown because the controller has not been started yet. 

Figure 2 – Set OpenDaylight controller IP address


The OpenDaylight controller will be running on the controller PC with IP address 200.16.1.240, using default port 6633. The port number can be changed. For this exercise, the controller will be started with "./run.sh"

Figure 3 – Start OpenDaylight-manager

 
 Once the controller is started, the connection status will change to is_connected: true. The controller port information can also be shown using the command ovs-ofctl show br0.

 Figure 4 – Show controller connection status


Copyright © 2024 Pica8 Inc. All Rights Reserved.