Skip to content

Multi-termination Cable Trace: Interfaces are randomly swapped #14241

Closed
@uedvt359

Description

@uedvt359

NetBox version

v3.6.5

Python version

3.11

Steps to Reproduce

this is reproducible on demo.netbox.dev

1: Create 3 devices (names and interfaces obviously don't matter, but these are the ones in the screenshots):

  • server (nms)
  • switch-old (dist) with interface 65
  • switch-new (spine) with interface 1:10

2: connect server to both switches:

  • nms -> dist
  • spine -> nms

3: do a cable trace

Expected Behavior

the interface of switch-old (dist) should be displayed above switch-old and same for switch-new (spine)

Observed Behavior

depending on the order in which the terminations were added on the multi-side, the interfaces might be flipped around. it can be "fixed" by removing one of the terminations, saving and re-adding it (if it doesn't work, remove the other one).

flipped:
image

after the remove-and-readd workaround:
image

https://demo.netbox.dev/dcim/interfaces/1802/trace/

### Tasks

Metadata

Metadata

Assignees

Labels

severity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtopic: cablingtype: 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