Skip to main content

Start scheduled BGP neighbor moves

POST
/tasks/routing/move/schedule/start/{id}

The first move from → to runs immediately, then every interval_sec seconds the router moves back (to → from, from → to, and so on). The next move starts no earlier than the previous one has been measured. Fields as for a single move plus interval_sec (at least 10). The schedule stops with the stop command or when the task ends.

Contract

Parameter
Value
Sectiontasks
AuthenticationCookieAuth
Consumesapplication/json
Producesapplication/json

Parameters

2 parameters

Name
Location
Required
Type
Description
idpathyesintegerTask ID
requestbodyyesobjectfrom, to, from_interface, to_interface, measure_timeout_sec, interval_sec
  • {}

Responses

5 responses

Status
Description
Type
200
Response: {status: started, interval_sec}object
400
Invalid request body or interval_sec is less than 10object
401
Unauthorizedobject
409
The schedule is already running or a single move is in progressobject
500
Task is not runningobject
  • {}
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }