NSX|P: improve security rules creation performance
Call the api under transaction without child rules Change-Id: Ibb891b2c31e756b2813d55635a80e5a0ac658ae8
This commit is contained in:
parent
331ba4509f
commit
b55dc0b58b
|
@ -3970,7 +3970,7 @@ class NsxPolicyPlugin(nsx_plugin_common.NsxPluginV3Base):
|
|||
# Update the policy with all the rules.
|
||||
self.nsxpolicy.comm_map.update_with_entries(
|
||||
NSX_P_GLOBAL_DOMAIN_ID, sg_id, entries=backend_rules,
|
||||
category=category)
|
||||
category=category, use_child_rules=False)
|
||||
|
||||
self._run_under_transaction(_do_update_rules)
|
||||
|
||||
|
|
Loading…
Reference in New Issue