Merge "NSX|P: Disable API passthrough for enable_standby_relocation" into stable/stein

This commit is contained in:
Zuul 2019-04-10 19:34:59 +00:00 committed by Gerrit Code Review
commit 3b36f52f4b
1 changed files with 14 additions and 16 deletions

View File

@ -1384,7 +1384,6 @@ class NsxPolicyPlugin(nsx_plugin_common.NsxPluginV3Base):
LOG.error("Tier0 %s does not have an edge cluster",
tier0_uuid)
if cfg.CONF.nsx_p.allow_passthrough:
try:
# Enable standby relocation on this router
self.nsxpolicy.tier1.set_standby_relocation(
@ -1399,7 +1398,6 @@ class NsxPolicyPlugin(nsx_plugin_common.NsxPluginV3Base):
self.update_router_firewall(context, router_id)
def delete_service_router(self, project_id, router_id):
if cfg.CONF.nsx_p.allow_passthrough:
try:
# Disable standby relocation on this router
self.nsxpolicy.tier1.set_standby_relocation(