Merge "NSX|P: disable tier1 firewall before removing the service router"

This commit is contained in:
Zuul
2019-02-07 06:08:40 +00:00
committed by Gerrit Code Review
+3
View File
@@ -1132,6 +1132,9 @@ class NsxPolicyPlugin(nsx_plugin_common.NsxPluginV3Base):
LOG.warning("Failed to disable standby relocation for router "
"%s: %s", router_id, ex)
# remove the edge firewall
self.nsxpolicy.tier1.update(router_id, disable_firewall=True)
# remove the edge cluster from the tier1 router
self.nsxpolicy.tier1.remove_edge_cluster(router_id)