Do we need to be modifying anything else to point to the NAPALM driver other than the device platform?
--
You received this message because you are subscribed to the Google Groups "NetBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netbox-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to netbox-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netbox-discuss/8424ddcf-18fb-492a-958e-43bd3ad4692a%40googlegroups.com.
JeremyYou can try importing napalm within the NetBox Python shell to verify whether it is installed:If the import returns an error, napalm has not been installed.$ ./manage.py nbshell
### NetBox interactive shell (jstretch-laptop)
### Python 2.7.6 | Django 1.11.3 | NetBox 2.1.1-dev
### lsmodels() will show available models. Use help(<model>) for more info.
>>> import napalm
>>>
On Wed, Aug 2, 2017 at 9:00 AM, Brandon Hurrle <hubr...@gmail.com> wrote:
This didn't seem to work for me, I installed napalm, changed configuration.py; rebooted, and restarted netbox. I get the following now: {"detail":"NAPALM is not installed. Please see the documentation for instructions."} Went back and verified napalm was installed it was. I rebuilt my netbox environment using the upgrade.sh. Also I am on 2.1.0. Still no go. What else can I try or am I just doing something wrong? Thanks.
On Sunday, July 30, 2017 at 4:37:13 PM UTC-5, John Anderson wrote:I ran into the same thing. Im my case, I upgrade to 2.1.0 and then installed napalm on the netbox server. At this point, I was running into the same thing yo are currently seeing. The solution was just to restart the netbox service again after the napalm install. If this fixes the issue for you, it way be worth adding a note in the docs.-John
On Sunday, July 30, 2017 at 1:26:00 PM UTC-4, Jamie Patmore wrote:We've updated to latest version, and installed NAPALM as per the instructions, added username/password etc.However, when we try and obtain the status of a device (JUNOS device), we get error messages that the napalm device driver isnt able to be located (see attached) ;
Do we need to be modifying anything else to point to the NAPALM driver other than the device platform?
--
You received this message because you are subscribed to the Google Groups "NetBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netbox-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to netbox-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netbox-discuss/8424ddcf-18fb-492a-958e-43bd3ad4692a%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "NetBox" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/netbox-discuss/rDMEy052yP0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to netbox-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to netbox-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netbox-discuss/CADvjYzqcq431-TVmjP49XGnvLZFtSvwgPq0KUentauFw6cBEFA%40mail.gmail.com.
# Check that NAPALM is installed and verify the configured driverFor whatever reason, NetBox is unable to import the library and/or the two exceptions listed. What version of napalm do you have installed?
try:
import napalm
from napalm_base.exceptions import ConnectAuthError, ModuleImportError
except ImportError:
raise ServiceUnavailable("NAPALM is not installed. Please see the documentation for instructions.")
--
You received this message because you are subscribed to the Google Groups "NetBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netbox-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to netbox-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netbox-discuss/1a9c4e7f-5125-4a00-90a5-5dc964a860fb%40googlegroups.com.