The networking_cisco.plugins.cisco.cfg_agent.cfg_exceptions Module

Exceptions by Cisco Configuration Agent.

exception networking_cisco.plugins.cisco.cfg_agent.cfg_exceptions.CSR1kvConfigException(**kwargs)

Bases: networking_cisco.plugins.cisco.cfg_agent.cfg_exceptions.DriverException

Configuration exception thrown when modifying the running config.

message = u’Error executing snippet:%(snippet)s. Hosting device:%(dev_id)s Mgmt IP:%(ip)s ErrorType:%(type)s ErrorTag:%(tag)s Config string:%(confstr)s.’
exception networking_cisco.plugins.cisco.cfg_agent.cfg_exceptions.CSR1kvMissingInterfaceException(**kwargs)

Bases: networking_cisco.plugins.cisco.cfg_agent.cfg_exceptions.DriverException

Configuration exception thrown when modifying the running config.

message = u’Interface corresponding to port:%(id)s and mac-address:%(mac)s is missing in the CSR. Cannot proceed with interfaceconfig.’
exception networking_cisco.plugins.cisco.cfg_agent.cfg_exceptions.CSR1kvUnknownValueException(**kwargs)

Bases: networking_cisco.plugins.cisco.cfg_agent.cfg_exceptions.DriverException

CSR1kv Exception thrown when an unknown value is received.

message = u’Data in attribute: %(attribute)s does not correspond to expected value. Value received is %(value)s. ‘
exception networking_cisco.plugins.cisco.cfg_agent.cfg_exceptions.ConnectionException(**kwargs)

Bases: networking_cisco.plugins.cisco.cfg_agent.cfg_exceptions.DriverException

Connection exception when connecting to IOS XE hosting device.

message = u’Failed connecting to Device. Reason: %(reason)s. Connection params are User:%(user)s, Host:%(host)s, Port:%(port)s, Device timeout:%(timeout)s.’
exception networking_cisco.plugins.cisco.cfg_agent.cfg_exceptions.DriverException(**kwargs)

Bases: neutron_lib.exceptions.NeutronException

Exception created by the Driver class.

exception networking_cisco.plugins.cisco.cfg_agent.cfg_exceptions.DriverExpectedKeyNotSetException(**kwargs)

Bases: networking_cisco.plugins.cisco.cfg_agent.cfg_exceptions.DriverException

An attribute expected to be set by plugin is missing

message = u’Value for expected key: %(key)s is missing.Driver cannot proceed’
exception networking_cisco.plugins.cisco.cfg_agent.cfg_exceptions.DriverNotExist(**kwargs)

Bases: networking_cisco.plugins.cisco.cfg_agent.cfg_exceptions.DriverException

message = u’Driver %(driver)s does not exist.’
exception networking_cisco.plugins.cisco.cfg_agent.cfg_exceptions.DriverNotFound(**kwargs)

Bases: networking_cisco.plugins.cisco.cfg_agent.cfg_exceptions.DriverException

message = u’Driver not found for %(resource)s id:%(id)s.’
exception networking_cisco.plugins.cisco.cfg_agent.cfg_exceptions.DriverNotSetForMissingParameter(**kwargs)

Bases: networking_cisco.plugins.cisco.cfg_agent.cfg_exceptions.DriverException

message = u’Driver cannot be set for missing parameter:%(p)s.’
exception networking_cisco.plugins.cisco.cfg_agent.cfg_exceptions.HAParamsMissingException(**kwargs)

Bases: networking_cisco.plugins.cisco.cfg_agent.cfg_exceptions.DriverException

MissingParams exception thrown when HA params are missing

message = u’For router: %(r_id)s and port: %(p_id)s, HA_ENABLED is set, but port ha info is missing. Port details: %(port)s’
exception networking_cisco.plugins.cisco.cfg_agent.cfg_exceptions.InitializationException(**kwargs)

Bases: networking_cisco.plugins.cisco.cfg_agent.cfg_exceptions.DriverException

Exception when initialization of Routing Driver object.

message = u’Critical device parameter missing. Failed initializing routing driver object.’