[genericswitch:switchce5800]
device_type = netmiko_huawei_vrpv8
username = xxx
password = xxx
ip = xxx
Report error:
Netmiko does not support device type huawei_vrpv8, and neutron_server keeps rebooting.
2017-11-29 22:14:21.166 7 ERROR networking_generic_switch.devices [req-27442193-0b3d-456a-a42d-8f0e657d373a - - - - -] Driver manager <stevedore.driver.DriverManager object at 0xffff89814b90> failed to load device plugin netmiko_huawei_vrpv8 = networking_generic_switch.devices.netmiko_devices.huawei_vrpv8:Huawei: Netmiko does not support device type huawei_vrpv8: GenericSwitchNetmikoNotSupported: Netmiko does not support device type huawei_vrpv8
2017-11-29 22:14:21.170 7 ERROR neutron.service [req-27442193-0b3d-456a-a42d-8f0e657d373a - - - - -] Unrecoverable error: please check log for details.: GenericSwitchEntrypointLoadError: Failed to load entrypoint netmiko_huawei_vrpv8 = networking_generic_switch.devices.netmiko_devices.huawei_vrpv8:Huawei: Netmiko does not support device type huawei_vrpv8
class NetmikoSwitch(devices.GenericSwitchDevice):
def __init__(self, device_cfg):
device_type = device_type.partition('netmiko_')[2]
print(device_type)
print(netmiko.platforms) //huawei_vrpv8 is not inside.
if device_type not in netmiko.platforms:
raise exc.GenericSwitchNetmikoNotSupported(
device_type=device_type)
huawei_vrpv8
[u'a10', u'a10_ssh', u'accedian', u'accedian_ssh', u'alcatel_aos', u'alcatel_aos_ssh', u'alcatel_sros', u'alcatel_sros_ssh', u'arista_eos', u'arista_eos_ssh', u'aruba_os', u'aruba_os_ssh', u'autodetect', u'avaya_ers', u'avaya_ers_ssh', u'avaya_vsp', u'avaya_vsp_ssh', u'brocade_fastiron', u'brocade_fastiron_ssh', u'brocade_netiron', u'brocade_netiron_ssh', u'brocade_nos', u'brocade_nos_ssh', u'brocade_vdx', u'brocade_vdx_ssh', u'brocade_vyos', u'brocade_vyos_ssh', u'checkpoint_gaia', u'checkpoint_gaia_ssh', u'ciena_saos', u'ciena_saos_ssh', u'cisco_asa', u'cisco_asa_ssh', u'cisco_ios', u'cisco_ios_ssh', u'cisco_ios_telnet', u'cisco_nxos', u'cisco_nxos_ssh', u'cisco_s300', u'cisco_s300_ssh', u'cisco_tp', u'cisco_tp_ssh', u'cisco_wlc', u'cisco_wlc_ssh', u'cisco_xe', u'cisco_xe_ssh', u'cisco_xr', u'cisco_xr_ssh', u'dell_force10', u'dell_force10_ssh', u'dell_powerconnect', u'dell_powerconnect_ssh', u'dell_powerconnect_telnet', u'eltex', u'eltex_ssh', u'enterasys', u'enterasys_ssh', u'extreme', u'extreme_ssh', u'extreme_wing', u'extreme_wing_ssh', u'f5_ltm', u'f5_ltm_ssh', u'fortinet', u'fortinet_ssh', u'generic_termserver', u'generic_termserver_ssh', u'generic_termserver_telnet', u'hp_comware', u'hp_comware_ssh', u'hp_procurve', u'hp_procurve_ssh', u'huawei', u'huawei_ssh', u'juniper', u'juniper_junos', u'juniper_junos_ssh', u'juniper_ssh', u'linux', u'linux_ssh', u'mellanox_ssh', u'mellanox_ssh_ssh', u'mrv_optiswitch', u'mrv_optiswitch_ssh', u'ovs_linux', u'ovs_linux_ssh', u'paloalto_panos', u'paloalto_panos_ssh', u'pluribus', u'pluribus_ssh', u'quanta_mesh', u'quanta_mesh_ssh', u'terminal_server', u'ubiquiti_edge', u'ubiquiti_edge_ssh', u'vyatta_vyos', u'vyatta_vyos_ssh', u'vyos', u'vyos_ssh']
While change to netmiko_huawei works.
[genericswitch:switchce5800]
device_type = netmiko_huawei
username = xxx
password = xxx
ip = xxx
Solved by /github. com/ktbyers/ netmiko/ pull/678
https:/