The neutron_fwaas.services.firewall.fwaas_plugin_v2 Module

class neutron_fwaas.services.firewall.fwaas_plugin_v2.FirewallAgentApi(topic, host)

Bases: object

Plugin side of plugin to agent RPC API.

create_firewall_group(context, firewall_group)
delete_firewall_group(context, firewall_group)
update_firewall_group(context, firewall_group)
class neutron_fwaas.services.firewall.fwaas_plugin_v2.FirewallCallbacks(plugin)

Bases: object

firewall_group_deleted(context, fwg_id, **kwargs)

Agent uses this to indicate firewall is deleted.

get_firewall_groups_for_project(context, **kwargs)

Gets all firewall_groups and rules on a project.

get_projects_with_firewall_groups(context, **kwargs)

Get all projects that have firewall_groups.

set_firewall_group_status(context, fwg_id, status, **kwargs)

Agent uses this to set a firewall_group’s status.

target = <Target version=1.0>
class neutron_fwaas.services.firewall.fwaas_plugin_v2.FirewallPluginV2

Bases: neutron_fwaas.db.firewall.v2.firewall_db_v2.Firewall_db_mixin_v2

Implementation of the Neutron Firewall Service Plugin.

This class manages the workflow of FWaaS request/response. Most DB related works are implemented in class firewall_db_v2.Firewall_db_mixin_v2.

create_firewall_group(context, firewall_group)
delete_db_firewall_group_object(context, id)
delete_firewall_group(context, id)
path_prefix = ‘/fwaas’
start_rpc_listeners()
supported_extension_aliases = [‘fwaas_v2’]
update_firewall_group(context, id, firewall_group)
update_firewall_policy(context, id, firewall_policy)
update_firewall_rule(context, id, firewall_rule)
neutron_fwaas.services.firewall.fwaas_plugin_v2.add_provider_configuration(type_manager, service_type)