Merge "NSXP: advertise static routes on no-snat"
This commit is contained in:
commit
e44bec107b
@ -1582,6 +1582,7 @@ class NsxPolicyPlugin(nsx_plugin_common.NsxPluginV3Base):
|
||||
# pylint: disable=unexpected-keyword-arg
|
||||
self.nsxpolicy.tier1.update_route_advertisement(
|
||||
router_id,
|
||||
static_routes=not new_enable_snat,
|
||||
nat=actions['advertise_route_nat_flag'],
|
||||
subnets=actions['advertise_route_connected_flag'],
|
||||
tier0=new_tier0_uuid)
|
||||
@ -1602,6 +1603,7 @@ class NsxPolicyPlugin(nsx_plugin_common.NsxPluginV3Base):
|
||||
# Only update route advertisement
|
||||
self.nsxpolicy.tier1.update_route_advertisement(
|
||||
router_id,
|
||||
static_routes=not new_enable_snat,
|
||||
nat=actions['advertise_route_nat_flag'],
|
||||
subnets=actions['advertise_route_connected_flag'])
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user