Replies: 1 comment
-
@omri-ice seems you've run into the limitation that FR #8580 hopes to solve. Please let us know if you have any input on that issue! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Everybody!
I've been working with the API trying to filter out any free interfaces on a given device, I've looked into the cabled and connected filters and it seems that cabled is behaving as expected (filters interfaces with an actual cable connected).
My issue is with the connected filter, it only accounts for interfaces with an active path but ignores any interface with the marked_connected value set (no actual cable object but we know it's connected to something).
Is that the expected behavior?
As I see it connected either matches against the _occupied value as well or we should have another field for the occupied value?
API call example:
/api/dcim/interfaces/?kind=physical&type=1000base-t&mgmt_only=false&brief=true&connected=false
Response (truncated and redacted)
Beta Was this translation helpful? Give feedback.
All reactions