feat: add plugins.py for runtime plugin configuration
This commit is contained in:
37
plugins.py
Normal file
37
plugins.py
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
# =============================================================================
|
||||||
|
# NetBox Plugins Configuration
|
||||||
|
# =============================================================================
|
||||||
|
# This file activates and configures NetBox plugins.
|
||||||
|
# Mount this file to /etc/netbox/config/plugins.py
|
||||||
|
#
|
||||||
|
# IMPORTANT: netbox_branching MUST be the last plugin in the list
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
PLUGINS = [
|
||||||
|
'netbox_bgp',
|
||||||
|
'netbox_secrets',
|
||||||
|
'netbox_topology_views',
|
||||||
|
# 'netbox_documents',
|
||||||
|
# 'netbox_acls',
|
||||||
|
# 'netbox_qrcode',
|
||||||
|
# 'netbox_proxbox',
|
||||||
|
'netbox_branching', # MUST be last
|
||||||
|
]
|
||||||
|
|
||||||
|
PLUGINS_CONFIG = {
|
||||||
|
'netbox_branching': {
|
||||||
|
# https://github.com/netboxlabs/netbox-branching#configuration
|
||||||
|
},
|
||||||
|
'netbox_bgp': {
|
||||||
|
# 'top_level_menu': True,
|
||||||
|
# 'asdot': False,
|
||||||
|
},
|
||||||
|
'netbox_secrets': {
|
||||||
|
# 'public_key_size': 4096,
|
||||||
|
},
|
||||||
|
'netbox_topology_views': {
|
||||||
|
# 'static_image_directory': 'netbox_topology_views/img',
|
||||||
|
# 'allow_coordinates_saving': True,
|
||||||
|
# 'always_save_coordinates': False,
|
||||||
|
},
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user