Skip to content

REST API: GET /api/dcim/interface-connections/ doesn't show connections #6081

@proudbro

Description

@proudbro

NetBox version

v2.10.8

Python version

3.6

Steps to Reproduce

  1. Create test device "TEST" with interfaces components
  2. Create cable connections for interfaces of test device with any other devices
  3. Try to GET <your.netbox.url>/api/dcim/interface-connections/?device=TEST OR GET <your.netbox.url>/api/dcim/interface-connections/?device_id=<id>

Expected Behavior

The list of connections of our TEST device with connected devices

Observed Behavior

Empty list of connections

HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 0,
    "next": null,
    "previous": null,
    "results": []
}

This worked for sure in Netbox v2.6.6

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: 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