Skip to main content

Check the saved control-plane baseline before RSVP-TE Apply Changes

POST
/tasks/{id}/rsvp/profile/check

Compares 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
Sectiontasks
AuthenticationCookieAuth
Consumesapplication/json
Producesapplication/json

Parameters

2 parameters

Name
Location
Required
Type
Description
idpathyesintegerCanonical positive task ID
requestbodyyesobjectRegistered 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 revisionobject
400
Malformed or oversized baselineobject
401
Session requiredobject
403
Agent not registered for this taskobject
404
Task not foundobject
409
Task not running or saved profile changedobject
500
Database or profile failureobject
502
Invalid registered agent addressobject
  • {
      "profile-revision": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }