The neutron_fwaas.extensions.firewall_v2 Module

exception neutron_fwaas.extensions.firewall_v2.FirewallGroupInPendingState(**kwargs)

Bases: neutron_lib.exceptions.Conflict

message = u'Operation cannot be performed since associated Firewall %(firewall_id)s is in %(pending_state)s.'
exception neutron_fwaas.extensions.firewall_v2.FirewallGroupInUse(**kwargs)

Bases: neutron_lib.exceptions.InUse

message = u'Firewall %(firewall_id)s is still active.'
exception neutron_fwaas.extensions.firewall_v2.FirewallGroupNotFound(**kwargs)

Bases: neutron_lib.exceptions.NotFound

message = u'Firewall Group %(firewall_id)s could not be found.'
exception neutron_fwaas.extensions.firewall_v2.FirewallGroupPortInUse(**kwargs)

Bases: neutron_lib.exceptions.InUse

message = u'Port(s) %(port_ids)s provided already associated with other Firewall Group(s). '
exception neutron_fwaas.extensions.firewall_v2.FirewallGroupPortInvalid(**kwargs)

Bases: neutron_lib.exceptions.Conflict

message = u'Firewall Group Port %(port_id)s is invalid'
exception neutron_fwaas.extensions.firewall_v2.FirewallGroupPortInvalidProject(**kwargs)

Bases: neutron_lib.exceptions.Conflict

message = u'Operation cannot be performed as port %(port_id)s is in an invalid project %(tenant_id)s.'
exception neutron_fwaas.extensions.firewall_v2.FirewallInternalDriverError(**kwargs)

Bases: neutron_lib.exceptions.NeutronException

Fwaas exception for all driver errors.

On any failure or exception in the driver, driver should log it and raise this exception to the agent

message = u'%(driver)s: Internal driver error.'
exception neutron_fwaas.extensions.firewall_v2.FirewallIpAddressConflict(**kwargs)

Bases: neutron_lib.exceptions.InvalidInput

message = u'Invalid input - IP addresses do not agree with IP Version'
exception neutron_fwaas.extensions.firewall_v2.FirewallPolicyConflict(**kwargs)

Bases: neutron_lib.exceptions.Conflict

FWaaS exception for firewall policy

Occurs when admin policy tries to use another tenant’s policy that is not public.

message = u'Operation cannot be performed since Firewall Policy %(firewall_policy_id)s is not public and does not belong to your tenant.'
exception neutron_fwaas.extensions.firewall_v2.FirewallPolicyInUse(**kwargs)

Bases: neutron_lib.exceptions.InUse

message = u'Firewall Policy %(firewall_policy_id)s is being used.'
exception neutron_fwaas.extensions.firewall_v2.FirewallPolicyNotFound(**kwargs)

Bases: neutron_lib.exceptions.NotFound

message = u'Firewall Policy %(firewall_policy_id)s could not be found.'
exception neutron_fwaas.extensions.firewall_v2.FirewallPolicySharingConflict(**kwargs)

Bases: neutron_lib.exceptions.Conflict

FWaaS exception for firewall policy

When a policy is public without sharing its associated rules, this exception will be raised.

message = u'Operation cannot be performed. Before sharing Firewall Policy %(firewall_policy_id)s, share associated Firewall Rule %(firewall_rule_id)s'
exception neutron_fwaas.extensions.firewall_v2.FirewallRuleAlreadyAssociated(**kwargs)

Bases: neutron_lib.exceptions.Conflict

Firewall rule conflict exception.

Occurs when there is an attempt to assign a rule to a policy that the rule is already associated with.

message = u'Operation cannot be performed since Firewall Rule %(firewall_rule_id)s is already associated with FirewallPolicy %(firewall_policy_id)s'
exception neutron_fwaas.extensions.firewall_v2.FirewallRuleConflict(**kwargs)

Bases: neutron_lib.exceptions.Conflict

Firewall rule conflict exception.

Occurs when admin policy tries to use another tenant’s rule that is not public

