SDEWAN is implemented as CNF based on OpenWRT and it will support below functionalities:

SDEWAN Service

SDEWAN service restful API provides the capability to list available SDEWAN services, get service status and execute service operation.

Common Error code:

CodeDescription
400Bad request
401unauthorized -the security token is not provides or expired.
404resource not found

Error Response:

NameInTypeDescription
messagebodystringerror message



GET /cgi-bin/luci/sdewan/v1/services

Lists all available sdewan services supported by SDEWAN CNF

Request: N/A

Response


PUT /cgi-bin/luci/sdewan/v1/service/{service}/

Execute a operation for a service

Request: 

Response


MWAN3

OpenWRT MWAN3 configuration includes below sections:

SDEWAN CNF will be created with Global and Interface sections initialized based on CNF allocated interfaces.

SD-EWAN MWAN3 CNF API provides support to get/create/update/delete MWAN3 Rule, Policy (with Member).

MWAN3 Policy

GET /cgi-bin/luci/sdewan/mwan3/v1/policies

Lists all defined policies

Request: N/A

Response


GET /cgi-bin/luci/sdewan/mwan3/v1/policy/{policy}

Get a policy

Request: N/A

Response

POST /cgi-bin/luci/sdewan/mwan3/v1/policy

create a new policy

Request:

Response


PUT /cgi-bin/luci/sdewan/mwan3/v1/policy/{policy}

update a policy

Request:

Response


DELETE /cgi-bin/luci/sdewan/mwan3/v1/policy/{policy}

delete a policy

Request:

Response


MWAN3 Rule

GET /cgi-bin/luci/sdewan/mwan3/v1/rules

Lists all defined rules

Request: N/A

Response


GET /cgi-bin/luci/sdewan/mwan3/v1/rule/{rule}

Get a rule

Request: N/A

Response

POST /cgi-bin/luci/sdewan/mwan3/v1/rule

create a new rule

Request:

Response


PUT /cgi-bin/luci/sdewan/mwan3/v1/rule/{rule}

update a policy

Request:

Response


DELETE /cgi-bin/luci/sdewan/mwan3/v1/rule/{rule}

delete a rule

Request:

Response

Firewall

OpenWRT Firewall configuration includes below sections:

SDEWAN CNF will be created with Default sections initialized.

SD-EWAN Firewall API provides support to get/create/update/delete Firewall Zone, Redirect, Rule and Forwardings

Zone


Redirect


Rule


Forwarding