Merge "NSX|V: Fix use case with no FWaaS for a router"
This commit is contained in:
commit
a53959be61
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user