neutron_fwaas.services.firewall.service_drivers.agents.firewall_agent_api module

class neutron_fwaas.services.firewall.service_drivers.agents.firewall_agent_api.FWaaSAgentRpcCallbackMixin(host: str)

Bases: object

Mixin for FWaaS agent Implementations.

create_firewall(context: Context, firewall: dict[str, Any], host: str) → None

Handle RPC cast from plugin to create a firewall.

delete_firewall(context: Context, firewall: dict[str, Any], host: str) → None

Handle RPC cast from plugin to delete a firewall.

update_firewall(context: Context, firewall: dict[str, Any], host: str) → None

Handle RPC cast from plugin to update a firewall.

class neutron_fwaas.services.firewall.service_drivers.agents.firewall_agent_api.FWaaSPluginApiMixin(topic: str, host: str, rpc_version: str = '1.1')

Bases: object

Agent side of the FWaaS agent to FWaaS Plugin RPC API.

firewall_deleted(context: Context, firewall_id: str) → Any

Make a RPC to indicate that the firewall resources are deleted.

set_firewall_status(context: Context, firewall_id: str, status: str) → Any

Make a RPC to set the status of a firewall.