NAPALM configuration with the netbox.env file



https://github.com/netbox-community/netbox-docker/wiki/NAPALM-Configuration
location of netbox.env

after cloning the project "netbox-docker"


netbox.env location
myplex@batpc2:~/projects$ ls netbox-docker/env/
netbox.env  postgres.env  redis-cache.env  redis.env



edit the file with vi
change the netbox.env file
myplex@batpc2:~/projects/netbox-docker/env$ more netbox.env | grep NAPAL
NAPALM_USERNAME=Netbox
NAPALM_PASSWORD=Netbox
NAPALM_TIMEOUT=10

restart or rebuild the container

docker-compose up

or

python3 netbox/mnage.py runserver


Don't forget to define the Napalm driver ( junos )