netbox icon indicating copy to clipboard operation
netbox copied to clipboard

VC Member Interfaces Missing from Cable Add View

Open AesoSpadez opened this issue 6 months ago • 2 comments

Deployment Type

Self-hosted

NetBox Version

v4.2.6

Python Version

3.11

Steps to Reproduce

  1. Create a Device Type (Test Device Type)
  2. Add a few Interfaces to the Device Type
  3. Create a Device from the new Device Type (Test Device 1)
  4. Create two more Devices from the Device Type (Test Device 2, Test Device 3)
  5. Rename the interfaces on Test Device 3 for uniqueness
  6. Create a Virtual Chassis from Test Devices 2 and 3 (start position 0, position 0 is VC master)
  7. Go to the Test Device 1 Device, open the Interfaces tab
  8. Click the 'add cable' icon for an interface
  9. Select the VC Master (Test Device 2) for the B-side interface
  10. 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.

AesoSpadez avatar Jun 04 '25 19:06 AesoSpadez

We observed this in our prod NetBox instance, and it's reproducible in v4.3.1 as well.

AesoSpadez avatar Jun 04 '25 19:06 AesoSpadez

This could probably be achieved by making judicious use of the InterfaceFilterSet.virtual_chassis_member_id filter.

jnovinger avatar Jun 05 '25 20:06 jnovinger

Was pretty sure I fixed this once already, is this a regression?

DanSheps avatar Aug 07 '25 01:08 DanSheps

Similar: #11478 looks like we (I) was supposed to fix this and went off in a tangent

DanSheps avatar Aug 07 '25 01:08 DanSheps