The neutron_fwaas.common.exceptions Module¶
-
exception
neutron_fwaas.common.exceptions.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.common.exceptions.FirewallGroupInUse(**kwargs)¶ Bases:
neutron_lib.exceptions.InUse-
message= u’Firewall %(firewall_id)s is still active.’¶
-
-
exception
neutron_fwaas.common.exceptions.FirewallGroupNotFound(**kwargs)¶ Bases:
neutron_lib.exceptions.NotFound-
message= u’Firewall Group %(firewall_id)s could not be found.’¶
-
-
exception
neutron_fwaas.common.exceptions.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.common.exceptions.FirewallGroupPortInvalid(**kwargs)¶ Bases:
neutron_lib.exceptions.Conflict-
message= u’Firewall Group Port %(port_id)s is invalid.’¶
-
-
exception
neutron_fwaas.common.exceptions.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.common.exceptions.FirewallInPendingState(**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.common.exceptions.FirewallInUse(**kwargs)¶ Bases:
neutron_lib.exceptions.InUse-
message= u’Firewall %(firewall_id)s is still active.’¶
-
-
exception
neutron_fwaas.common.exceptions.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= u’%(driver)s: Internal driver error.’¶
-
-
exception
neutron_fwaas.common.exceptions.FirewallIpAddressConflict(**kwargs)¶ Bases:
neutron_lib.exceptions.InvalidInput-
message= u’Invalid input - IP addresses do not agree with IP Version.’¶
-
-
exception
neutron_fwaas.common.exceptions.FirewallNotFound(**kwargs)¶ Bases:
neutron_lib.exceptions.NotFound-
message= u’Firewall %(firewall_id)s could not be found.’¶
-
-
exception
neutron_fwaas.common.exceptions.FirewallPolicyConflict(**kwargs)¶ Bases:
neutron_lib.exceptions.ConflictFWaaS exception for firewall policy.
Occurs when admin policy tries to use another tenant’s unshared policy.
-
message= u’Operation cannot be performed since Firewall Policy %(firewall_policy_id)s is not shared and does not belong to your tenant.’¶
-
-
exception
neutron_fwaas.common.exceptions.FirewallPolicyInUse(**kwargs)¶ Bases:
neutron_lib.exceptions.InUse-
message= u’Firewall Policy %(firewall_policy_id)s is being used.’¶
-
-
exception
neutron_fwaas.common.exceptions.FirewallPolicyNotFound(**kwargs)¶ Bases:
neutron_lib.exceptions.NotFound-
message= u’Firewall Policy %(firewall_policy_id)s could not be found.’¶
-
-
exception
neutron_fwaas.common.exceptions.FirewallPolicySharingConflict(**kwargs)¶ Bases:
neutron_lib.exceptions.ConflictFWaaS exception for firewall policy.
When a policy is shared 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.common.exceptions.FirewallRouterInUse(**kwargs)¶ Bases:
neutron_lib.exceptions.InUse-
message= u’Router(s) %(router_ids)s provided already associated with other Firewall(s).’¶
-
-
exception
neutron_fwaas.common.exceptions.FirewallRuleAlreadyAssociated(**kwargs)¶ Bases:
neutron_lib.exceptions.ConflictFirewall 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.common.exceptions.FirewallRuleConflict(**kwargs)¶ Bases:
neutron_lib.exceptions.ConflictFirewall rule conflict exception.
Occurs when admin policy tries to use another tenant’s unshared rule.
-
message= u’Operation cannot be performed since Firewall Rule %(firewall_rule_id)s is not shared and belongs to another tenant %(tenant_id)s.’¶
-
-
exception
neutron_fwaas.common.exceptions.FirewallRuleInUse(**kwargs)¶ Bases:
neutron_lib.exceptions.InUse-
message= u’Firewall Rule %(firewall_rule_id)s is being used.’¶
-
-
exception
neutron_fwaas.common.exceptions.FirewallRuleInfoMissing(**kwargs)¶ Bases:
neutron_lib.exceptions.InvalidInput-
message= u’Missing rule info argument for insert/remove rule operation.’¶
-
-
exception
neutron_fwaas.common.exceptions.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.common.exceptions.FirewallRuleInvalidICMPParameter(**kwargs)¶ Bases:
neutron_lib.exceptions.InvalidInput-
message= u’%(param)s are not allowed when protocol is set to ICMP.’¶
-
-
exception
neutron_fwaas.common.exceptions.FirewallRuleInvalidPortValue(**kwargs)¶ Bases:
neutron_lib.exceptions.InvalidInput-
message= u’Invalid value for port %(port)s.’¶
-
-
exception
neutron_fwaas.common.exceptions.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.common.exceptions.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.common.exceptions.FirewallRuleNotFound(**kwargs)¶ Bases:
neutron_lib.exceptions.NotFound-
message= u’Firewall Rule %(firewall_rule_id)s could not be found.’¶
-
-
exception
neutron_fwaas.common.exceptions.FirewallRuleSharingConflict(**kwargs)¶ Bases:
neutron_lib.exceptions.ConflictFWaaS exception for firewall rules.
When a shared policy is created or updated with unshared rules, this exception will be raised.
-
message= u’Operation cannot be performed since Firewall Policy %(firewall_policy_id)s is shared but Firewall Rule %(firewall_rule_id)s is not shared.’¶
-