This Page

The quantum.agent.rpc Module

class quantum.agent.rpc.PluginApi(topic)

Bases: quantum.openstack.common.rpc.proxy.RpcProxy

Agent side of the rpc API.

API version history:
1.0 - Initial version.
BASE_RPC_API_VERSION = '1.0'
get_device_details(context, device, agent_id)
tunnel_sync(context, tunnel_ip)
update_device_down(context, device, agent_id)
update_device_up(context, device, agent_id)
class quantum.agent.rpc.PluginReportStateAPI(topic)

Bases: quantum.openstack.common.rpc.proxy.RpcProxy

BASE_RPC_API_VERSION = '1.0'
report_state(context, agent_state, use_call=False)
quantum.agent.rpc.create_consumers(dispatcher, prefix, topic_details)

Create agent RPC consumers.

Parameters:
  • dispatcher – The dispatcher to process the incoming messages.
  • prefix – Common prefix for the plugin/agent message queues.
  • topic_details – A list of topics. Each topic has a name and a operation.
Returns:

A common Connection.