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

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


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.0.0.tar.gz (70.2 kB view hashes)

Uploaded Source

Built Distribution

netbox_reorder_rack-1.0.0-py3-none-any.whl (73.3 kB view hashes)

Uploaded Python 3

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