Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

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: sets the controller address for bridge br0 on port 6633. The command ovs-vsctl show would then show the bridge information. The connection status is not shown because the controller has not been started yet.

Figure 5 – Set RYU controller IP address

The RYU controller will be running on the controller PC with IP address using the default port 6633. The port number can be changed. For this exercise, the controller will be started with the –verbose mode.

Figure 6 – Start RYU-manager with verbose option

The --verbose mode helps us understand the RYU controller-OVS interaction. Use the command ryu-manager –verbose to start the controller. The TCP connection is established first and the connection information is printed with peer (OVS) IP address 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 7 – Show controller connection status

  • No labels