[ovs-discuss] openvswitch-2.5.0 selectively remove bond members

Ben Pfaff blp at ovn.org
Thu Oct 5 20:38:47 UTC 2017


On Thu, Oct 05, 2017 at 08:24:59PM +0000, MY-OVS DISCUSS via discuss wrote:
> Hi,
> I am trying to use ovs-vsctl to remove a particular member of a bond or add a member to an existing bond.
> Looks like I can use ovs-vsctl remove port bond0 interfaces <_uuid_of_member_iface>But, if I have to add a member to an existing interface, I don't see anyway of doing it, otherthan deleting the whole bond and supply new set of members.
> Is there a way to add new member using ovs-vsctl add port bond0 interfaces <netdev_name> ?

You could use "create" and "add", but there shouldn't be much downside
to removing and adding a bond in a single transaction:

ovs-vsctl del-port br0 bond0 -- add-bond br0 bond0 a b c d



More information about the discuss mailing list