REST API: Cable patching #17893
Replies: 2 comments
-
Meanwhile I've invented workaroud see you soon in bugs. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Fixed in 3.7.8 |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Netbox 3.7.4. When you delete connected interface/port the cable is loosing one of the terminations. After you PATCH the missed termination you get interface/port without "Connection" and you can't trace it. Trying to directly PATCH interface/port you can't set "connected_endpoints" attribute. How to fix it? Recreating the cable is not an option.
GET /api/dcim/power-ports/501/
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS, TRACE
Content-Type: application/json
Vary: Accept
{
...
"link_peers_type": "dcim.poweroutlet",
"connected_endpoints": null,
"connected_endpoints_type": null,
"connected_endpoints_reachable": null,
But both cable-terminations are exist:
Beta Was this translation helpful? Give feedback.
All reactions