The networking_generic_switch.devices.netmiko_devices.mellanox_mlnxos Module

class networking_generic_switch.devices.netmiko_devices.mellanox_mlnxos.MellanoxMlnxOS(device_cfg)

Bases: networking_generic_switch.devices.netmiko_devices.NetmikoSwitch

ADD_NETWORK = ('vlan {segmentation_id}', 'name {network_id}')
DELETE_NETWORK = ('no vlan {segmentation_id}',)
DELETE_PORT = ('interface ethernet {port}', 'no switchport access vlan', 'no switchport mode')
PLUG_PORT_TO_NETWORK = ('interface ethernet {port}', 'switchport mode access', 'switchport access vlan {segmentation_id}')