[ovs-dev] [PATCH 3/4] ofproto/bond: balance-slb mode fallbacks to active-backup mode.

nickcooper-zhangtonghao nic at opencloud.tech
Wed Feb 15 08:06:38 UTC 2017


> On Feb 15, 2017, at 12:01 PM, Andy Zhou <azhou at ovn.org> wrote:
> 
> On Mon, Feb 13, 2017 at 10:52 PM, nickcooper-zhangtonghao
> <nic at opencloud.tech <mailto:nic at opencloud.tech>> wrote:
>> lacp-fallback-ab determines the behavior of OvS bond in LACP mode.
>> If the partner switch does not support LACP, setting this option
>> to true allows OvS to fallback to active-backup. The balance-tcp
>> mode requires lacp. If LACP negotiation fails and
>> other-config:lacp-fallback-ab is true, then active-backup mode is
>> used. But if users configure the bond port to balance-slb and lacp
>> (unsuccessfully), active-backup mode is also used.
>> 
>> Signed-off-by: nickcooper-zhangtonghao <nic at opencloud.tech <mailto:nic at opencloud.tech>>
> 
> I think only accepts input from one port may be too restrictive. In case the
> up stream switch choose to transmit on the port that we deicde not to receive,
> then connection will be broken.
> 
> It seems the currently the lacp_fallback_ab only applies to
> transmit(output).  Why should
> it also apply to receive?


When we receive packets, balance-tcp may fallback to active-backup, and balance-slb
should also fallback. But I didn’t consider the case above. Maybe, this patch is not useful.

Thanks for your review.



More information about the dev mailing list