No circuit endpoint termination shown on _new_ circuits #3858

Closed
opened 2025-12-29 18:31:37 +01:00 by adam · 0 comments
Owner

Originally created by @wols on GitHub (Jul 14, 2020).

Originally assigned to: @jeremystretch on GitHub.

Environment

  • Python version: 3.7.8
  • NetBox version: 2.8.7

Steps to Reproduce

  1. Add a new circuit
  2. Add (the same) termination A Side and B Side
  3. Connect A Side to a interface in A
  4. Connect B Side to a interface in B

Expected Behavior

Termination A and B in form "CABLE_LABEL [Trace] to DEVICE_NAME > INTERFACE_NAME"

termination_ok

Observed Behavior

Termination A and B in form "CABLE_LABEL [Trace]" only

termination_bad

The Netbox API http://localhost:8000/api/circuits/circuits/NEWEST_ID/ gives

  "termination_a": {
    "id": 202,
    ...,
    "connected_endpoint": null,
  },
  "termination_z": {
    "id": 203,
    ...,
    "connected_endpoint": null,
  },
  "created": "2020-07-13",

Older circuits (bevore version?) are not affectet - the endpoints are shown and the API http://localhost:8000/api/circuits/circuits/OLDER_ID/ gives

  "termination_a": {
    "id": 122,
    ...,
    "connected_endpoint": {
      "id": 1602,
      ...,
     },
    ....,
  },
  "termination_z": {
    "id": 123,
    ...,
    "connected_endpoint": {
      "id": 2497,
      ....,
    },
    ...,
  },
  "created": "2019-05-29",
Originally created by @wols on GitHub (Jul 14, 2020). Originally assigned to: @jeremystretch on GitHub. ### Environment * Python version: 3.7.8 * NetBox version: 2.8.7 ### Steps to Reproduce 1. `Add` a new circuit 2. `Add` (the same) termination A Side and B Side 3. `Connect` A Side to a interface in A 4. `Connect` B Side to a interface in B ### Expected Behavior Termination A and B in form "CABLE_LABEL [Trace] to DEVICE_NAME > INTERFACE_NAME" ![termination_ok](https://user-images.githubusercontent.com/764167/87408345-9e19b180-c5c3-11ea-9e6d-4684301d0be3.png) ### Observed Behavior Termination A and B in form "CABLE_LABEL [Trace]" only ![termination_bad](https://user-images.githubusercontent.com/764167/87408363-a5d95600-c5c3-11ea-8806-538c9ff825a7.png) The Netbox API http://localhost:8000/api/circuits/circuits/NEWEST_ID/ gives ``` "termination_a": { "id": 202, ..., "connected_endpoint": null, }, "termination_z": { "id": 203, ..., "connected_endpoint": null, }, "created": "2020-07-13", ``` --- **Older circuits** (bevore version?) are not affectet - **the endpoints are shown** and the API http://localhost:8000/api/circuits/circuits/OLDER_ID/ gives ``` "termination_a": { "id": 122, ..., "connected_endpoint": { "id": 1602, ..., }, ...., }, "termination_z": { "id": 123, ..., "connected_endpoint": { "id": 2497, ...., }, ..., }, "created": "2019-05-29", ```
adam added the type: bugstatus: accepted labels 2025-12-29 18:31:37 +01:00
adam closed this issue 2025-12-29 18:31:38 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3858