Skip to main content

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

  1. Install the NetBox Custom Objects package.
pip install netboxlabs-netbox-custom-objects
  1. Add netbox_custom_objects to PLUGINS in configuration.py.
PLUGINS = [
    # ...
    'netbox_custom_objects',
]
  1. Run NetBox migrations:
$ ./manage.py migrate
  1. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

netboxlabs_netbox_custom_objects-0.5.1.tar.gz (133.3 kB view details)

Uploaded Source

Built Distribution

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

netboxlabs_netbox_custom_objects-0.5.1-py3-none-any.whl (167.4 kB view details)

Uploaded Python 3

File details

Details for the file netboxlabs_netbox_custom_objects-0.5.1.tar.gz.

File metadata

File hashes

Hashes for netboxlabs_netbox_custom_objects-0.5.1.tar.gz
Algorithm Hash digest
SHA256 3247b30de03b5098f16d4a62b9676668ab9c4371fc2c53328faad79c485aa130
MD5 8d13c23a19fba39afbd6af078b8e8298
BLAKE2b-256 3e5c2188074ce935e0172434279ff143611a6f8e207c8e5b95f5b82de2a7ec81

See more details on using hashes here.

Provenance

The following attestation bundles were made for netboxlabs_netbox_custom_objects-0.5.1.tar.gz:

Publisher: release.yaml on netboxlabs/netbox-custom-objects

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

File details

Details for the file netboxlabs_netbox_custom_objects-0.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for netboxlabs_netbox_custom_objects-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 93763fb6b936805e99e08a73bad8d5e4b6d2307c273fc03793d2ca46d95f64b9
MD5 7a47755a26bfbe84531f3aa1b73ecf51
BLAKE2b-256 65e4d6416f5164b2d3e59ece2dfc7712be0bcf68a7ab05c0d2a97fb4a7e58450

See more details on using hashes here.

Provenance

The following attestation bundles were made for netboxlabs_netbox_custom_objects-0.5.1-py3-none-any.whl:

Publisher: release.yaml on netboxlabs/netbox-custom-objects

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