message = u'Operation cannot be performed since Firewall Rule %(firewall_rule_id)s is not public and belongs to another tenant %(tenant_id)s'
exception neutron_fwaas.extensions.firewall_v2.FirewallRuleInUse(**kwargs)

Bases: neutron_lib.exceptions.InUse

message = u'Firewall Rule %(firewall_rule_id)s is being used.'
exception neutron_fwaas.extensions.firewall_v2.FirewallRuleInfoMissing(**kwargs)

Bases: neutron_lib.exceptions.InvalidInput

message = u'Missing rule info argument for insert/remove rule operation.'
exception neutron_fwaas.extensions.firewall_v2.FirewallRuleInvalidAction(**kwargs)

Bases: neutron_lib.exceptions.InvalidInput

message = u'Firewall rule action %(action)s is not supported. Only action values %(values)s are supported.'
exception neutron_fwaas.extensions.firewall_v2.FirewallRuleInvalidICMPParameter(**kwargs)

Bases: neutron_lib.exceptions.InvalidInput

message = u'%(param)s are not allowed when protocol is set to ICMP.'
exception neutron_fwaas.extensions.firewall_v2.FirewallRuleInvalidPortValue(**kwargs)

Bases: neutron_lib.exceptions.InvalidInput

message = u'Invalid value for port %(port)s.'
exception neutron_fwaas.extensions.firewall_v2.FirewallRuleInvalidProtocol(**kwargs)

Bases: neutron_lib.exceptions.InvalidInput

message = u'Firewall Rule protocol %(protocol)s is not supported. Only protocol values %(values)s and their integer representation (0 to 255) are supported.'
exception neutron_fwaas.extensions.firewall_v2.FirewallRuleNotAssociatedWithPolicy(**kwargs)

Bases: neutron_lib.exceptions.InvalidInput

message = u'Firewall Rule %(firewall_rule_id)s is not associated with Firewall Policy %(firewall_policy_id)s.'
exception neutron_fwaas.extensions.firewall_v2.FirewallRuleNotFound(**kwargs)

Bases: neutron_lib.exceptions.NotFound

message = u'Firewall Rule %(firewall_rule_id)s could not be found.'
exception neutron_fwaas.extensions.firewall_v2.FirewallRuleSharingConflict(**kwargs)

Bases: neutron_lib.exceptions.Conflict

FWaaS exception for firewall rules

This exception will be raised when a public policy is created or updated with rules that are not public.

message = u'Operation cannot be performed since Firewall Policy %(firewall_policy_id)s is public but Firewall Rule %(firewall_rule_id)s is not public'
exception neutron_fwaas.extensions.firewall_v2.FirewallRuleWithPortWithoutProtocolInvalid(**kwargs)

Bases: neutron_lib.exceptions.InvalidInput

message = u'Source/destination port requires a protocol'
class neutron_fwaas.extensions.firewall_v2.Firewall_v2

Bases: neutron_lib.api.extensions.ExtensionDescriptor

classmethod get_alias()
classmethod get_description()
get_extended_resources(version)
classmethod get_name()
classmethod get_plugin_interface()
classmethod get_resources()
classmethod get_updated()
update_attributes_map(attributes)
class neutron_fwaas.extensions.firewall_v2.Firewallv2PluginBase

Bases: neutron.services.service_base.ServicePluginBase

create_firewall_group(context, firewall_group)
create_firewall_policy(context, firewall_policy)
create_firewall_rule(context, firewall_rule)
delete_firewall_group(context, id)
delete_firewall_policy(context, id)
delete_firewall_rule(context, id)
get_firewall_group(context, id)
get_firewall_groups(context, filters=None, fields=None)
get_firewall_policies(context, filters=None, fields=None)
get_firewall_policy(context, id, fields=None)
get_firewall_rule(context, id, fields=None)
get_firewall_rules(context, filters=None, fields=None)
get_plugin_description()
get_plugin_name()
get_plugin_type()
insert_rule(context, id, rule_info)
remove_rule(context, id, rule_info)
update_firewall_group(context, id, firewall_group)
update_firewall_policy(context, id, firewall_policy)
update_firewall_rule(context, id, firewall_rule)