class GenericSwitchNetmikoNotSupported(GenericSwitchException): message = _("Netmiko does not support device type %(device_type)s")
class GenericSwitchNetmikoConnectError(GenericSwitchException): message = _("Netmiko connection error: %(config)s, error: %(error)s")
class GenericSwitchEntrypointLoadError(GenericSwitchException): message = _("Failed to load entrypoint %(ep)s: %(err)s")
class GenericSwitchNetmikoMethodError(GenericSwitchException): message = _("Can not parse arguments: commands %(cmds)s, args %(args)s")
class GenericSwitchException(exceptions.NeutronException): message = _("%(method)s failed.")
class GenericSwitchPlugPortToNetworkError(GenericSwitchException): message = _("Failed to plug port %(port)s to VLAN %(vlan)s, " "device returned: %(error)s")
class GenericSwitchNetworkNameFormatInvalid(GenericSwitchException): message = _("Invalid value for 'ngs_network_name_format': " "%(name_format)s. Valid format options include 'network_id' " "and 'segmentation_id'")
class GenericSwitchConfigException(exceptions.NeutronException): message = _("%(option)s must be one of: %(allowed_options)s")
class GenericSwitchConfigError(GenericSwitchException): message = _("Can not find configuration for switch %(switch)s")