[ovs-discuss] Select primary on bond active-backup interface?

Ben Pfaff blp at ovn.org
Tue Nov 22 06:33:58 UTC 2016


If you need a particular interface to always be preferred, then yes that
would require additional work.  It's a reasonable enough feature so I
expect that we'd accept a patch contribution in this area.

On Tue, Nov 22, 2016 at 08:21:54AM +0200, Paul Roland wrote:
> That is very nice thank you. So still no way to really select primary
> interface like linux bonding does.
> 
> Quote: The setting is  not  permanent:  a  new  active  slave  will
> be selected if slave becomes disabled.
> 
> Means scripting has to be done to failback to primary (preempt)
> 
> 
> On 22 November 2016 at 07:53, Ben Pfaff <blp at ovn.org> wrote:
> > Use bond/set-active-slave, documented in ovs-vswitchd(8).
> >
> > On Tue, Nov 22, 2016 at 12:27:57AM +0200, Paul Roland wrote:
> >> Hi everyone,
> >> I have a bit of a dilemma here. I did create a simple bond0 via ovs,
> >> active-backup mode.
> >> However, ovs selects my second nick against my will and I cannot find
> >> a way to change that.
> >> Could someone please advise...
> >> On the paste below you can see it select te0 as slave. I have to
> >> disable te1 in order to point it to the right direction...
> >>
> >> ---- bond0 ----
> >> bond_mode: active-backup
> >> bond may use recirculation: no, Recirc-ID : -1
> >> bond-hash-basis: 0
> >> updelay: 0 ms
> >> downdelay: 0 ms
> >> lacp_status: off
> >> active slave mac: a0:36:9f:61:6a:75(te0)
> >>
> >> slave te0: enabled
> >>         active slave
> >>         may_enable: true
> >>
> >> slave te1: disabled
> >>         may_enable: false
> >> _______________________________________________
> >> discuss mailing list
> >> discuss at openvswitch.org
> >> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


More information about the discuss mailing list