This Page

The quantum.db.l3_rpc_base Module

class quantum.db.l3_rpc_base.L3RpcCallbackMixin

Bases: object

A mix-in that enable L3 agent rpc support in plugin implementations.

get_external_network_id(context, **kwargs)

Get one external network id for l3 agent.

l3 agent expects only on external network when it performs this query.

sync_routers(context, **kwargs)

Sync routers according to filters to a specific agent.

@param context: contain user information @param kwargs: host, or router_id @return: a list of routers

with their interfaces and floating_ips