NetBox plugin to reorder rack layouts.
Project description
Netbox Reorder Rack Plugin
Allow the ability to reorder rack units in NetBox using a drag and drop interface.
Installation
NOTE: For docker please see: Docker install
The plugin is available as a Python package and can be installed with pip.
Run the following commands to install the required package after activating the virtual environment:
source /opt/netbox/venv/bin/activate
pip install netbox-reorder-rack
To ensure the plugin is automatically re-installed during future upgrades, create a file named local_requirements.txt
(if it does not exist already) in the NetBox root directory (alongside requirements.txt
) and list the netbox-reorder-rack
package:
echo netbox-reorder-rack >> local_requirements.txt
Once installed, the plugin needs to be enabled in your configuration.py
# In your configuration.py
PLUGINS = ["netbox_reorder_rack"]
You may need to collect static files and restart NetBox for the plugin to be properly installed.
python3 manage.py collectstatic --no-input
systemctl restart netbox
Compatibility Matrix
netbox version | plugin version |
---|---|
>= 3.7.0 | >= v1.0.0 |
Update
To update the plugin, you need to update the package and restart NetBox.
source /opt/netbox/venv/bin/activate
pip install netbox-reorder-rack
python3 manage.py collectstatic --no-input
systemctl restart netbox
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_reorder_rack-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec703ab11bc6a2fe2350a503ab2062f2c520e51684c337812732994dfd325387 |
|
MD5 | 94984f4c92e55b95ef4b909cc4629e1a |
|
BLAKE2b-256 | deb3ea7b9a6caa2909b772906f51f3bb222e27cc7f03eca7f7536636173dda10 |
Hashes for netbox_reorder_rack-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6111f4b986b8f974e3556287ad5e016403c4ca2e94fcec6368578d9f5df402c |
|
MD5 | a0853372c82eb5a5f585daa8911099bc |
|
BLAKE2b-256 | d95dff949ec0e5da40548820195b8c86eeb00842597d4ca78b1e2f689323b91e |