netbox-community / netbox

The premier source of truth powering network automation. Open source under Apache 2. Try NetBox Cloud free: https://netboxlabs.com/free-netbox-cloud/
http://netboxlabs.com/oss/netbox/
Apache License 2.0
16.3k stars 2.59k forks source link

Virtual Chassis - Add all interfaces under VC from all members #11590

Closed PVM-NL closed 1 year ago

PVM-NL commented 1 year ago

NetBox version

v3.3.9

Feature type

New functionality

Proposed functionality

From deku-m discussion: As i see value in this. But can be that its not accepted ofcourse. For now the individual switches that are member of a VC are getting all the interfaces from the members as well. Wondering how the idea is on a Virtual Chassis as now we create the chassis and add the members under it.

Looking at how Cisco models their "stacking switches" you notice that they also create some sort of virtual switch with all members under them and when asking, "show interfaces" the numbering is like 1/0/1-1/0/2, 2/0/1, 2/0/2. While you cant acces the underlaying second or third switch. Because it reachable by primary/master only by console. Physically they are still separated switches of course.

Isnt it an idea to add all interfaces combined under a tab in virtual chassis and let the members have their own interfaces like now? Most beautiful thing would be that, it will also create the interfaces like for example Cisco does. But i can imagine this isnt possible or to hard to implement.

Mock up: image

Use case

Overview of all interfaces immediatly under Virtual Chassis instead of adding them to the physical device from other devices (switch 1/2/3/4)

Database changes

Dont know?

External dependencies

None?

jeremystretch commented 1 year ago

You need to designate one of the switches as the master for the virtual chassis. All member interfaces will then appear on that switch.

PVM-NL commented 1 year ago

You need to designate one of the switches as the master for the virtual chassis. All member interfaces will then appear on that switch.

I know that the member(master) gets the interfaces (of all switches) but i was just thinking of having those interfaces as extentions on the VC overview as well. Like the mockup. So that we dont have to click through the member then to their interfaces but just see all combined interfaces in VC aswell.

jeremystretch commented 1 year ago

This would be completely redundant to viewing the master device. (And not just interfaces; all components would need to be replicated.)