NetBox plugin for CESNET services.
Project description
NetBox cesnet_services Plugin
NetBox plugin for CESNET services.
- Free software: MIT
- Documentation: https://kani999.github.io/netbox-cesnet-services-plugin/
Features
Enables CESNET services in Netbox. BGP connections, LLDP Neigbors, LLDP Leafs
Compatibility
| NetBox Version | Plugin Version | Notes |
|---|---|---|
| 4.5.4+ | 2.0.1 | GraphQL fix: StrFilterLookup replaces FilterLookup[str]; requires NetBox 4.5.4 |
| 4.5.0–4.5.3 | 2.0.0 | Breaking change: Filter system updated, NOT compatible with 4.4.x |
| 4.4.x | 1.2.8 | Last version compatible with NetBox 4.4.x |
| 4.4.0 | 1.2.5 | |
| 4.3.1 | 1.2.4 | |
| 4.3.1 | 1.2.3 | |
| 4.2.8 | 1.2.2 |
Installing
For adding to a NetBox Docker setup see the general instructions for using netbox-docker with plugins.
Prerequisites
- NetBox 4.5.4 or higher (for plugin version 2.0.1)
- Important: Plugin version 2.0.1 requires NetBox 4.5.4 due to
StrFilterLookup(ships with strawberry-graphql-django >= 0.79.0). Starting the plugin on NetBox 4.5.0–4.5.3 will raise anImportError. - For NetBox 4.5.0–4.5.3, use plugin version 2.0.0
- For NetBox 4.4.x, use plugin version 1.2.8 or earlier
- Important: Plugin version 2.0.1 requires NetBox 4.5.4 due to
Installation
You can install with pip:
pip install netbox-cesnet-services-plugin
or by adding to your local_requirements.txt or plugin_requirements.txt (netbox-docker):
# For NetBox 4.5.4+
netbox-cesnet-services-plugin==2.0.1
# For NetBox 4.5.0–4.5.3
# netbox-cesnet-services-plugin==2.0.0
# For NetBox 4.4.x (use 1.2.8 or earlier)
# netbox-cesnet-services-plugin==1.2.8
Configuration
Enable the plugin in /opt/netbox/netbox/netbox/configuration.py,
or if you use netbox-docker, your /configuration/plugins.py file.
You can optionally set device platforms for filtering choices in LLDPNeighbor form:
PLUGINS = [
'netbox_cesnet_services_plugin'
]
PLUGINS_CONFIG = {
"netbox_cesnet_services_plugin": {
"platforms" : ["ios", "iosxe", "iosxr", "nxos", "nxos_ssh"],
},
}
Credits
Based on the NetBox plugin tutorial:
This package was created with Cookiecutter and the netbox-community/cookiecutter-netbox-plugin project template.
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
File details
Details for the file netbox_cesnet_services_plugin-2.0.1.tar.gz.
File metadata
- Download URL: netbox_cesnet_services_plugin-2.0.1.tar.gz
- Upload date:
- Size: 28.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9fcd57f3628fac31f9a2d198452ebba66057ad8f2a4b4e065cd92436187e425e
|
|
| MD5 |
1768eb37a942ab259e1dde9d6c5e980c
|
|
| BLAKE2b-256 |
e4e465351a9b1a55af5c43a70d5feeb38be950c5b5c87efeb163521a90dd2b2c
|