Skip to content

Commit 7429835

Browse files
committed
Sample dynamic configuration file
1 parent 43c05d8 commit 7429835

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

configuration/example.py

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Specify one or more name and email address tuples representing NetBox administrators. These people will be notified of
2+
# application errors (assuming correct email settings are provided).
3+
# ADMINS = [
4+
# # ['John Doe', 'jdoe@example.com'],
5+
# ]
6+
7+
8+
# URL schemes that are allowed within links in NetBox
9+
# ALLOWED_URL_SCHEMES = (
10+
# 'file', 'ftp', 'ftps', 'http', 'https', 'irc', 'mailto', 'sftp', 'ssh', 'tel', 'telnet', 'tftp', 'vnc', 'xmpp',
11+
# )
12+
13+
14+
# NAPALM optional arguments (see http://napalm.readthedocs.io/en/latest/support/#optional-arguments). Arguments must
15+
# be provided as a dictionary.
16+
# NAPALM_ARGS = {}
17+
18+
19+
# Enable installed plugins. Add the name of each plugin to the list.
20+
# from netbox.configuration.configuration import PLUGINS
21+
# PLUGINS.append('my_plugin')
22+
23+
# Plugins configuration settings. These settings are used by various plugins that the user may have installed.
24+
# Each key in the dictionary is the name of an installed plugin and its value is a dictionary of settings.
25+
# from netbox.configuration.configuration import PLUGINS_CONFIG
26+
# PLUGINS_CONFIG['my_plugin'] = {
27+
# 'foo': 'bar',
28+
# 'buzz': 'bazz'
29+
# }
30+
31+
32+
# Remote authentication support
33+
# REMOTE_AUTH_ENABLED = False
34+
# REMOTE_AUTH_BACKEND = 'netbox.authentication.RemoteUserBackend'
35+
# REMOTE_AUTH_HEADER = 'HTTP_REMOTE_USER'
36+
# REMOTE_AUTH_AUTO_CREATE_USER = True
37+
# REMOTE_AUTH_DEFAULT_GROUPS = []
38+
# REMOTE_AUTH_DEFAULT_PERMISSIONS = {}
39+
40+
41+
# By default uploaded media is stored on the local filesystem. Using Django-storages is also supported. Provide the
42+
# class path of the storage driver in STORAGE_BACKEND and any configuration options in STORAGE_CONFIG. For example:
43+
# STORAGE_BACKEND = 'storages.backends.s3boto3.S3Boto3Storage'
44+
# STORAGE_CONFIG = {
45+
# 'AWS_ACCESS_KEY_ID': 'Key ID',
46+
# 'AWS_SECRET_ACCESS_KEY': 'Secret',
47+
# 'AWS_STORAGE_BUCKET_NAME': 'netbox',
48+
# 'AWS_S3_REGION_NAME': 'eu-west-1',
49+
# }

0 commit comments

Comments
 (0)