Netbox Plugin for Sonance Amp Input and Output Parameters
This plugin models SonAmp input and output parameters as an extension to an "Other" Interface.
Data Model
Configuration parameters for inputs and outputs are stored in two models: AmpInputSettings and AmpOutputSettings, which are tied to an Interface through a one-to-one foreign key relationship.
For AmpInputSettings, the following fields are managed:
- Level Trim dB: value of -6.0 to 6.0 in 0.5 steps
The Interface Label field is applied to the Input Name parameter.
For AmpOutputSettings, the following fields are managed:
- Output Setup
- Stereo/Mono: "stereo" or "mono"
- DSP Preset: preset name (freeform string)
- Output Group: choice of "A" to "H"
- Bridge Mode: "on" or "off"
- Output Source
- Output Source 1: choice of "1L", "1R", ... to "4R"
- Output Source 2: as above
- Mode Source 2: choice of "mute", "mix", or "off"
- Output Volume
- Output Volume: value between -70 and 12
- Turn On Volume: as above
- Maximum Volume: as above
- Gain Offset: value of -6.0 to 6.0 in 0.5 steps
- Mute: "on" or "off"
The Interface Label field is applied to the Output Name parameter.
User Interface
The plugin ties the custom model editing into the Interface detail form. The editing form allows choosing "No amp parameters", "Input amp parameters", or "Output amp parameters" for each interface. Changing the type will add or remove the respective model entry, and show the correct form for the type.
Compatibility
| NetBox Version | Plugin Version |
|---|---|
| 4.1 - 4.99 | 0.1.0 |
Installation
Install the plugin into your NetBox virtual environment:
pip install netbox-plugin-sonance-amp
Enable it in your NetBox configuration.py (or plugins.py, if using netbox-docker):
PLUGINS = [
"netbox_plugin_sonance_amp",
]
Then run migrations and restart NetBox:
python manage.py migrate
python manage.py collectstatic --no-input
Development / Testing
A self-contained Docker Compose setup is included for trying the plugin out against a real NetBox instance. It builds a NetBox image with the plugin installed from this repository's source, so no packaging or PyPI publish is required.
docker compose up -d --build
Once the netbox service reports healthy, log in at http://localhost:8000/ with admin / admin. A demo device, sonamp-1, is created automatically with an Input 1 and an Output 1 interface (both type "Other") so you can open either interface's detail page and add amp parameters right away.
To stop and remove the stack (including its database volume):
docker compose down -v
Release files for netbox-plugin-sonance-amp 0.9.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| netbox_plugin_sonance_amp-0.9.3.tar.gz | 13.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| netbox_plugin_sonance_amp-0.9.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.0 kB
Release files / netbox_plugin_sonance_amp-0.9.3.tar.gz
| Download URL | netbox_plugin_sonance_amp-0.9.3.tar.gz |
|---|---|
| Size | 13.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d3ed16d45f3315f030cf6fdea3d71844e8baf546c2ae3f730191ee869413861
|
|
BLAKE2b-256 checksum How to use checksums |
7aac04651ed4afca9479e233c9221cddd5992c85adf923283905a34493dae195
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.
Transparency logRelease files / netbox_plugin_sonance_amp-0.9.3-py3-none-any.whl
| Download URL | netbox_plugin_sonance_amp-0.9.3-py3-none-any.whl |
|---|---|
| Size | 19.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
34bdc0908b3e39589bae86783938c349b18cca6c005d9c1e8446daf1cd0b0e8c
|
|
BLAKE2b-256 checksum How to use checksums |
9ada63bf863633285ffa3d3322473b7338e043808f5a0d71bf5fd48004aa889b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.
Transparency log