TVD: Add start_rpc_listeners to the plugin
The TVD plugin must implement start_rpc_listeners for hte FWaaS to work properly. This was already added in the master branch in a different patch Change-Id: I0103a6ceb2b2eaceb3349fba78344d0b64da58cd
This commit is contained in:
parent
a533f05e3b
commit
6d5422f714
|
@ -210,6 +210,13 @@ class NsxTVDPlugin(agentschedulers_db.AZDhcpAgentSchedulerDbMixin,
|
|||
msg = _("Cannot use the same availability zones in NSX-V and T")
|
||||
raise nsx_exc.NsxPluginException(err_msg=msg)
|
||||
|
||||
def start_rpc_listeners(self):
|
||||
# Run the start_rpc_listeners of one of the sub-plugins
|
||||
for plugin_type in self.plugins:
|
||||
plugin = self.plugins[plugin_type]
|
||||
if plugin.rpc_workers_supported():
|
||||
return plugin.start_rpc_listeners()
|
||||
|
||||
def _unsubscribe_callback_events(self):
|
||||
# unsubscribe the callback that should be called on all plugins
|
||||
# other that NSX-T.
|
||||
|
|
Loading…
Reference in New Issue