Skip to main content

NetBox plugin for blade chassis visualization in rack elevations.

Project description

NetBox Blade Chassis Plugin

NetBox plugin that renders blade server bays inside chassis devices in rack SVG elevations.

Features

  • Configure bay grid coordinates (position_x, position_y) on Device Bay Template forms or the Blade Layout tab on Device Type
  • Empty coordinates: bay is not shown in rack elevation
  • Filled coordinates: bay is rendered as a blade cell with child device hostname
  • Symmetric grid validation on bulk save (Blade Layout tab)
  • Inline rack elevation via plugin SVG endpoint
  • Clickable blade cells linking to child devices

Compatibility

NetBox Version Plugin Version
4.6 0.1.x

Installing

Review official NetBox plugin documentation for installation instructions.

Install from PyPI. Activate NetBox's virtual environment first:

source /opt/netbox/venv/bin/activate
pip install netbox-blade-chassis

For NetBox Docker, see using netbox-docker with plugins.

Install a development version directly from GitHub:

pip install https://github.com/aredoff/netbox-blade-chassis/archive/main.tar.gz

Or add to local_requirements.txt or plugin_requirements.txt (netbox-docker):

https://github.com/aredoff/netbox-blade-chassis/archive/main.tar.gz

Enable the plugin in /opt/netbox/netbox/netbox/configuration.py, or in netbox-docker /configuration/plugins.py:

PLUGINS = [
    'netbox_blade_chassis',
]

PLUGINS_CONFIG = {
    'netbox_blade_chassis': {},
}

Apply database migrations and update the search index:

cd /opt/netbox/netbox/
python3 manage.py migrate
python3 manage.py reindex --lazy

If you use netbox-docker, migrations and index updates are applied automatically when containers start.

Settings

Setting Default Description
enable_inline_elevation True Inject inline rack elevation SVG via plugin endpoint

Example:

PLUGINS_CONFIG = {
    'netbox_blade_chassis': {
        'enable_inline_elevation': True,
    },
}

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_blade_chassis-0.1.2.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

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

netbox_blade_chassis-0.1.2-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

Details for the file netbox_blade_chassis-0.1.2.tar.gz.

File metadata

  • Download URL: netbox_blade_chassis-0.1.2.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for netbox_blade_chassis-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f64687b39cb20736ce94c5b510657a7bcd096d8a3fa51c7b0c145c5ae16d476e
MD5 27405461c69e21636a2d9e0252bd5ab7
BLAKE2b-256 3ae34333a5c985b6eda14d4ca60997c33241678b04f04c2fa64acd540b93e0b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for netbox_blade_chassis-0.1.2.tar.gz:

Publisher: publish.yaml on aredoff/netbox-blade-chassis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file netbox_blade_chassis-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for netbox_blade_chassis-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 96792bb978c98b9356de0e31a2c0dbc923790d9dd871da4a079cec8f89f5718f
MD5 08dd58b2ad98abba92f369e2c7c27839
BLAKE2b-256 7e3c9d3dcdcb1b8cc335b31c4bae7a041e18e4c869ac4fdad02167c35307edd6

See more details on using hashes here.

Provenance

The following attestation bundles were made for netbox_blade_chassis-0.1.2-py3-none-any.whl:

Publisher: publish.yaml on aredoff/netbox-blade-chassis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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