AdminUtil|NSX-v: complete plugin init
Commit 5bc9e05fc6ab4068822ffad0b82788ae7225ee19 included the init_complete in the admin util wrapper plugin, but the order of commands should be different. We should mark this plugin as the core one, before calling init_complete a in some scenarios it tries to get the core plugin. Change-Id: Ifce172a42d94f52d8dfc6240bdfd5564ef6bbf36
This commit is contained in:
parent
39b2821126
commit
8270a1c08b
|
@ -48,10 +48,10 @@ 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)
|
||||
# finish the plugin initialization (md-proxy)
|
||||
self.init_complete(0, 0, 0)
|
||||
|
||||
def _start_rpc_listeners(self):
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue