diff --git a/bundles/netbox/files/configuration.py b/bundles/netbox/files/configuration.py index bbece50..5a844cd 100644 --- a/bundles/netbox/files/configuration.py +++ b/bundles/netbox/files/configuration.py @@ -33,18 +33,12 @@ SECRET_KEY = '${repo.vault.password_for('django secret netbox ' + node.name, len ADMINS = [ % for name, email in sorted(node.metadata.get('netbox/admins', {}).items()): - ['${name}', '${email}'], + ('${name}', '${email}'), % endfor ] -BANNER_TOP = '' -BANNER_BOTTOM = '' -BANNER_LOGIN = '' - BASE_PATH = '' -CHANGELOG_RETENTION = ${node.metadata.get('netbox/changelog_retention_days', 90)} - CORS_ORIGIN_ALLOW_ALL = False CORS_ORIGIN_WHITELIST = [ % for hostname in sorted(node.metadata.get('netbox/cors_allowlist', set())): @@ -53,8 +47,6 @@ CORS_ORIGIN_WHITELIST = [ ] CORS_ORIGIN_REGEX_WHITELIST = [] -CUSTOM_VALIDATORS = {} - DEBUG = False EMAIL = { @@ -70,7 +62,7 @@ ENFORCE_GLOBAL_UNIQUE = True EXEMPT_VIEW_PERMISSIONS = [] -GRAPHQL_ENABLED = True +INTERNAL_IPS = ('127.0.0.1', '::1') LOGGING = { 'version': 1, @@ -90,19 +82,15 @@ LOGIN_PERSISTENCE = True LOGIN_REQUIRED = False LOGIN_TIMEOUT = 14 * 24*60*60 -MAINTENANCE_MODE = False - -MAX_PAGE_SIZE = 1000 - MEDIA_ROOT = '/opt/netbox/media' +METRICS_ENABLED = False + NAPALM_USERNAME = '' NAPALM_PASSWORD = '' NAPALM_TIMEOUT = 30 NAPALM_ARGS = {} -PAGINATE_COUNT = 100 - PLUGINS = [] PREFER_IPV4 = False diff --git a/nodes/rx300.py b/nodes/rx300.py index 319da89..02f1363 100644 --- a/nodes/rx300.py +++ b/nodes/rx300.py @@ -267,7 +267,7 @@ nodes['rx300'] = { }, 'netbox': { 'domain': 'netbox.franzi.business', - 'version': 'v3.0.11', + 'version': 'v3.1.0', 'changelog_retention_days': 360, 'admins': { 'kunsi': 'hostmaster@kunbox.net',