From 07b1b4675c54ee098c929e9b618d327aa94633f8 Mon Sep 17 00:00:00 2001 From: Brady Lamprecht Date: Mon, 5 Mar 2018 17:56:18 -0700 Subject: [PATCH] Adding in support for NAPALM --- Dockerfile | 2 ++ netbox.env | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4ea4872..bb67af8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,6 +19,8 @@ RUN apk add --no-cache \ RUN pip install \ # gunicorn is used for launching netbox gunicorn \ +# napalm is used for gathering information from network devices + napalm \ # ruamel is used in startup_scripts ruamel.yaml diff --git a/netbox.env b/netbox.env index 72bdb4a..9690b8e 100644 --- a/netbox.env +++ b/netbox.env @@ -9,7 +9,9 @@ EMAIL_USERNAME=netbox EMAIL_PASSWORD= EMAIL_TIMEOUT=5 EMAIL_FROM=netbox@bar.com -NAPALM_TIMEOUT=5 +NAPALM_USERNAME= +NAPALM_PASSWORD= +NAPALM_TIMEOUT=10 MAX_PAGE_SIZE=0 SECRET_KEY=r8OwDznj!!dci#P9ghmRfdu1Ysxm0AiPeDCQhKE+N_rClfWNj SUPERUSER_NAME=admin