Check the saved control-plane baseline before RSVP-TE Apply Changes
POST
/tasks/{id}/rsvp/profile/checkCompares the exact saved task control-plane supplied by the UI with the current RUNNING task and returns its profile revision. The request is read-only and is not journaled. A later Path group must submit this revision; the durable batch admission rechecks it under the task row lock. The body is bounded to 1 MiB.
Contract
Parameter | Value |
|---|---|
| Section | tasks |
| Authentication | CookieAuth |
| Consumes | application/json |
| Produces | application/json |
Parameters
2 parameters
Name | Location | Required | Type | Description |
|---|---|---|---|---|
| id | path | yes | integer | Canonical positive task ID |
| request | body | yes | object | Registered routing agent and saved control-plane baseline |
{ "agent": "<string>", "saved-control-plane": [ { "access": [ 0 ], "agent": { "id": 0 }, "bfd": [ 0 ], "bgp": [ 0 ], "evpn": [ 0 ], "fec129": [ 0 ], "igmp": [ 0 ], "igmp-querier": [ 0 ], "interfaces": [ [ 0 ] ], "isServer": true, "isis": [ 0 ], "ldp": [ 0 ], "link-oam": [ 0 ], "mld": [ 0 ], "mld-querier": [ 0 ], "mldp": [ 0 ], "mpls-oam": [ 0 ], "mpls-tp": [ 0 ], "ospf": [ 0 ], "pim": [ 0 ], "pseudowire": [ 0 ], "rip": [ 0 ], "rsvp": [ 0 ], "streams": [ 0 ], "traffic": [ 0 ], "vpls": [ 0 ], "vpws": [ 0 ] } ] }
Responses
8 responses
Status | Description | Type |
|---|---|---|
200 | Current matching profile revision | object |
400 | Malformed or oversized baseline | object |
401 | Session required | object |
403 | Agent not registered for this task | object |
404 | Task not found | object |
409 | Task not running or saved profile changed | object |
500 | Database or profile failure | object |
502 | Invalid registered agent address | object |
{ "profile-revision": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }