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.
If there are any issues feel free to create an Issue or feel free to contact me directly on Slack in the NetDev community.
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 < 4.1.0 | >= v1.1.3 |
<= 4.0.0 | = v1.0.0 |
Dependencies
Python:
- None
Javascript:
- Gridstack (Currently running same versions as Netbox)
- Bootstrap (Currently running same versions as Netbox)
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
File details
Details for the file netbox_reorder_rack-1.1.3.tar.gz
.
File metadata
- Download URL: netbox_reorder_rack-1.1.3.tar.gz
- Upload date:
- Size: 135.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e4b2077f677f01922bfcdb8cf3f21fe8f24c321012e84112e03c015f0da7a83 |
|
MD5 | e33680ce0933f78d4af5f61293696547 |
|
BLAKE2b-256 | 052230543e160b7dffbab60baf6b25ec7c612eee4dad44aaf2cae8b4293050e2 |
File details
Details for the file netbox_reorder_rack-1.1.3-py3-none-any.whl
.
File metadata
- Download URL: netbox_reorder_rack-1.1.3-py3-none-any.whl
- Upload date:
- Size: 139.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90145bb6bda21135ac5cc0a0027675c57278a3faec7f69e2e6877819ca03761b |
|
MD5 | 85edd586663b7e80eb3a1dd38d1eb3dd |
|
BLAKE2b-256 | 4042d013c518b5d8c876379eb633a8c3df6602cd58ce2111b2724842961e0d05 |