@@ -1250,7 +1250,7 @@ def _get_nets_and_ipv6_ra_confs_for_router_port(self, context, port):
12501250 # leak the RAs generated for the tenant networks via the
12511251 # provider network
12521252 ipv6_ra_configs ['send_periodic' ] = 'true'
1253- if is_gw_port and utils .is_provider_network (net ):
1253+ if is_gw_port and utils .is_external_network (net ):
12541254 ipv6_ra_configs ['send_periodic' ] = 'false'
12551255 ipv6_ra_configs ['mtu' ] = str (net ['mtu' ])
12561256
@@ -1562,9 +1562,12 @@ def _gen_router_port_options(self, port, network=None):
15621562 # logical router port is centralized in the chassis hosting the
15631563 # distributed gateway port.
15641564 # https://github.com/openvswitch/ovs/commit/85706c34d53d4810f54bec1de662392a3c06a996
1565+ # FIXME(ltomasbo): Once Bugzilla 2162756 is fixed the
1566+ # is_provider_network check should be removed
15651567 if network .get (pnet .NETWORK_TYPE ) == const .TYPE_VLAN :
15661568 options [ovn_const .LRP_OPTIONS_RESIDE_REDIR_CH ] = (
1567- 'false' if ovn_conf .is_ovn_distributed_floating_ip ()
1569+ 'false' if (ovn_conf .is_ovn_distributed_floating_ip () and
1570+ not utils .is_provider_network (network ))
15681571 else 'true' )
15691572
15701573 is_gw_port = const .DEVICE_OWNER_ROUTER_GW == port .get (
@@ -1979,8 +1982,9 @@ def update_network(self, context, network, original_network=None):
19791982 for subnet in subnets :
19801983 self .update_subnet (context , subnet , network , txn )
19811984
1982- if utils .is_provider_network (network ):
1983- # make sure to use admin context as this is a providernet
1985+ if utils .is_external_network (network ):
1986+ # make sure to use admin context as this is a external
1987+ # network
19841988 self .set_gateway_mtu (n_context .get_admin_context (),
19851989 network , txn )
19861990
0 commit comments