VC Member Interfaces Missing from Cable Add View
Deployment Type
Self-hosted
NetBox Version
v4.2.6
Python Version
3.11
Steps to Reproduce
- Create a Device Type (Test Device Type)
- Add a few Interfaces to the Device Type
- Create a Device from the new Device Type (Test Device 1)
- Create two more Devices from the Device Type (Test Device 2, Test Device 3)
- Rename the interfaces on Test Device 3 for uniqueness
- Create a Virtual Chassis from Test Devices 2 and 3 (start position 0, position 0 is VC master)
- Go to the Test Device 1 Device, open the Interfaces tab
- Click the 'add cable' icon for an interface
- Select the VC Master (Test Device 2) for the B-side interface
- Open the interface list
Expected Behavior
The interface list should contain all VC member interfaces when selecting the VC master device for the B-side device.
Observed Behavior
The interface list only shows interfaces directly associated with the VC master device.
We observed this in our prod NetBox instance, and it's reproducible in v4.3.1 as well.
This could probably be achieved by making judicious use of the InterfaceFilterSet.virtual_chassis_member_id filter.
Was pretty sure I fixed this once already, is this a regression?
Similar: #11478 looks like we (I) was supposed to fix this and went off in a tangent