neutron_fwaas.services.firewall.service_drivers.agents.drivers.linux.l2.driver_base module

class neutron_fwaas.services.firewall.service_drivers.agents.drivers.linux.l2.driver_base.FirewallL2DriverBase(integration_bridge: str, sg_enabled: bool = False)

Bases: object

Abstract firewall L2 driver base

create_firewall_group(ports: list[dict[str, Any]], firewall_group: dict[str, Any]) → None

Called when a firewall group is created.

defer_apply() → Generator[None, None, None]

Defer apply context.

delete_firewall_group(ports: list[dict[str, Any]], firewall_group: dict[str, Any]) → None

Called when a firewall group is deleted.

filter_defer_apply_off() → None

Turn off deferral of rules and apply the rules now.

filter_defer_apply_on() → None

Defer application of filtering rule.

property ports: Any

Returns filtered ports.

update_firewall_group(ports: list[dict[str, Any]], firewall_group: dict[str, Any]) → None

Called when a firewall group is updated.