neutron_lib.exceptions.firewall_v2 module¶
-
exception
neutron_lib.exceptions.firewall_v2.FirewallGroupCannotRemoveDefault(**kwargs)¶ Bases:
neutron_lib.exceptions.InUse-
message= 'Deleting default firewall group not allowed.'¶
-
-
exception
neutron_lib.exceptions.firewall_v2.FirewallGroupCannotUpdateDefault(**kwargs)¶ Bases:
neutron_lib.exceptions.InUse-
message= 'Updating default firewall group not allowed.'¶
-
-
exception
neutron_lib.exceptions.firewall_v2.FirewallGroupDefaultAlreadyExists(**kwargs)¶ Bases:
neutron_lib.exceptions.InUseDefault firewall group conflict exception
Occurs when a user creates firewall group named ‘default’.
-
message= "Default firewall group already exists. 'default' is the reserved name for firewall group."¶
-
-
exception
neutron_lib.exceptions.firewall_v2.FirewallGroupInPendingState(**kwargs)¶ Bases:
neutron_lib.exceptions.Conflict-
message= 'Operation cannot be performed since associated firewall group %(firewall_id)s is in %(pending_state)s.'¶
-
-
exception
neutron_lib.exceptions.firewall_v2.FirewallGroupInUse(**kwargs)¶ Bases:
neutron_lib.exceptions.InUse-
message= 'Firewall group %(firewall_id)s is still active.'¶
-
-
exception
neutron_lib.exceptions.firewall_v2.FirewallGroupNotFound(**kwargs)¶ Bases:
neutron_lib.exceptions.NotFound-
message= 'Firewall group %(firewall_id)s could not be found.'¶
-
-
exception
neutron_lib.exceptions.firewall_v2.FirewallGroupPortInUse(**kwargs)¶ Bases:
neutron_lib.exceptions.InUse-
message= 'Port(s) %(port_ids)s provided already associated with other firewall group(s).'¶
-
-
exception
neutron_lib.exceptions.firewall_v2.FirewallGroupPortInvalid(**kwargs)¶ Bases:
neutron_lib.exceptions.Conflict-
message= 'Port %(port_id)s of firewall group is invalid.'¶
-
-
exception
neutron_lib.exceptions.firewall_v2.FirewallGroupPortInvalidProject(**kwargs)¶ Bases:
neutron_lib.exceptions.Conflict-
message= 'Operation cannot be performed as port %(port_id)s is in an invalid project %(project_id)s.'¶
-
-
exception
neutron_lib.exceptions.firewall_v2.FirewallGroupPortNotSupported(**kwargs)¶ Bases:
neutron_lib.exceptions.Conflict-
message= "Port %(port_id)s is not supported by firewall driver '%(driver_name)s'."¶
-
-
exception
neutron_lib.exceptions.firewall_v2.FirewallInternalDriverError(**kwargs)¶ Bases:
neutron_lib.exceptions.NeutronExceptionFWaaS 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= '%(driver)s: Internal driver error.'¶
-
-
exception
neutron_lib.exceptions.firewall_v2.FirewallIpAddressConflict(**kwargs)¶ Bases:
neutron_lib.exceptions.InvalidInput-
message= 'Invalid input - IP addresses do not agree with IP Version.'¶
-
-
exception
neutron_lib.exceptions.firewall_v2.FirewallPolicyConflict(**kwargs)¶ Bases:
neutron_lib.exceptions.NotFoundFWaaS exception raised for firewall policy conflict
Raised when user tries to use another project’s unshared policy.
-
message= 'Operation cannot be performed since firewall policy %(firewall_policy_id)s for your project could not be found. Please confirm if the firewall policy exists and is shared.'¶
-
-
exception
neutron_lib.exceptions.firewall_v2.FirewallPolicyInUse(**kwargs)¶ Bases:
neutron_lib.exceptions.InUse-
message= 'Firewall policy %(firewall_policy_id)s is being used.'¶
-
-
exception
neutron_lib.exceptions.firewall_v2.FirewallPolicyNotFound(**kwargs)¶ Bases:
neutron_lib.exceptions.NotFound-
message= 'Firewall policy %(firewall_policy_id)s could not be found.'¶
-
-
exception
neutron_lib.exceptions.firewall_v2.FirewallPolicySharingConflict(**kwargs)¶ Bases:
neutron_lib.exceptions.ConflictFWaaS exception raised for sharing policies
Raised if policy is ‘shared’ but its associated rules are not.
-
message= 'Operation cannot be performed. Before sharing firewall policy %(firewall_policy_id)s, share associated firewall rule %(firewall_rule_id)s.'¶
-
-
exception
neutron_lib.exceptions.firewall_v2.FirewallRuleAlreadyAssociated(**kwargs)¶ Bases:
neutron_lib.exceptions.ConflictFWaaS exception for an already associated rule
Occurs when there is an attempt to assign a rule to a policy that the rule is already associated with.
-
message= 'Operation cannot be performed since firewall rule %(firewall_rule_id)s is already associated with firewall policy %(firewall_policy_id)s.'¶
-
-
exception
neutron_lib.exceptions.firewall_v2.FirewallRuleConflict(**kwargs)¶ Bases:
neutron_lib.exceptions.ConflictFWaaS rule conflict exception
Occurs when admin policy tries to use another project’s rule that is not shared.
-
message= 'Operation cannot be performed since firewall rule %(firewall_rule_id)s is not shared and belongs to another project %(project_id)s.'¶
-
-
exception
neutron_lib.exceptions.firewall_v2.FirewallRuleInUse(**kwargs)¶ Bases:
neutron_lib.exceptions.InUse-
message= 'Firewall rule %(firewall_rule_id)s is being used.'¶
-
-
exception
neutron_lib.exceptions.firewall_v2.FirewallRuleInfoMissing(**kwargs)¶ Bases:
neutron_lib.exceptions.InvalidInput-
message= 'Missing rule info argument for insert/remove rule operation.'¶
-
-
exception
neutron_lib.exceptions.firewall_v2.FirewallRuleInvalidAction(**kwargs)¶ Bases:
neutron_lib.exceptions.InvalidInput-
message= 'Action %(action)s is not supported. Only action values %(values)s are supported.'¶
-
-
exception
neutron_lib.exceptions.firewall_v2.FirewallRuleInvalidICMPParameter(**kwargs)¶ Bases:
neutron_lib.exceptions.InvalidInput-
message= '%(param)s are not allowed when protocol is set to ICMP.'¶
-
-
exception
neutron_lib.exceptions.firewall_v2.FirewallRuleInvalidPortValue(**kwargs)¶ Bases:
neutron_lib.exceptions.InvalidInput-
message= 'Invalid value for port %(port)s.'¶
-
-
exception
neutron_lib.exceptions.firewall_v2.FirewallRuleInvalidProtocol(**kwargs)¶ Bases:
neutron_lib.exceptions.InvalidInput-
message= 'Protocol %(protocol)s is not supported. Only protocol values %(values)s and their integer representation (0 to 255) are supported.'¶
-
-
exception
neutron_lib.exceptions.firewall_v2.FirewallRuleNotAssociatedWithPolicy(**kwargs)¶ Bases:
neutron_lib.exceptions.InvalidInput-
message= 'Firewall rule %(firewall_rule_id)s is not associated with firewall policy %(firewall_policy_id)s.'¶
-
-
exception
neutron_lib.exceptions.firewall_v2.FirewallRuleNotFound(**kwargs)¶ Bases:
neutron_lib.exceptions.NotFound-
message= 'Firewall rule %(firewall_rule_id)s could not be found.'¶
-
-
exception
neutron_lib.exceptions.firewall_v2.FirewallRuleSharingConflict(**kwargs)¶ Bases:
neutron_lib.exceptions.NotFoundFWaaS exception for sharing policies
Raised when shared policy uses unshared rules.
-
message= 'Operation cannot be performed since firewall policy %(firewall_policy_id)s could not find the firewall rule %(firewall_rule_id)s. Please confirm if the firewall rule exists and is shared.'¶
-
-
exception
neutron_lib.exceptions.firewall_v2.FirewallRuleWithPortWithoutProtocolInvalid(**kwargs)¶ Bases:
neutron_lib.exceptions.InvalidInput-
message= 'Source/destination port requires a protocol.'¶
-