Merge "NSX|V: Fix use case with no FWaaS for a router"

This commit is contained in:
Jenkins 2017-05-15 10:48:31 +00:00 committed by Gerrit Code Review
commit a53959be61

View File

@ -98,6 +98,10 @@ class NsxvFwaasCallbacks(firewall_l3_agent.L3WithFWaaS):
# Do not add firewall rules on the tlr router.
return False
if not self._get_router_firewall_id(ctx_elevated, router_id):
# No FWaas Firewall was assigned to this router
return False
return True
def get_fwaas_rules_for_router(self, context, router_id):