A plugin to manage custom objects in NetBox
Project description
NetBox Custom Objects
This NetBox plugin introduces the ability to create new object types in NetBox so that users can add models to suit their own needs. NetBox users have been able to extend the NetBox data model for some time using both Tags & Custom Fields and Plugins. Tags and Custom Fields are easy to use, but they have limitations when used at scale, and Plugins are very powerful but require Python/Django knowledge, and ongoing maintenance. Custom Objects provides users with a no-code "sweet spot" for data model extensibility, providing a lot of the power of NetBox plugins, but with the ease of use of Tags and Custom Fields.
You can find further documentation here. See the compatibility matrix for supported NetBox versions.
Installation
- Install the NetBox Custom Objects package.
pip install netboxlabs-netbox-custom-objects
- Add
netbox_custom_objectstoPLUGINSinconfiguration.py.
PLUGINS = [
# ...
'netbox_custom_objects',
]
- Run NetBox migrations:
$ ./manage.py migrate
- Restart NetBox
sudo systemctl restart netbox netbox-rq
[!NOTE] If you are using NetBox Custom Objects with NetBox Branching, you need to insert the following into your
configuration.py. See the docs for a full description of how NetBox Custom Objects currently works with NetBox Branching.
PLUGINS_CONFIG = {
'netbox_branching': {
'exempt_models': [
'netbox_custom_objects.customobjecttype',
'netbox_custom_objects.customobjecttypefield',
],
},
}
Known Limitations
NetBox Custom Objects is now Generally Available which means you can use it in production and migrations to future versions will work. There are many upcoming features including GraphQL support - the best place to see what's on the way is the issues list on the GitHub repository.
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 netboxlabs_netbox_custom_objects-0.4.8.tar.gz.
File metadata
- Download URL: netboxlabs_netbox_custom_objects-0.4.8.tar.gz
- Upload date:
- Size: 61.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e628d4a61e6045769cc09d0115f117643255f3ee6f123bfe695bd3d2e84ea2e
|
|
| MD5 |
f1779e6e73726a70ac6febc43b76ca3a
|
|
| BLAKE2b-256 |
aa1d9dedb90700ad5461d7460f821325a49145a2b8e2d3fc77127a126a5cbc51
|
Provenance
The following attestation bundles were made for netboxlabs_netbox_custom_objects-0.4.8.tar.gz:
Publisher:
release.yaml on netboxlabs/netbox-custom-objects
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
netboxlabs_netbox_custom_objects-0.4.8.tar.gz -
Subject digest:
2e628d4a61e6045769cc09d0115f117643255f3ee6f123bfe695bd3d2e84ea2e - Sigstore transparency entry: 1247682808
- Sigstore integration time:
-
Permalink:
netboxlabs/netbox-custom-objects@d95f86d8f81ee9698ec51a96a3d92c38c1b984a7 -
Branch / Tag:
refs/tags/v0.4.8 - Owner: https://github.com/netboxlabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@d95f86d8f81ee9698ec51a96a3d92c38c1b984a7 -
Trigger Event:
release
-
Statement type:
File details
Details for the file netboxlabs_netbox_custom_objects-0.4.8-py3-none-any.whl.
File metadata
- Download URL: netboxlabs_netbox_custom_objects-0.4.8-py3-none-any.whl
- Upload date:
- Size: 76.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fea69dde982457b62488f14a41fd76eb3771ef3f153fe03fe732adc2c5a24c5f
|
|
| MD5 |
1735d5769cd18805ba6627427a63887d
|
|
| BLAKE2b-256 |
2a06853c80709e081f273beed55d69ef6ec23ea848c60785cca5c3af71671e26
|
Provenance
The following attestation bundles were made for netboxlabs_netbox_custom_objects-0.4.8-py3-none-any.whl:
Publisher:
release.yaml on netboxlabs/netbox-custom-objects
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
netboxlabs_netbox_custom_objects-0.4.8-py3-none-any.whl -
Subject digest:
fea69dde982457b62488f14a41fd76eb3771ef3f153fe03fe732adc2c5a24c5f - Sigstore transparency entry: 1247682810
- Sigstore integration time:
-
Permalink:
netboxlabs/netbox-custom-objects@d95f86d8f81ee9698ec51a96a3d92c38c1b984a7 -
Branch / Tag:
refs/tags/v0.4.8 - Owner: https://github.com/netboxlabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@d95f86d8f81ee9698ec51a96a3d92c38c1b984a7 -
Trigger Event:
release
-
Statement type: