aboutsummaryrefslogtreecommitdiff
path: root/datapath/datapath.h
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2009-09-14 11:27:39 -0700
committerBen Pfaff <blp@nicira.com>2009-09-14 11:27:42 -0700
commit2e44e26d10a911eec911f303eca44fdc97a5d80c (patch)
tree887bb0156c0180080032bcc9e2927dccb0bbcbcd /datapath/datapath.h
parent3b135da329687c69d3a0f1689621f75cc4888d6f (diff)
ovs-vsctl: additional commands for querying VLAN fake bridges.
Our test automation needs to be able to validate that a VLAN bridge and for this I needed two new operations in ovs-vsctl: * The ability to query the VLAN tag for a bridge. * The ability to query the 'parent' of a bridge. The parent is the non-VLAN/untagged bridge with the same physical devices and could be a bond. So given xenbr0 (containing eth0) + xapi2 (VLAN 42 on eth0) and xapi1 (containing bond0 == eth2+eth3) + xapi3 (VLAN 23 on the bonded interface): [root@warlock ~]# ovs-vsctl br-to-vlan xapi2 42 [root@warlock ~]# ovs-vsctl br-to-vlan xapi3 23 [root@warlock ~]# ovs-vsctl br-to-parent xapi2 xenbr0 [root@warlock ~]# ovs-vsctl br-to-parent xapi3 xapi1
Diffstat (limited to 'datapath/datapath.h')
0 files changed, 0 insertions, 0 deletions