rx300: update netbox to 3.1.0

This commit is contained in:
Franzi 2021-12-12 08:36:18 +01:00
parent 0e54a4e298
commit e2efe87308
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 5 additions and 17 deletions

View file

@ -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

View file

@ -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',