Manage site, circuit and device diagrams and documents in Netbox
Project description
Netbox Documents Plugin
A plugin designed to faciliate the storage of site, circuit and device specific documents within NetBox
Note: Netbox v3.2+ is required. This plugin will not work on an earlier release of Netbox.
Installation
A working installation of Netbox 3.2+ is required - see official documentation.
Package Installation from PyPi
Activate your virtual env and install via pip:
$ source /opt/netbox/venv/bin/activate
(venv) $ pip install netbox-documents
To ensure the Netbox Documents plugin is automatically re-installed during future upgrades, add the package to your local_requirements.txt
:
# echo netbox-documents >> local_requirements.txt
Enable the Plugin
In the Netbox configuration.py
configuration file add or update the PLUGINS parameter, adding netbox_documents
:
PLUGINS = [
'netbox_documents',
]
(Optional) Add or update a PLUGINS_CONFIG parameter in configuration.py
to configure plugin settings. Options shown below are the configured defaults:
PLUGINS_CONFIG = {
'netbox_documents': {
# Enable the management of site specific documents (True/False)
'enable_site_documents': True,
# Enable the management of circuit specific documents (True/False)
'enable_circuit_documents': True,
# Enable the management of device specific documents (True/False)
'enable_device_documents': True,
# Enable the global menu options (True/False)
'enable_navigation_menu': True,
# Location to inject the document widget in the site view (left/right)
'site_documents_location': 'left',
# Location to inject the document widget in the device view (left/right
'circuit_documents_location': 'left',
# Location to inject the document widget in the circuit view (left/right
'device_documents_location': 'left'
}
}
### Apply Database Migrations
Apply Database Migrations
Apply database migrations with Netbox manage.py
:
(venv) $ python manage.py migrate
Restart Netbox
Restart the Netbox service to apply changes:
sudo systemctl restart netbox
Screenshots
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for netbox_documents-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b419994c50703656394e3b911b32a50704cf3bad105b351b70eaf257a4a3c7dd |
|
MD5 | 981fb51677fe6dc6a76f7167a72eb318 |
|
BLAKE2b-256 | b649837b1365b5ee90b53a32e2f3e8791c452827e9ce598199620de26ed788a5 |