Skip to main content

Physical panel layout view and WYSIWYG editor for NetBox device types, module types and devices

Project description

Overview

This is a netbox plugin which offers a physical view of a device's module bays, onboard interfaces, frontports and backports.

When a module has been installed into a module bay the rendering will then display the modules port layout in the place where the module bay is defined. This should work recursively if a module also has a module bay defined in it.

The plugin provides tab on a device type that provides the rendering of the layout module bays, onboard interfaces, frontports and backports as they are physically located.

It also has a tab showing the same layout specifically for module types.

This plugin provides a WYSIWYG interface for editing the design of the grid layout on the device types object and the modules type object. the WYSIWYG display and editing interface will use Javascript and CSS to render and edit.

The information defining the layout is stored in json in the database.

On the device page when displaying the layout rendering including the installed modules and nested modules, the interface and port details will be reflected in the rendering. Green being connected and a light grey being not connected and amber indicating a naming issue.

Installation

Currently I have not made a pypi module and its just in dev mode. I installed it using the following and might be specific to my environment:

gh repo clone dionrowney/netbox-devicelayout
cd /opt/netbox/netbox/
source /opt/netbox/netbox/venv/bin/activate
pip install -e /opt/netbox/netbox-devicelayout --no-deps
python manage.py migrate
source /opt/netbox/netbox/venv/bin/activate
python3 manage.py collectstatic
chmod -R 775 /opt/netbox/netbox-devicelayout/
chown -R root:root /opt/netbox/netbox-devicelayout/

Example Screenshots

Layout view

Screenshot 2026-04-20 135810

Editor

Screenshot 2026-04-20 135846 Screenshot 2026-04-20 140006

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_devicelayout-0.1.1.tar.gz (50.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

netbox_devicelayout-0.1.1-py3-none-any.whl (54.3 kB view details)

Uploaded Python 3

File details

Details for the file netbox_devicelayout-0.1.1.tar.gz.

File metadata

  • Download URL: netbox_devicelayout-0.1.1.tar.gz
  • Upload date:
  • Size: 50.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.13

File hashes

Hashes for netbox_devicelayout-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5e6e9c186b1708d4b92bce278e41a4814090d0dc47ee4cc0406c21c44b528d9b
MD5 c68ebf9f7c8f6ecdb7e59ff762a6ac8d
BLAKE2b-256 6f71a51b717a85327049d4b1b2f4b94e4d79381da773bdbf50177e116a5d1bdf

See more details on using hashes here.

File details

Details for the file netbox_devicelayout-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for netbox_devicelayout-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 be7b4c579c773565bb4f52c1ce9aec9d20f6ccc38700754479eb48e7ebbc1430
MD5 5a88fdecd605d1097fa3ca3982fdb12d
BLAKE2b-256 faad259be3214d846a0bb978e1618dda19c1f2283914738e935babe7cd7b01c9

See more details on using hashes here.

Supported by

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