Browse Source

NSX|P: Skip edge cluster realization

Currently the policy plugin waits on Tier1 edge cluster realization.
This causes a big delay on scale scenarios.
Trying to remove this for newer NSX versions in order to check if
the underlying problem is still relevant

Change-Id: I624453355b1c3e5d9e00fe9897d1b3deddf566f8
changes/02/761502/2
asarfaty 2 months ago
committed by Adit Sarfaty
parent
commit
5674a4ba42
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      vmware_nsx/plugins/nsx_p/plugin.py

+ 6
- 0
vmware_nsx/plugins/nsx_p/plugin.py View File

@@ -2504,6 +2504,12 @@ class NsxPolicyPlugin(nsx_plugin_common.NsxPluginV3Base):
if not cfg.CONF.nsx_p.allow_passthrough:
return

# TODO(asarfaty): Update version or use feature once this is fixed
if utils.is_nsx_version_3_1_0(self._nsx_version):
LOG.debug("Not waiting for edge cluster realization with NSX %s",
self._nsx_version)
return

lr_id = self.nsxpolicy.tier1.get_realized_id(
router_id, entity_type='RealizedLogicalRouter')
if not lr_id:


Loading…
Cancel
Save