Skip to content

How to use a napalm community driver with netbox #5807

Answered by candlerb
da-me asked this question in Q&A
Discussion options

You must be logged in to vote

Are you sure the napalm_ruckus_fastiron driver is installed inside your netbox virtualenv?

Your test line suggests it is working outside the virtualenv:

~ $ sudo -u netbox napalm --user user--debug --vendor napalm_ruckus_fastiron 1.2.3.4 call get_facts

You can test like this:

sudo -u netbox bash
cd /opt/netbox
source venv/bin/activate
napalm --user user ... etc

The fix is to add the required package(s) to local_requirements.txt and run ./upgrade.sh

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@da-me
Comment options

Answer selected by da-me
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants