Files
Netbox-Utilities/netbox_utilities/api/urls.py
T
MrBlakeandClaude Opus 5.5 1d6b16c0e4 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]>
2026-11-26 10:58:20 +01:00

18 lines
624 B
Python

from netbox.api.routers import NetBoxRouter
from . import views
app_name = "netbox_utilities-api"
router = NetBoxRouter()
router.register("disks", views.DiskViewSet)
router.register("raid-groups", views.RAIDGroupViewSet)
router.register("disk-bay-layouts", views.DiskBayLayoutViewSet)
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