Closed
Description
NetBox version
v3.3.8
Python version
3.10
Steps to Reproduce
In addition to #10237. While experimenting I was able to reproduce the problem (in v3.3.8 and v3.4-beta1) and now know why you couldn't reproduce it. My steps to reproduce were wrong.
- Create 2 devices with interfaces (switches 1 and 2)
- Create 2 devices with no components (patchpanel 1 and 2)
- Create a rearport in both patchpanel
- Create a frontport in patchpanel 1 and map it to the rearport
- Connect the rearports
- Connect the only existing frontport to an interface of switch 1
-> Through looking in the database I found out that now the first trace gets created (i->fp->rp->rp) - Create a frontport on patchpanel 2 and map it to the rearport
- Connect this frontport to an interface of switch 2
-> Now the Second trace gets created (i->fp->rp->rp->fp->i)
If you do it as I said in #10237, the trace gets created when the frontports are already mapped to the rearport, resulting in 2 complete paths and avoiding this bug.
Expected Behavior
When mapping the second frontport to a rearport the trace should get extended.
Observed Behavior
The first trace keeps link i->fp->rp->rp. This way the trace is only in one direction complete.