Feature Request: Have Virtual Chassis own control plane resources #7688

Closed
opened 2025-12-29 20:27:00 +01:00 by adam · 2 comments
Owner

Originally created by @marcartz on GitHub (Feb 27, 2023).

NetBox version

v3.4.5

Feature type

Data model extension

Proposed functionality

The virtual chassis model is ideal to represent stacks of networks switches (e.g. VSS, StackWise, etc.)
Give virtual chassis the possibility to directly own control plane resources: SVIs, Management IPs and Router-Ids/Loopback-Interfaces.
Also add meta-information: site, location, vendor, type
Current options, like assigning those resources to a random stack member does badly represent the actual function of a stack: The control plane is assigned to an elected master, which could potentially be any of the available stack members (the ID of a potential master is non-deterministic).
Currently I use a fake stack member with the same name as the VC, which owns the control plane resources, while the actual stack members have only a serial number assigned.

Use case

Real-Life representation of stacks of network switches in Netbox.

Database changes

Virtual Chassis

  • Interfaces
  • IP addresses
  • Site
  • Location
  • Vendor
  • Type

External dependencies

No response

Originally created by @marcartz on GitHub (Feb 27, 2023). ### NetBox version v3.4.5 ### Feature type Data model extension ### Proposed functionality The virtual chassis model is ideal to represent stacks of networks switches (e.g. VSS, StackWise, etc.) Give virtual chassis the possibility to directly own control plane resources: SVIs, Management IPs and Router-Ids/Loopback-Interfaces. Also add meta-information: site, location, vendor, type Current options, like assigning those resources to a random stack member does badly represent the actual function of a stack: The control plane is assigned to an elected master, which could potentially be any of the available stack members (the ID of a potential master is non-deterministic). Currently I use a fake stack member with the same name as the VC, which owns the control plane resources, while the actual stack members have only a serial number assigned. ### Use case Real-Life representation of stacks of network switches in Netbox. ### Database changes # Virtual Chassis - Interfaces - IP addresses - Site - Location - Vendor - Type ### External dependencies _No response_
adam added the type: feature label 2025-12-29 20:27:00 +01:00
adam closed this issue 2025-12-29 20:27:00 +01:00
Author
Owner

@jeremystretch commented on GitHub (Feb 27, 2023):

Current options, like assigning those resources to a random stack member does badly represent the actual function of a stack

The current implementation most closely mirrors the way a stack actually functions: The master device is responsible for operation of the control plane. I'm sorry if the was this is implemented in NetBox does not meet your needs, but we will not be changing it.

@jeremystretch commented on GitHub (Feb 27, 2023): > Current options, like assigning those resources to a random stack member does badly represent the actual function of a stack The current implementation most closely mirrors the way a stack actually functions: The master device is responsible for operation of the control plane. I'm sorry if the was this is implemented in NetBox does not meet your needs, but we will not be changing it.
Author
Owner

@marcartz commented on GitHub (Feb 27, 2023):

Thanks Jeremy, that was by no means meant as criticism. I really appreciate your incredible work with NetBox.
Using a fake placeholder device is a viable workaround to represent an actual switch stack.
I was just trying to point out that in actual real-world stacking implementations logical interfaces are not tied to any particular physical device but rather dynamically handed over to whatever device takes over the control plane.

@marcartz commented on GitHub (Feb 27, 2023): Thanks Jeremy, that was by no means meant as criticism. I really appreciate your incredible work with NetBox. Using a fake placeholder device is a viable workaround to represent an actual switch stack. I was just trying to point out that in actual real-world stacking implementations logical interfaces are not tied to any particular physical device but rather dynamically handed over to whatever device takes over the control plane.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7688