feat: REST API for cable VLAN assignments

- New endpoint /api/plugins/utilities/cable-vlans/ to read and write the
  connection VLANs of a cable (cable ID and VLAN IDs, filter with ?cable_id=)
- Used by NetBox Synchronizer to keep the cable VLANs of switch ports in step
  with the port
- Version 0.31.0

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
MrBlakeandClaude Opus 5.5 committed 2026-11-26 10:58:20 +01:00
1 parent 280c0e0315
commit 1d6b16c0e4
6 files changed
+36 -5

No files matched your search

+1
View File
@@ -12,5 +12,6 @@ router.register("disk-bay-templates", views.DiskBayTemplateViewSet)
router.register("cpu-models", views.CPUModelViewSet)
router.register("device-hardware", views.DeviceHardwareViewSet)
router.register("switch-stacks", views.SwitchStackViewSet)
router.register("cable-vlans", views.CableVLANAssignmentViewSet)
urlpatterns = router.urls