Managing OVS Using OpenDaylight

Next, we will show you how to manage the OVS instance called br-test using an ODL controller. This will complete the whole setup and configuration:

  1. On the Open vSwitch node, set the ODL controller IP address on the OVS bridge instance. as shown in the following screenshot. In your setup, the IP address of the ODL controller may be different. By default, ODL listens to port 6633 for OpenFlow protocol messages.

    Managing OVS Using OpenDaylight

  2. Once the preceding command is successfully executed, the OVS instance br-test will send OpenFlow messages to the ODL controller. We can now log in to our ODL DLUX GUI and view details about the OVS and the hosts.
  3. Open a browser and navigate to http://<controller-ip-address>:8181/index.html#/topology. This will display OVS and the host topology, as shown in the following screenshot:

    Managing OVS Using OpenDaylight

  4. In the left navigation bar, click on the Nodes. This will show a tabular view of the OVS instance. The number 3 indicates the number of ports on OVS instance:

    Managing OVS Using OpenDaylight

  5. Click on the Node connectors number (in this case 3) to view additional details such as the MAC address of each connector or port as shown in the following screenshot:

    Managing OVS Using OpenDaylight

  6. If there is data traffic going between Host 1 and 2, the traffic statistics are collected by the OVS instance. We can view these statistics using ODL GUI as well. Click on Nodes in the left navigation bar and then click on Node Connectors under the Statistics column for OVS instance. The DLUX UI will show details such as packets transmitted and received, bytes transmitted and received on each port/connector of the OVS instance.

    Managing OVS Using OpenDaylight

The preceding steps showed how quickly we could manage an Open vSwitch virtual switch using ODL. There are several important points to highlight at this stage:

  • We explicitly installed only the L2 Switch packages in ODL. Internally based on dependencies ODL automatically installed the SAL layer as well as the OpenFlow protocol plugin.
  • Since Open vSwitch support OpenFlow, our ODL controller instance was able to the OVS bridge and created an abstracted model inside the controller platform.
  • The topology modules of the controller platform then were able to leverage the data in the abstract model to stitch the topology connectivity of the OVS virtual switch.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.17.43