----- Original Message -----
> From: "Ben Pfaff" <[email protected]>
> To: "Petr Horacek" <[email protected]>
> Cc: [email protected]
> Sent: Wednesday, May 6, 2015 6:07:29 PM
> Subject: Re: [ovs-discuss] Change slaves of running OVS Bond
>
> On Wed, May 06, 2015 at 02:53:57AM -0400, Petr Horacek wrote:
> > is it possible to change slaves of an existing OVS Bonding?
> > I haven't found another way than just removing existing bond
> > and adding a new one.
>
> It's possible, but ovs-vsctl does not have a built-in command to do it.
> You can use the database commands to construct these operations by hand,
> e.g.:
>
> blp@sigabrt:~/nicira/ovs/tutorial(0)$ ovs-vsctl add-br br0
> blp@sigabrt:~/nicira/ovs/tutorial(0)$ ovs-vsctl add-bond br0 bond0 eth0
> eth1
> blp@sigabrt:~/nicira/ovs/tutorial(0)$ ovs-vsctl --id=@eth0 get Interface
> eth0 -- remove Port bond0 interfaces @eth0
> blp@sigabrt:~/nicira/ovs/tutorial(0)$ ovs-vsctl --id=@eth2 create
> Interface name=eth2 -- add Port bond0 interfaces @eth2
> 4c582d42-267d-4687-bc15-79461d3cd44c
> blp@sigabrt:~/nicira/ovs/tutorial(0)$ ovs-vsctl show
> 88d3c0d3-3669-4146-bb16-f767689b0fed
> Bridge "br0"
> Port "br0"
> Interface "br0"
> type: internal
> Port "bond0"
> Interface "eth2"
> Interface "eth1"
>
Thanks a lot! :)
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss