Added NAPALM_ARGS from environment

This commit is contained in:
Artem 2020-01-15 17:39:15 +07:00 committed by GitHub
parent 7863e5902e
commit 635546d85c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -153,7 +153,7 @@ NAPALM_TIMEOUT = int(os.environ.get('NAPALM_TIMEOUT', 30))
# NAPALM optional arguments (see http://napalm.readthedocs.io/en/latest/support/#optional-arguments). Arguments must
# be provided as a dictionary.
NAPALM_ARGS = {}
NAPALM_ARGS = os.environ.get('NAPALM_ARGS', {})
# Determine how many objects to display per page within a list. (Default: 50)
PAGINATE_COUNT = int(os.environ.get('PAGINATE_COUNT', 50))