The networking_generic_switch.devices.netmiko_devices.huawei
Module¶
-
class
networking_generic_switch.devices.netmiko_devices.huawei.
Huawei
(device_cfg)¶ Bases:
networking_generic_switch.devices.netmiko_devices.NetmikoSwitch
For Huawei Network Operating System VRP V3 and V5.
-
ADD_NETWORK
= ('vlan {segmentation_id}',)¶
-
DELETE_NETWORK
= ('undo vlan {segmentation_id}',)¶
-
DELETE_PORT
= ('interface {port}', 'undo port default vlan {segmentation_id}')¶
-
PLUG_PORT_TO_NETWORK
= ('interface {port}', 'port link-type access', 'port default vlan {segmentation_id}')¶
-