Skip to main content

NetBox plugin to reorder rack layouts.

Project description

Netbox Reorder Rack Plugin

Version Downloads

Allow the ability to reorder rack units in NetBox using a drag and drop interface.

Reorder Rack

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 >= v1.1.0
<= 4.0.0 = v1.0.0

Dependencies

Python:

  • None

Javascript:

  • Gridstack (Currently running same versions as Netbox)
  • Bootsrap (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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

netbox_reorder_rack-1.1.1.tar.gz (67.5 kB view details)

Uploaded Source

Built Distribution

netbox_reorder_rack-1.1.1-py3-none-any.whl (70.3 kB view details)

Uploaded Python 3

File details

Details for the file netbox_reorder_rack-1.1.1.tar.gz.

File metadata

  • Download URL: netbox_reorder_rack-1.1.1.tar.gz
  • Upload date:
  • Size: 67.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for netbox_reorder_rack-1.1.1.tar.gz
Algorithm Hash digest
SHA256 37ae4797661542f25cc60aa98db158322079249f6a3e54ab875cb26c85398a5d
MD5 aaaa25e05c5f3ae8fc63e1cf94ed9db9
BLAKE2b-256 79ddffaa0559597f91de7dffefa80b16026a4b8e1eacf8e59b580cab808fffc3

See more details on using hashes here.

File details

Details for the file netbox_reorder_rack-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for netbox_reorder_rack-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6387dd08c1add131286e62bd6039b6243abc2b3e73a11b96753ce3d7be129ed2
MD5 24bf7d8cd39d949eb2c7c9646173c93c
BLAKE2b-256 1db1d3aaf7296ce5e6aa7b32b300effb8a70086d2ed8e8e565700b95d4341acd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page