Custom Search

Friday, July 11, 2014

Introduction to OpenvSwitch

1)
What is ovs-vsctl ?

* The ovs−vsctl program configures ovs−vswitchd by providing a high−level interface to its configuration database.

https://nsrc.org/workshops/2014/nznog-sdn/raw-attachment/wiki/Agenda/OpenVSwitch.pdf

a)
Prints a brief overview of the Open vSwitch database contents.

#sudo ovs-vsctl show

b)
List all bridges

#sudo ovs-vsctl list-br

c)
List all ports on a bridge

#sudo ovs-vsctl list-ports
#sudo ovs-vsctl list-ports br-ex


d)
List all interfaces

#sudo ovs-vsctl list-ifaces
#sudo ovs-vsctl list-ifaces br-ex


e)
Database Commands
-----------------------------

e1)
List content in the "Bridge" table

#sudo ovs-vsctl list Bridge
#sudo ovs-vsctl --format=table list Bridge
sudo ovs-vsctl --format=table --columns=name,external_ids,status  list Bridge


e2)
List content in the "Port" table

#sudo ovs-vsctl list Port
#sudo ovs-vsctl --format=table list Port


e3)
List content in the "Interface" table

#sudo ovs-vsctl list Interface
#sudo ovs-vsctl --format=table list Interface


No comments:

Post a Comment