Merge "NSX|P: Do not search for FW resources when not needed"

This commit is contained in:
Zuul 2020-04-23 15:06:13 +00:00 committed by Gerrit Code Review
commit 1472b8d077

View File

@ -372,7 +372,6 @@ class NsxpFwaasCallbacksV2(com_callbacks.NsxCommonv3FwaasCallbacksV2):
# TODO(asarfaty): Consider keeping the FW with default allow # TODO(asarfaty): Consider keeping the FW with default allow
# rule instead of deletion as it may be created again soon # rule instead of deletion as it may be created again soon
self.delete_router_gateway_policy(router_id) self.delete_router_gateway_policy(router_id)
self.cleanup_router_fw_resources(router_id)
def create_or_update_router_gateway_policy(self, context, router_id, def create_or_update_router_gateway_policy(self, context, router_id,
router, fw_rules): router, fw_rules):