Skip to main content

Control selected RSVP-TE protocol instances

POST
/tasks/{id}/rsvp/protocol/sessions/control

Selects 1-64 profile-indexed protocol instances by an array or semicolon-separated range string. All selected sessions are read and generation-checked before ordered dispatch through the existing agent CPF control. A failed or uncertain member stops further dispatch; response records accepted, failed, unknown and not-attempted members. Never retry an unknown result without querying current state. This local index scheme is not claimed to match exact IxNetwork device numbering or atomicity.

Contract

Parameter
Value
Sectiontasks
AuthenticationCookieAuth
Consumesapplication/json
Producesapplication/json

Parameters

2 parameters

Name
Location
Required
Type
Description
idpathyesintegerCanonical positive task ID
requestbodyyesobjectAgent, profile revision, runtime generation, session indices and CPF action
  • {
      "action": "stop",
      "agent": "<string>",
      "expected-profile-revision": "<string>",
      "runtime-generation": "<string>",
      "session-indices": {}
    }

Responses

9 responses

Status
Description
Type
200
All selected instances acceptedobject
207
Partial or unknown resultobject
400
Invalid selectionobject
401
Session requiredobject
403
Agent not registered for this taskobject
404
Task not foundobject
409
Profile, task or runtime generation changed before dispatchobject
500
Task lookup failedobject
502
Agent preflight read failedobject
  • {
      "action": "<string>",
      "agent": "<string>",
      "members": [
        {
          "http-status": 0,
          "index": 0,
          "instance": 0,
          "response": {},
          "status": "accepted"
        }
      ],
      "profile-revision": "<string>",
      "runtime-generation": "<string>",
      "state": "complete",
      "task-id": 0
    }
  • {
      "action": "<string>",
      "agent": "<string>",
      "members": [
        {
          "http-status": 0,
          "index": 0,
          "instance": 0,
          "response": {},
          "status": "accepted"
        }
      ],
      "profile-revision": "<string>",
      "runtime-generation": "<string>",
      "state": "complete",
      "task-id": 0
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }