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 |
|---|---|
| v4.1.x | v1.1.3 |
| v4.0.x | 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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file netbox_reorder_rack-1.1.4.tar.gz.
File metadata
- Download URL: netbox_reorder_rack-1.1.4.tar.gz
- Upload date:
- Size: 135.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2bf513a9d3365fe603f4702f89fd84a7a2fb27f743cd1970850d817b351d2a6
|
|
| MD5 |
afa23b99fbf478eadfcc0c55a75461e5
|
|
| BLAKE2b-256 |
f965b8edd246b90b283d5ed82f668c4039f40c142fcdf3989c2c3b2ea6f0720b
|
File details
Details for the file netbox_reorder_rack-1.1.4-py3-none-any.whl.
File metadata
- Download URL: netbox_reorder_rack-1.1.4-py3-none-any.whl
- Upload date:
- Size: 139.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
292a87dd60d1cb784e591c7be4128d061d1cf98807cd8146ec3f6d00ea1b7928
|
|
| MD5 |
3b29630c8e952ef93e3a584d224898da
|
|
| BLAKE2b-256 |
383123360f7594c0cfa7c576878014325ee05c7c0b231054c877545c1b2005e7
|