Start scheduled OSPF flapping
POST
/tasks/flap/ospf/schedule/start/{id}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 | Task ID |
| request | body | no | object | Schedule parameters; optional {agent: hostname} selects one agent |
{}
Responses
4 responses
Status | Description | Type |
|---|---|---|
200 | Response: {status: ok} | object |
400 | Invalid task ID | object |
401 | Unauthorized | object |
500 | Task is not running, has no routing agents, or the command could not be sent | object |
{}{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }