Перейти к основному содержимому

Remove one RSVP-TE traffic stream from a running task

POST
/tasks/{id}/rsvp/stream/delete

Runtime-created streams require a persisted create journal. Startup streams use the all-zero create origin plus their saved stream name, wire flow ID and native local flow ID. Both require the full LSP identity and current profile/runtime guards. Native dry-run precedes durable admission. After dispatch, Core only reads the native delete receipt; it never retries deletion after an ambiguous response. A remote receiver should be deleted before its source so the saved traffic profile remains valid.

Контракт

Параметр
Значение
Разделtasks
АвторизацияCookieAuth
Принимаетapplication/json
Возвращаетapplication/json

Параметры

2 параметров

Имя
Где
Обязательный
Тип
Описание
idpathдаintegerTask ID
requestbodyдаobjectCreate origin, local flow ID, startup stream name/wire ID when applicable, and current guards
  • {
      "agent": "<string>",
      "expected-create-operation-id": "<string>",
      "expected-profile-revision": "<string>",
      "flow-id": 0,
      "identity": {
        "accept-detour": true,
        "endpoint": "<string>",
        "ext-tunnel-id": "<string>",
        "instance": 0,
        "kind": "p2p",
        "lsp-id": 0,
        "p2mp-id": 0,
        "send-detour": true,
        "sender": "<string>",
        "tunnel-id": 0
      },
      "operation-id": "<string>",
      "rsvp-wire-flow-id": 0,
      "runtime-generation": "<string>",
      "stream-name": "<string>"
    }

Ответы

8 ответов

Статус
Описание
Тип
202
Durable admission; poll stream/queryobject
400
Invalid stream reference or guardobject
401
Session requiredobject
403
Agent is not registered for this task or license deniedobject
404
Task, agent or stream journal not foundobject
409
Profile, runtime, binding or operation conflictobject
500
Database failureobject
502
Agent validation or response contract failureobject
  • {
      "agent": "<string>",
      "created-at": "<string>",
      "dispatched": true,
      "expected-create-operation-id": "<string>",
      "expires-at": "<string>",
      "flow-id": 0,
      "identity": {
        "accept-detour": true,
        "endpoint": "<string>",
        "ext-tunnel-id": "<string>",
        "instance": 0,
        "kind": "p2p",
        "lsp-id": 0,
        "p2mp-id": 0,
        "send-detour": true,
        "sender": "<string>",
        "tunnel-id": 0
      },
      "mode": "<string>",
      "operation-id": "<string>",
      "reason": "<string>",
      "rsvp-wire-flow-id": 0,
      "runtime-generation": "<string>",
      "status": "<string>",
      "stream-name": "<string>",
      "task-id": 0,
      "terminal": true,
      "updated-at": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }