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 |
---|---|
>= 4.0.0 | >= v1.1.0 |
<= 4.0.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.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e801b745be0d11cdee928a5227c251e067b9c9da3ecd184af179e0b32ea6117 |
|
MD5 | 295fbc32fd53d2796ffd4a5ebbd824ca |
|
BLAKE2b-256 | 401fe4754601837d768b644d6f5e4b2f5b490da0bcae820ef06e8f7ea06e2737 |
Hashes for netbox_reorder_rack-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88368b33155b0f63eff297eb317608c83340f6c4488308fa92e3b95ecd5ed34f |
|
MD5 | bd00626ab3771d8b42e2655a91ab0f0f |
|
BLAKE2b-256 | a4dfbf8c3db209faf24ed8714996068d8b308f86df92633fb5440763fda97d65 |