neutron_lib.agent.l3_extension module¶
- class neutron_lib.agent.l3_extension.L3AgentExtension¶
Bases:
AgentExtension
Define stable abstract interface for l3 agent extensions.
An agent extension extends the agent core functionality.
- abstract add_router(context, data)¶
Handle a router add event.
Called on router create.
- Parameters:
context – RPC context.
data – Router data.
- abstract delete_router(context, data)¶
Handle a router delete event.
- Parameters:
context – RPC context.
data – Router data.
- abstract ha_state_change(context, data)¶
Change router state from agent extension.
Called on HA router state change.
- Parameters:
context – rpc context
data – dict of router_id and new state
- abstract update_network(context, data)¶
Handle a network update event.
Called on network update.
- Parameters:
context – RPC context.
data – dict of network data.
- abstract update_router(context, data)¶
Handle a router update event.
Called on router update.
- Parameters:
context – RPC context.
data – Router data.