OK. Thanks. Neil
On Jul 1, 2011, at 2:35 PM, Ben Pfaff wrote: > On Fri, Jul 01, 2011 at 02:32:01PM -0700, Neil McKee wrote: >> What does it mean for a bridge to appear in "ovs-vsctl list-br" that >> does not then also appear in "ovs-vsctl list bridge"? > > Those are "VLAN bridges" or "fake bridges", see ovs-vsctl(8) under > "Linux VLAN Bridging Compatibility". > >> I ran into this problem on a XenServer 5.6FP1 system. The bridge >> "xapi1" appeared in the first list ("list-br") but not in the second >> one ("list bridge"). > > Yes, xapi1 is a VLAN bridge. > >> I'm looking for a reliable and universal way to get the list of >> bridges that can be given an sFlow config. Should I avoid "list-br" >> and just parse the more verbose "list bridge" output instead? > > The latter is better, yes. You can use "ovs-vsctl --bare -- > --columns=name list bridge" if that makes parsing easier. _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss