napalm-automation-community / napalm-dellos10

NAPALM Driver for Dell EMC OS10 Enterprise
http://dellos10-napalm.readthedocs.io/en/latest/
Apache License 2.0
10 stars 11 forks source link

Compatibility issue fix #19

Closed marc-us closed 5 years ago

marc-us commented 5 years ago

Changed from napalm.base to napalm_base

Fixed issue:

d = get_network_driver('dellos10') Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.5/dist-packages/napalm_base/init.py", line 114, in get_network_driver .format(install_name=module_install_name)) napalm_base.exceptions.ModuleImportError: No class inheriting "napalm_base.base.NetworkDriver" found in "napalm_dellos10".

marc-us commented 5 years ago

Documentation issue: If I use from napalm import get_network_driver instead of from napalm_base import get_network_driver it is fine. However, it should be changed in the future...