Browse Source

NSX|P: Remove redundent logs when updating fwaas groups

Change-Id: Ia814adae63c76c1e54c55ba98ea51a4d569eeeb1
tags/16.0.5
asarfaty 3 weeks ago
committed by Adit Sarfaty
parent
commit
81e8d46453
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      vmware_nsx/services/fwaas/nsx_p/fwaas_callbacks_v2.py

+ 2
- 1
vmware_nsx/services/fwaas/nsx_p/fwaas_callbacks_v2.py View File

@@ -184,7 +184,8 @@ class NsxpFwaasCallbacksV2(com_callbacks.NsxCommonv3FwaasCallbacksV2):
"""Update the segment group for fwaas rules in case fip changed"""
try:
group_id = '%s-%s' % (router_id, neutron_net_id)
self.nsxpolicy.group.get(policy_constants.DEFAULT_DOMAIN, group_id)
self.nsxpolicy.group.get(policy_constants.DEFAULT_DOMAIN, group_id,
silent=True)
except Exception:
# no relevant group needs to be updated
return


Loading…
Cancel
Save