Rear Port Link with two ports on each side causes execption #8768

Closed
opened 2025-12-29 20:40:59 +01:00 by adam · 1 comment
Owner

Originally created by @whtkam on GitHub (Oct 23, 2023).

NetBox version

v3.6.4

Python version

3.8

Steps to Reproduce

  1. Define a device type (patch panel).
  • 2 rear ports with 2 positions per port. (rearport1 and rearport2)
  • 4 front ports and assign them to the rear ports. (frontport 1-4)
  1. Define 2 devices PPA and PPB from the previous device type (patch panel)

  2. Connect the 2 devices PPA and PPB via the rearports. One cable but with 2 rear ports on each side.

PPA-rearport1 _____1xcable_______PPB-rearport1
PPA-rearport2 PPB-rearport2

  1. This cable is created

  2. When you try to connect a device to the frontport on PPA or PPB you run in the exception. <class 'AssertionError'>

(When you try the same without positions on the rearports it works so far)

Expected Behavior

no exception

Observed Behavior

<class 'AssertionError'>

Python version: 3.8.10
NetBox version: 3.6.4
Plugins:
netbox_demo: 0.3.1

Originally created by @whtkam on GitHub (Oct 23, 2023). ### NetBox version v3.6.4 ### Python version 3.8 ### Steps to Reproduce 1. Define a device type (patch panel). - 2 rear ports with 2 positions per port. (rearport1 and rearport2) - 4 front ports and assign them to the rear ports. (frontport 1-4) 2. Define 2 devices PPA and PPB from the previous device type (patch panel) 3. Connect the 2 devices PPA and PPB via the rearports. One cable but with 2 rear ports on each side. PPA-rearport1 _____1xcable_______PPB-rearport1 PPA-rearport2 PPB-rearport2 4. This cable is created 5. When you try to connect a device to the frontport on PPA or PPB you run in the exception. <class 'AssertionError'> (When you try the same without positions on the rearports it works so far) ### Expected Behavior no exception ### Observed Behavior <class 'AssertionError'> Python version: 3.8.10 NetBox version: 3.6.4 Plugins: netbox_demo: 0.3.1
adam added the type: bug label 2025-12-29 20:40:59 +01:00
adam closed this issue 2025-12-29 20:40:59 +01:00
Author
Owner

@shepherdjay commented on GitHub (Oct 23, 2023):

This appears to be same issue as #13930 -- that was closed as this is an "unsupported" connection

@shepherdjay commented on GitHub (Oct 23, 2023): This appears to be same issue as #13930 -- that was closed as this is an "unsupported" connection
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8768