Skip to content

Patching front port to virtual chassis member interface is broken in UI #11478

@cs-1

Description

@cs-1

NetBox version

v3.4.2

Python version

3.8

Steps to Reproduce

  1. Create an empty rack (default settings with 42 HUs works).
  2. Add a device with 1 front port to rack.
  3. Create a virtual chassis with at least two members (pos. 1, 2,...) with at least one interface each, no master chassis (!), add members to rack.
  4. Attach a cable from front port to an interface of VC member at pos. 2 or higher.

Expected Behavior

The cable should be attached between front port and VC member's interface. Only the interfaces of selected VC member are shown.

Observed Behavior

The interface selection always show all interfaces of all VC members even if selected VC member is no master. This can lead to confusion because you don't expect to see other VC members' interfaces.

We've made the following observations.

  • This issue only occurs for VC members, not for single devices in the same rack.
  • If VC member's interface X is already patched, interface X is always marked as not available to connect for all other VC members.
  • Patching from the VC member's interface view works which suggests that this is indeed a VC related problem.
  • When in the cable creation UI and when selecting any VC member, scrolling through the interface selector will always list interfaces of all VC members, even if selected VC member isn't a master chassis (or, as in our case, no VC member is configured as master chassis).

I believe that this is an UI issue. My guess is that in /dcim/cables/add, the Interface selector always displays VC member 1's interfaces instead the actual selected VC member.

Metadata

Metadata

Assignees

Labels

severity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions