AdminUtil|NSX-v: complete plugin init

Make sure the init_complete method of the plugin wrapper used in the
admin utilities is called, so the md-proxy initialization is completed.

Change-Id: I5bc9e05fc6ab4068822ffad0b82788ae7225ee19
This commit is contained in:
Adit Sarfaty 2017-07-30 08:50:04 +03:00
parent edd402ab7a
commit 7a5246d1ed

@ -48,6 +48,8 @@ class NsxVPluginWrapper(plugin.NsxVPlugin):
def __init__(self):
config.register_nsxv_azs(cfg.CONF, cfg.CONF.nsxv.availability_zones)
super(NsxVPluginWrapper, self).__init__()
# finish the plugin initialization (md-proxy)
self.init_complete(0, 0, 0)
# Make this the core plugin
directory.add_plugin('CORE', self)