Add support to query device/interface endpoints for circuits #10520

Open
opened 2025-12-29 21:32:33 +01:00 by adam · 1 comment
Owner

Originally created by @dmulyalin on GitHub (Nov 28, 2024).

NetBox version

v4.1.7

Feature type

New functionality

Triage priority

N/A

Proposed functionality

Add support to query over REST and GraphQL API devices and interface endpoints connected by this circuit

Currently to retrieve information on what devices and interfaces given circuit connects we have to query circuit terminations and from there send REST API request to trace the path for one of the interfaces circuit termination connected to. This is because circuits can be connected to rear-ports of patch panels and not to device interfaces directly, moreover, we can have multiple circuits connected together, as a result for big number of circuits (hundreds) it takes unreasonable amount of time to retrieve information on devices and interface that those circuits connect.

Use case

To provide applications using Netbox API with a way to efficiently query Netbox to retrieve information on devices and interfaces circuits are connecting.

Database changes

No response

External dependencies

No response

Originally created by @dmulyalin on GitHub (Nov 28, 2024). ### NetBox version v4.1.7 ### Feature type New functionality ### Triage priority N/A ### Proposed functionality Add support to query over REST and GraphQL API devices and interface endpoints connected by this circuit Currently to retrieve information on what devices and interfaces given circuit connects we have to query circuit terminations and from there send REST API request to trace the path for one of the interfaces circuit termination connected to. This is because circuits can be connected to rear-ports of patch panels and not to device interfaces directly, moreover, we can have multiple circuits connected together, as a result for big number of circuits (hundreds) it takes unreasonable amount of time to retrieve information on devices and interface that those circuits connect. ### Use case To provide applications using Netbox API with a way to efficiently query Netbox to retrieve information on devices and interfaces circuits are connecting. ### Database changes _No response_ ### External dependencies _No response_
adam added the type: featurenetboxneeds milestonestatus: backlogcomplexity: high labels 2025-12-29 21:32:33 +01:00
Author
Owner

@dmulyalin commented on GitHub (Apr 9, 2025):

In addition to having an ability to query endpoints, it would be beneficial to display circuit endpoints i.e. device and port under the main circuit view instead of making users to trace the circuit every time they need this piece of information.

@dmulyalin commented on GitHub (Apr 9, 2025): In addition to having an ability to query endpoints, it would be beneficial to display circuit endpoints i.e. device and port under the main circuit view instead of making users to trace the circuit every time they need this piece of information.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10520