The networking_generic_switch.devices.netmiko_devices.dell Module

class networking_generic_switch.devices.netmiko_devices.dell.DellNos(device_cfg)

Bases: networking_generic_switch.devices.netmiko_devices.NetmikoSwitch

Netmiko device driver for Dell Force10 switches.

ADD_NETWORK = ('interface vlan {segmentation_id}', 'name {network_id}', 'exit')
ADD_NETWORK_TO_TRUNK = ('interface vlan {segmentation_id}', 'tagged {port}', 'exit')
DELETE_NETWORK = ('no interface vlan {segmentation_id}', 'exit')
DELETE_PORT = ('interface vlan {segmentation_id}', 'no untagged {port}', 'exit')
PLUG_PORT_TO_NETWORK = ('interface vlan {segmentation_id}', 'untagged {port}', 'exit')
REMOVE_NETWORK_FROM_TRUNK = ('interface vlan {segmentation_id}', 'no tagged {port}', 'exit')
class networking_generic_switch.devices.netmiko_devices.dell.DellPowerConnect(device_cfg)

Bases: networking_generic_switch.devices.netmiko_devices.NetmikoSwitch

Netmiko device driver for Dell PowerConnect switches.

ADD_NETWORK = ('vlan database', 'vlan {segmentation_id}', 'exit')
ADD_NETWORK_TO_TRUNK = ('interface {port}', 'switchport general allowed vlan add {segmentation_id} tagged', 'exit')
DELETE_NETWORK = ('vlan database', 'no vlan {segmentation_id}', 'exit')
DELETE_PORT = ('interface {port}', 'switchport access vlan none', 'exit')
DELETE_PORT_GENERAL = ('interface {port}', 'switchport general allowed vlan remove {segmentation_id}', 'no switchport general pvid', 'exit')
ERROR_MSG_PATTERNS = (re.compile('\\% Incomplete command'), re.compile('VLAN was not created by user'), re.compile('Configuration Database locked by another application \\- try later'))
PLUG_PORT_TO_NETWORK = ('interface {port}', 'switchport access vlan {segmentation_id}', 'exit')
PLUG_PORT_TO_NETWORK_GENERAL = ('interface {port}', 'switchport general allowed vlan add {segmentation_id} untagged', 'switchport general pvid {segmentation_id}', 'exit')
REMOVE_NETWORK_FROM_TRUNK = ('interface {port}', 'switchport general allowed vlan remove {segmentation_id}', 'exit')