The networking_generic_switch.devices.netmiko_devices.arista
Module¶
-
class
networking_generic_switch.devices.netmiko_devices.arista.
AristaEos
(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 {port}', 'no switchport access vlan {segmentation_id}', 'no switchport mode trunk', 'switchport trunk allowed vlan none')¶
-
PLUG_PORT_TO_NETWORK
= ('interface {port}', 'switchport mode access', 'switchport access vlan {segmentation_id}')¶
-
SAVE_CONFIGURATION
= ('write memory',)¶
-