The networking_cisco.plugins.ml2.drivers.cisco.nexus.exceptions
Module¶
Exceptions used by Cisco Nexus ML2 mechanism driver.
-
exception
networking_cisco.plugins.ml2.drivers.cisco.nexus.exceptions.
CredentialAlreadyExists
(**kwargs)¶ Bases:
neutron_lib.exceptions.NeutronException
Credential name already exists.
-
message
= u’Credential %(credential_name)s already exists for tenant %(tenant_id)s.’¶
-
-
exception
networking_cisco.plugins.ml2.drivers.cisco.nexus.exceptions.
CredentialNameNotFound
(**kwargs)¶ Bases:
neutron_lib.exceptions.NeutronException
Credential Name could not be found.
-
message
= u’Credential %(credential_name)s could not be found.’¶
-
-
exception
networking_cisco.plugins.ml2.drivers.cisco.nexus.exceptions.
CredentialNotFound
(**kwargs)¶ Bases:
neutron_lib.exceptions.NeutronException
Credential with this ID cannot be found.
-
message
= u’Credential %(credential_id)s could not be found.’¶
-
-
exception
networking_cisco.plugins.ml2.drivers.cisco.nexus.exceptions.
NexusConfigFailed
(**kwargs)¶ Bases:
neutron_lib.exceptions.NeutronException
Failed to configure Nexus switch.
-
message
= u’Failed to configure Nexus switch: %(nexus_host)s Config: %(config)s. Reason: %(exc)s.’¶
-
-
exception
networking_cisco.plugins.ml2.drivers.cisco.nexus.exceptions.
NexusConnectFailed
(**kwargs)¶ Bases:
neutron_lib.exceptions.NeutronException
Failed to connect to Nexus switch.
-
message
= u’Unable to connect to Nexus %(nexus_host)s. Reason: %(exc)s.’¶
-
-
exception
networking_cisco.plugins.ml2.drivers.cisco.nexus.exceptions.
NexusCredentialNotFound
(**kwargs)¶ Bases:
neutron_lib.exceptions.NeutronException
Credential for this switch_ip cannot be found.
-
message
= u’Credential for switch %(switch_ip)s could not be found.’¶
-
-
exception
networking_cisco.plugins.ml2.drivers.cisco.nexus.exceptions.
NexusHostMappingNotFound
(**kwargs)¶ Bases:
neutron_lib.exceptions.NeutronException
NexusHost Mapping is not present.
-
message
= u’Nexus Host Mapping (%(filters)s) is not present’¶
-
-
exception
networking_cisco.plugins.ml2.drivers.cisco.nexus.exceptions.
NexusMissingRequiredFields
(**kwargs)¶ Bases:
neutron_lib.exceptions.NeutronException
Missing required fields to configure nexus switch.
-
message
= u’Missing required field(s) to configure nexus switch: %(fields)s’¶
-
-
exception
networking_cisco.plugins.ml2.drivers.cisco.nexus.exceptions.
NexusPortBindingNotFound
(**kwargs)¶ Bases:
neutron_lib.exceptions.NeutronException
NexusPort Binding is not present.
-
message
= u’Nexus Port Binding (%(filters)s) is not present’¶
-
-
exception
networking_cisco.plugins.ml2.drivers.cisco.nexus.exceptions.
NexusVPCAllocFailure
(**kwargs)¶ Bases:
neutron_lib.exceptions.NeutronException
Nexus VPC alloc Failure.
-
message
= u’Unable to allocate vpcid for all switches (%s).’¶
-
-
exception
networking_cisco.plugins.ml2.drivers.cisco.nexus.exceptions.
NexusVPCAllocIncorrectArgCount
(**kwargs)¶ Bases:
neutron_lib.exceptions.NeutronException
Nexus VPC alloc args count incorrect.
-
message
= u’Nexus VPC Alloc init failed. Expected 2 args for start,end received %(count)d), content %(content)s.’¶
-
-
exception
networking_cisco.plugins.ml2.drivers.cisco.nexus.exceptions.
NexusVPCAllocInvalidArgValue
(**kwargs)¶ Bases:
neutron_lib.exceptions.NeutronException
Nexus VPC alloc arg values not valid.
-
message
= u’Nexus VPC Alloc init failed. Args start (%(vpcstart)s) and end (%(vpcend)s) difference should be greater than 0.’¶
-
-
exception
networking_cisco.plugins.ml2.drivers.cisco.nexus.exceptions.
NexusVPCAllocNotFound
(**kwargs)¶ Bases:
neutron_lib.exceptions.NeutronException
Nexus VPC alloc is not present.
-
message
= u’Nexus VPC Alloc (%(filters)s) is not present.’¶
-
-
exception
networking_cisco.plugins.ml2.drivers.cisco.nexus.exceptions.
NexusVPCExpectedNoChgrp
(**kwargs)¶ Bases:
neutron_lib.exceptions.NeutronException
Allocated Channel group not consistent on interface set in switches.
-
message
= u’Channel group state in baremetal interface set not consistent: first interface %(first)s, second interface %(second)s. Check Nexus Config and make consistent.’¶
-
-
exception
networking_cisco.plugins.ml2.drivers.cisco.nexus.exceptions.
NexusVPCLearnedNotConsistent
(**kwargs)¶ Bases:
neutron_lib.exceptions.NeutronException
Learned Channel group not consistent on interface set in switches.
-
message
= u’Learned Nexus channel group not consistent on this interface set: first interface %(first)s, second interface %(second)s. Check Nexus Config and make consistent.’¶
-
-
exception
networking_cisco.plugins.ml2.drivers.cisco.nexus.exceptions.
NoDynamicSegmentAllocated
(**kwargs)¶ Bases:
neutron_lib.exceptions.NeutronException
VLAN dynamic segment not allocated.
-
message
= u’VLAN dynamic segment not created for Nexus VXLAN overlay static segment. Network segment = %(network_segment)s physnet = %(physnet)s’¶
-
-
exception
networking_cisco.plugins.ml2.drivers.cisco.nexus.exceptions.
NoNexusSviSwitch
(**kwargs)¶ Bases:
neutron_lib.exceptions.NeutronException
No usable nexus switch found.
-
message
= u’No usable Nexus switch found to create SVI interface.’¶
-
-
exception
networking_cisco.plugins.ml2.drivers.cisco.nexus.exceptions.
PhysnetNotConfigured
(**kwargs)¶ Bases:
neutron_lib.exceptions.NeutronException
Variable ‘physnet’ is not configured.
-
message
= u”Configuration variable ‘physnet’ is not configured for host_id %(host_id)s. Switch information found = %(host_connections)s”¶
-
-
exception
networking_cisco.plugins.ml2.drivers.cisco.nexus.exceptions.
PortIdForNexusSvi
(**kwargs)¶ Bases:
neutron_lib.exceptions.NeutronException
Port Id specified for Nexus SVI.
-
message
= u’Nexus hardware router gateway only uses Subnet Ids.’¶
-