Open FlorianHeigl opened 3 years ago
AOSDriver is not compatible with build-in Napalm 3.0 yet, you have to use Napalm version 3.2.1 This PR could fix the problem: https://github.com/napalm-automation-community/napalm-aos/pull/30
@jefvantongerloo so nice of you to take time for a reply. I am a bit confused - isn't 3.2.1 newer than 3.0?
Sorry typo, the compatible version is 2.3.1. When I use and test Napalm 3.0 I get the same error message.
Thanks! Hopefully that PR will move forward some day.
Please help to test again with latest code
It seems to do a lot better now:
floh@blackbox:~/git/netbox-docker$ docker exec -ti netbox-docker_netbox_1 bash
bash-5.1$ python3
Python 3.8.7 (default, Feb 19 2021, 01:11:05)
[GCC 10.2.1 20201203] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import json
>>> from napalm import get_network_driver
I need to replicate things in an env with AOS switches for actual testing, but it seems you solved the main py3 pain points already!
@FlorianHeigl Tested through netbox-docker and confirmed working with Python3 and Netbox:
I'm just a beginner learning the modules i'll need in the next months, but this seems to be a real issue. I would strongly suggest there's some issue in python compatibilty. I'm running netbox-docker by the way, and added this driver via
pip3 install napalm-aos
.the
procurve
driver just loaded a moment before!