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
This commit is contained in:
parent
b7a2187a10
commit
b9d65bda75
|
@ -2493,6 +2493,12 @@ class NsxPolicyPlugin(nsx_plugin_common.NsxPluginV3Base):
|
||||||
if not cfg.CONF.nsx_p.allow_passthrough:
|
if not cfg.CONF.nsx_p.allow_passthrough:
|
||||||
return
|
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(
|
lr_id = self.nsxpolicy.tier1.get_realized_id(
|
||||||
router_id, entity_type='RealizedLogicalRouter')
|
router_id, entity_type='RealizedLogicalRouter')
|
||||||
if not lr_id:
|
if not lr_id:
|
||||||
|
|
Loading…
Reference in New Issue