feat: add plugins.py for runtime plugin configuration

This commit is contained in:
2026-01-07 15:41:49 +00:00
parent fb6e86adc5
commit e9699d5759

37
plugins.py Normal file
View 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,
},
}