Merge "NSX|V3: Init FWaaS before spawn"

This commit is contained in:
Zuul 2019-01-30 08:23:08 +00:00 committed by Gerrit Code Review
commit a13d49b0ab

View File

@ -402,6 +402,9 @@ class NsxV3Plugin(nsx_plugin_common.NsxPluginV3Base,
self,
self._get_octavia_stats_getter()))
# Init the FWaaS support
self._init_fwaas()
def init_complete(self, resource, event, trigger, payload=None):
with locking.LockManager.get_lock('plugin-init-complete'):
if self.init_is_complete:
@ -413,9 +416,6 @@ class NsxV3Plugin(nsx_plugin_common.NsxPluginV3Base,
self.nsxlib.reinitialize_cluster(resource, event, trigger,
payload=payload)
# Init the FWaaS support
self._init_fwaas()
# Init the house keeper
self.housekeeper = housekeeper.NsxHousekeeper(
hk_ns='vmware_nsx.neutron.nsxv3.housekeeper.jobs',