...
Name | In | Type | Description |
---|---|---|---|
message | body | string | error message |
GET /cgi-bin/luci/sdewan/v1/services
Lists all available sdewan services supported by SDEWAN CNF
Request: N/A
Response
...
Response Parameters
...
...
PUT /cgi-bin/luci/sdewan/v1/service/{service}/
...
Request Parameters
Name In Type Description service path string service name, valid value are "mwan3", "firewall", "ipsec" action body string action to be executed. valid value are "start", "stop", "restart", "reload" Response Example
{
"action": "start"
}
Response
- Normal response code: 200
- Error response code: 400 (e.g. invalid action)
Response Parameters
Name In Type Description result body string operation execution result Response Example
{
"actionresult": "startsuccess"
}
GET /cgi-bin/luci/sdewan/v1/services
Lists all available sdewan services supported by SDEWAN CNF
Request: N/A
Response
- Normal response codecodes: 200Error response code: 400 (e.g. invalid action)
Response Parameters
resultName In Type Description services body string operation execution resultarray a list of supported service - Response Example
result{
"
"success"services": ["mwan3", "firewall", "ipsec"]
}
MWAN3
OpenWRT MWAN3 configuration includes below sections:
...