The neutron_taas.services.taas.agents.extensions.taas Module¶
-
class
neutron_taas.services.taas.agents.extensions.taas.TaasAgentDriver¶ Bases:
objectDefines stable abstract interface for TaaS Agent Driver.
-
consume_api(agent_api)¶ Consume the AgentAPI instance from the TaasAgentExtension class
Parameters: agent_api – An instance of an agent specific API
-
create_tap_flow(tap_flow)¶ Create a tap flow request in driver.
-
create_tap_service(tap_service)¶ Create a Tap Service request in driver.
-
delete_tap_flow(tap_flow)¶ Delete a tap flow request in driver.
-
delete_tap_service(tap_service)¶ delete a Tap Service request in driver.
-
initialize()¶ Perform Taas agent driver initialization.
-
-
class
neutron_taas.services.taas.agents.extensions.taas.TaasAgentExtension¶ Bases:
neutron_lib.agent.l2_extension.L2AgentExtension-
consume_api(agent_api)¶ Receive neutron agent API object
Allows an extension to gain access to resources internal to the neutron agent and otherwise unavailable to the extension.
-
delete_port(context, port)¶ Handle a port delete event.
Parameters: - context – RPC context.
- data – Port data.
-
handle_port(context, port)¶ Handle a port add/update event.
This can be called on either create or update, depending on the code flow. Thus, it’s this function’s responsibility to check what actually changed.
Parameters: - context – RPC context.
- data – Port data.
-
initialize(connection, driver_type)¶ Initialize agent extension.
-