Skip to content

Commit

Permalink
Expose other NetBox related settings
Browse files Browse the repository at this point in the history
  • Loading branch information
gmazoyer committed Jan 19, 2023
1 parent 9b3b357 commit e122c81
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions configuration/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ def get_sys_tz():
}
NETBOX_API = os.environ.get("NETBOX_API", "")
NETBOX_API_TOKEN = os.environ.get("NETBOX_API_TOKEN", read_secret("netbox_api_token"))
NETBOX_API_THREADING = os.environ.get("NETBOX_API_THREADING", "False").lower() == "true"
NETBOX_API_VERIFY_SSL = (
os.environ.get("NETBOX_API_VERIFY_SSL", "True").lower() == "true"
)
NETBOX_DEVICE_ROLES = os.environ.get("NETBOX_DEVICE_ROLES", "router,firewall").split(
","
)
Expand Down

0 comments on commit e122c81

Please sign in to comment.