feat: REST API endpoint for switch stacks
/api/plugins/utilities/switch-stacks/ reads and writes stacks, filterable by device_id and member_id. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
a87d3b1cdf
commit
5fcd7799e3
6 files changed
+51
-4
No files matched your search
@@ -545,6 +545,14 @@ NetBox offers plugins no slot above these cards, so the panel is rendered into
|
||||
the left column and moved to the top by a small script; without JavaScript it
|
||||
stays in the left column.
|
||||
|
||||
**Switch stacks via REST API.** The stack set in the device form (*Switch-Stack*
|
||||
and *Stack-Mitglieder*) can also be read and written through
|
||||
`/api/plugins/utilities/switch-stacks/`: `device` is the stack switch, `members`
|
||||
the IDs of the further member devices. Filter with `?device_id=` or
|
||||
`?member_id=`. The model has no change log and no tags; permissions are
|
||||
`netbox_utilities.*_switchstack`. NetBox Synchronizer uses this endpoint to fill
|
||||
in detected stacks.
|
||||
|
||||
### Switch port usage (PDF)
|
||||
|
||||
Devices with a role from `switch_device_roles` get an **Export switch port
|
||||
|
||||
Reference in new issue
Block a user