NetBox plugin that links Circuits to Prefixes.
Project description
netbox-circuit-prefix-link
A NetBox plugin that links Circuits to Prefixes.
- One Circuit can have many linked Prefixes.
- Each Prefix can be linked to at most one Circuit.
- The link is surfaced as a panel on Circuit, Prefix, and IPAddress detail pages.
Compatible with NetBox 4.5.x and NetBox 4.6.x.
Install
pip install netbox-circuit-prefix-link
Then in your NetBox configuration.py:
PLUGINS = [
'netbox_circuit_prefix_link',
]
Run migrations:
python manage.py migrate netbox_circuit_prefix_link
REST API
Endpoint: /api/plugins/circuit-prefix-link/circuit-prefixes/
Supports the standard NetBox CRUD plus filtering by circuit_id and prefix_id.
UI
- Circuit detail page — "Linked Prefixes" panel with an Add Prefix button.
- Prefix detail page — "Circuit Link" panel showing the associated Circuit (if any), with Link / Edit / Unlink buttons.
- IPAddress detail page — Read-only panel showing the Circuit of any parent Prefix that has a link.
Permissions
Standard Django/NetBox model permissions:
netbox_circuit_prefix_link.view_circuitprefixnetbox_circuit_prefix_link.add_circuitprefixnetbox_circuit_prefix_link.change_circuitprefixnetbox_circuit_prefix_link.delete_circuitprefix
Panel content is filtered with NetBox's object-permission restrict() — users only see Circuits and Prefixes they have view permission on.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file netbox_circuit_prefix_link-0.1.0.tar.gz.
File metadata
- Download URL: netbox_circuit_prefix_link-0.1.0.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
caa1c42d9fccb6dc52630800bd9b1a83eeded618a888eae3d4f09804e1a44c1b
|
|
| MD5 |
766d514c390b4c72cb059d7906c1018b
|
|
| BLAKE2b-256 |
f4d18b7b273924ffb88290c9ccb1085d04d5d33603302b49ebd7e0c5a46a8698
|
File details
Details for the file netbox_circuit_prefix_link-0.1.0-py3-none-any.whl.
File metadata
- Download URL: netbox_circuit_prefix_link-0.1.0-py3-none-any.whl
- Upload date:
- Size: 19.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f67b6fa31a13a6fbc6f7ba5d48aeeb2024b701b82353f32be76a0f6fe0d30fb3
|
|
| MD5 |
8effd2141998fe6b2414a0743d1652c9
|
|
| BLAKE2b-256 |
c59c4dba7ca36d158a1f63337d004eff41a9b994de1599818a5f7155ed3fd656
|