rx300: update netbox to 3.1.0
This commit is contained in:
parent
0e54a4e298
commit
e2efe87308
2 changed files with 5 additions and 17 deletions
|
@ -33,18 +33,12 @@ SECRET_KEY = '${repo.vault.password_for('django secret netbox ' + node.name, len
|
||||||
|
|
||||||
ADMINS = [
|
ADMINS = [
|
||||||
% for name, email in sorted(node.metadata.get('netbox/admins', {}).items()):
|
% for name, email in sorted(node.metadata.get('netbox/admins', {}).items()):
|
||||||
['${name}', '${email}'],
|
('${name}', '${email}'),
|
||||||
% endfor
|
% endfor
|
||||||
]
|
]
|
||||||
|
|
||||||
BANNER_TOP = ''
|
|
||||||
BANNER_BOTTOM = ''
|
|
||||||
BANNER_LOGIN = ''
|
|
||||||
|
|
||||||
BASE_PATH = ''
|
BASE_PATH = ''
|
||||||
|
|
||||||
CHANGELOG_RETENTION = ${node.metadata.get('netbox/changelog_retention_days', 90)}
|
|
||||||
|
|
||||||
CORS_ORIGIN_ALLOW_ALL = False
|
CORS_ORIGIN_ALLOW_ALL = False
|
||||||
CORS_ORIGIN_WHITELIST = [
|
CORS_ORIGIN_WHITELIST = [
|
||||||
% for hostname in sorted(node.metadata.get('netbox/cors_allowlist', set())):
|
% for hostname in sorted(node.metadata.get('netbox/cors_allowlist', set())):
|
||||||
|
@ -53,8 +47,6 @@ CORS_ORIGIN_WHITELIST = [
|
||||||
]
|
]
|
||||||
CORS_ORIGIN_REGEX_WHITELIST = []
|
CORS_ORIGIN_REGEX_WHITELIST = []
|
||||||
|
|
||||||
CUSTOM_VALIDATORS = {}
|
|
||||||
|
|
||||||
DEBUG = False
|
DEBUG = False
|
||||||
|
|
||||||
EMAIL = {
|
EMAIL = {
|
||||||
|
@ -70,7 +62,7 @@ ENFORCE_GLOBAL_UNIQUE = True
|
||||||
|
|
||||||
EXEMPT_VIEW_PERMISSIONS = []
|
EXEMPT_VIEW_PERMISSIONS = []
|
||||||
|
|
||||||
GRAPHQL_ENABLED = True
|
INTERNAL_IPS = ('127.0.0.1', '::1')
|
||||||
|
|
||||||
LOGGING = {
|
LOGGING = {
|
||||||
'version': 1,
|
'version': 1,
|
||||||
|
@ -90,19 +82,15 @@ LOGIN_PERSISTENCE = True
|
||||||
LOGIN_REQUIRED = False
|
LOGIN_REQUIRED = False
|
||||||
LOGIN_TIMEOUT = 14 * 24*60*60
|
LOGIN_TIMEOUT = 14 * 24*60*60
|
||||||
|
|
||||||
MAINTENANCE_MODE = False
|
|
||||||
|
|
||||||
MAX_PAGE_SIZE = 1000
|
|
||||||
|
|
||||||
MEDIA_ROOT = '/opt/netbox/media'
|
MEDIA_ROOT = '/opt/netbox/media'
|
||||||
|
|
||||||
|
METRICS_ENABLED = False
|
||||||
|
|
||||||
NAPALM_USERNAME = ''
|
NAPALM_USERNAME = ''
|
||||||
NAPALM_PASSWORD = ''
|
NAPALM_PASSWORD = ''
|
||||||
NAPALM_TIMEOUT = 30
|
NAPALM_TIMEOUT = 30
|
||||||
NAPALM_ARGS = {}
|
NAPALM_ARGS = {}
|
||||||
|
|
||||||
PAGINATE_COUNT = 100
|
|
||||||
|
|
||||||
PLUGINS = []
|
PLUGINS = []
|
||||||
|
|
||||||
PREFER_IPV4 = False
|
PREFER_IPV4 = False
|
||||||
|
|
|
@ -267,7 +267,7 @@ nodes['rx300'] = {
|
||||||
},
|
},
|
||||||
'netbox': {
|
'netbox': {
|
||||||
'domain': 'netbox.franzi.business',
|
'domain': 'netbox.franzi.business',
|
||||||
'version': 'v3.0.11',
|
'version': 'v3.1.0',
|
||||||
'changelog_retention_days': 360,
|
'changelog_retention_days': 360,
|
||||||
'admins': {
|
'admins': {
|
||||||
'kunsi': 'hostmaster@kunbox.net',
|
'kunsi': 'hostmaster@kunbox.net',
|
||||||
|
|
Loading…
Add table
Reference in a new issue