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 — tracks BGP peering sessions with last-seen monitoring and status badges
- LLDP Neighbors / LLDP Leafs — stores discovered LLDP adjacencies and leaf relationships
- ServiceCoreTrunk — core trunk between two nodes with linked path segments
- ServiceCoreLink — core link with topology, SAPs, L2 (QinQ encapsulation, LLDP, Flowspec), IS-IS/OSPF routing and IP addresses; belongs to one or more CoreTrunks
- ServiceIP — IP service with SAP attachment, encapsulation, IPv4/IPv6 addresses, and routing (static or BGP)
Compatibility
| NetBox Version | Plugin Version | Notes |
|---|---|---|
| 4.5.4 – 4.6.99 | 3.0.1 | ServiceCoreTrunk, ServiceCoreLink, ServiceIP models + full API/UI/tests |
| 4.5.4 – 4.6.99 | 3.0.0 | NetBox 4.6 support (Django 6.0) |
| 4.5.4+ | 2.1.0 | last_seen field, bulk ops, status badges |
| 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
- cesnet-service-path-plugin — required from version 3.0.1 onwards. The
ServiceCoreTrunkandServiceCoreLinkmodels referenceSegmentobjects from this plugin. Both plugins must be installed and listed inPLUGINS. - NetBox 4.5.4 – 4.6.99 (for plugin version 3.0.x)
- Important: Plugin version 3.0.x 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 3.0.x 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 – 4.6.99
netbox-cesnet-services-plugin==3.0.1
# For NetBox 4.5.4 – 4.6.99 (without new service models)
# netbox-cesnet-services-plugin==3.0.0
# For NetBox 4.5.4 only
# netbox-cesnet-services-plugin==2.1.0
# 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 = [
'cesnet_service_path_plugin', # required by netbox_cesnet_services_plugin >= 3.0.1
'netbox_cesnet_services_plugin',
]
PLUGINS_CONFIG = {
"netbox_cesnet_services_plugin": {
"platforms" : ["ios", "iosxe", "iosxr", "nxos", "nxos_ssh"],
"bgp_last_seen_warning_days": 2, # days until last_seen badge turns orange (default: 2)
"bgp_last_seen_danger_days": 5, # days until last_seen badge turns red (default: 5)
},
}
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
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_cesnet_services_plugin-3.0.1.tar.gz.
File metadata
- Download URL: netbox_cesnet_services_plugin-3.0.1.tar.gz
- Upload date:
- Size: 45.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f04837de99312c8ae4684436bc2cbc1c6fa638ee33cce5108f1759cec76ffba4
|
|
| MD5 |
faa4f80396cf41b075b11fce54d4a5b2
|
|
| BLAKE2b-256 |
9da57d3d098a931669ab3c32f1c79a10ae5ac22ca3f829b180c108484a9ecb39
|
File details
Details for the file netbox_cesnet_services_plugin-3.0.1-py3-none-any.whl.
File metadata
- Download URL: netbox_cesnet_services_plugin-3.0.1-py3-none-any.whl
- Upload date:
- Size: 84.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41b09adb37a0a042c0f8339785efa9ce7167bd457328d43a07d2f63daccb0b02
|
|
| MD5 |
cfd7e65a4e54ceb682b3e21e5062edcd
|
|
| BLAKE2b-256 |
3cde3c340b66265416020b10a199c29090f14fea024314f3a8ee2654101a737a
|