On Mon, Jun 06, 2016 at 10:33:54AM +0200, Vasileios Kotronis wrote:
> Hello,
>
> I would like to ask how one can bond two or more interfaces that already
> exist within an ovs bridge.
> The following command, that tries to bond together two physical system
> interfaces that belong to
> bridge switch_c fails:
>
> # ovs-vsctl add-bond switch_c bond0 peth6 peth7
> ovs-vsctl: cannot create an interface named peth6 because a port named peth6
> already exists on bridge switch_c
>
> Could you please let me know how I can achieve this? Should I remove peth6
> and peth7 from the bridge and
> then do the bonding and use the bond0 as an LACP aggregate (and yet another
> ovs port), or is there a way
> to maintain the interfaces as they are and have an extra bond?
You could use the ovs-vsctl database commands to do this, with enough
care, but there's really no cost to removing the individual interfaces
and adding them back as a bond, even in a single step, e.g.:
ovs-vsctl del-port peth6 -- del-port peth7 -- add-bond switch_c bond0
peth6 peth7
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss