Merge "ovn: Do not set reside-on-redirect-chassis on distributed FIP"

This commit is contained in:
Zuul 2021-03-24 14:29:15 +00:00 committed by Gerrit Code Review
commit 44ee7fc0aa
1 changed files with 2 additions and 1 deletions

View File

@ -1326,7 +1326,8 @@ class OVNClient(object):
# logical router port is centralized in the chassis hosting the
# distributed gateway port.
# https://github.com/openvswitch/ovs/commit/85706c34d53d4810f54bec1de662392a3c06a996
if network.get(pnet.NETWORK_TYPE) == const.TYPE_VLAN:
if (network.get(pnet.NETWORK_TYPE) == const.TYPE_VLAN and
not ovn_conf.is_ovn_distributed_floating_ip()):
options['reside-on-redirect-chassis'] = 'true'
is_gw_port = const.DEVICE_OWNER_ROUTER_GW == port.get(