drivers other than IOS?
What else needs to be installed to support drivers other than IOS? like EOS?
python get_l3_facts.py -H switch1.lab --driver eos
No handlers could be found for logger "pyeapi.eapilib"
Traceback (most recent call last):
File "get_l3_facts.py", line 174, in
if I switch the driver to IOS, it mostly works, except that it's an arista switch, so it's not quite happy either.
get_l3_facts - [1 / 1]: Opening connection to sw1.lab
get_l3_facts - [1 / 1]: Getting interface facts
get_l3_facts - [1 / 1]: Found 0 addresses
get_l3_facts - [1 / 1]: Closing connection to sw1.lab
get_l3_facts - Found 0 addresses total
get_l3_facts - Saving results to l3_facts.csv
Traceback (most recent call last):
File "get_l3_facts.py", line 174, in
Ideas?
Looks like we need to retool the args passed to napalm in open_device() based on --driver. We need to specify port and we don't need to pass ssh_config. See this example. I may be able to look into it, or you can submit a PR.
Also, use python3.
Using --driver eos works for me just fine. From the looks of the last pyeapi error, do you have the management api enabled?
management api http-commands no shutdown