1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Add NAPALM config parameters

This commit is contained in:
jeremystretch
2021-10-26 11:53:46 -04:00
parent 64d8512fc3
commit 41ff1d0fc9
5 changed files with 36 additions and 26 deletions

View File

@ -130,11 +130,6 @@ for param in PARAMS:
if hasattr(configuration, param.name):
globals()[param.name] = getattr(configuration, param.name)
NAPALM_ARGS = getattr(configuration, 'NAPALM_ARGS', {})
NAPALM_PASSWORD = getattr(configuration, 'NAPALM_PASSWORD', '')
NAPALM_TIMEOUT = getattr(configuration, 'NAPALM_TIMEOUT', 30)
NAPALM_USERNAME = getattr(configuration, 'NAPALM_USERNAME', '')
# Validate update repo URL and timeout
if RELEASE_CHECK_URL:
validator = URLValidator(