This patch fixes one last bit of code that assumed that the base
PluginApi used RpcProxy. This code is now fixed to use the proper
oslo.messaging APIs instead.
Part of blueprint drop-rpc-compat.
Change-Id: I4adc321c07e6b5ad45a01f163b4c7e1ab74bcafd
class SdnvePluginApi(agent_rpc.PluginApi):
def sdnve_info(self, context, info):
- return self.call(context,
- self.make_msg('sdnve_info', info=info))
+ cctxt = self.client.prepare()
+ return cctxt.call(context, 'sdnve_info', info=info)
class SdnveNeutronAgent(object):