neutron_fwaas.extensions.firewall_v2 module

class neutron_fwaas.extensions.firewall_v2.Firewall_v2

Bases: APIExtensionDescriptor

api_definition = <module 'neutron_lib.api.definitions.firewall_v2' from '/home/zuul/src/opendev.org/openstack/neutron-fwaas/.tox/docs/lib/python3.10/site-packages/neutron_lib/api/definitions/firewall_v2.py'>
classmethod get_plugin_interface()

Returns an abstract class which defines contract for the plugin.

The abstract class should inherit from neutron_lib.services.base.ServicePluginBase. Methods in this abstract class should be decorated as abstractmethod

classmethod get_resources()

List of extensions.ResourceExtension extension objects.

Resources define new nouns, and are accessible through URLs.

class neutron_fwaas.extensions.firewall_v2.Firewallv2PluginBase

Bases: ServicePluginBase

abstract create_firewall_group(context, firewall_group)
abstract create_firewall_policy(context, firewall_policy)
abstract create_firewall_rule(context, firewall_rule)
abstract delete_firewall_group(context, id)
abstract delete_firewall_policy(context, id)
abstract delete_firewall_rule(context, id)
abstract get_firewall_group(context, id, fields=None)
abstract get_firewall_groups(context, filters=None, fields=None)
abstract get_firewall_policies(context, filters=None, fields=None)
abstract get_firewall_policy(context, id, fields=None)
abstract get_firewall_rule(context, id, fields=None)
abstract get_firewall_rules(context, filters=None, fields=None)
get_plugin_description()

Return string description of the plugin.

get_plugin_type()

Return one of predefined service types.

abstract insert_rule(context, id, rule_info)
abstract remove_rule(context, id, rule_info)
abstract update_firewall_group(context, id, firewall_group)
abstract update_firewall_policy(context, id, firewall_policy)
abstract update_firewall_rule(context, id, firewall_rule)