This is a test case [email protected]
[stage] - Walk, Run
[LifeCycle] - Day 0, Day 1
[Domain] - Campus/Branch
[Scenario]
[Product]
The Cisco SD-WAN software provides a REST API, which is a programmatic interface for controlling, configuring, and monitoring the Cisco SD-WAN devices in an overlay network. You access the REST API through the vManage web server. This sample code uses Go to interact with the SD-WAN REST API. This should be used with SD-WAN Release 16.9.x and Cisco SD-WAN Release 18.3.x
- Use the Cisco SD-WAN REST API to configure, control, and monitor SD-WAN devices in an overlay network.
- Use the authentication processes on different versions of the SD-WAN API.
- Establish HTTPS session to the server with a cookie example. When you use a program or script to transfer data from a vManage web server or perform operations on the server, you must first create the session to get a cookie.
- Perform the login operation and security checks on the vManage web server at the specified IP address, so that you can use the POST method to perform WAN setup and configuration.
API authentication Process
- Send POST request for authentication with vManage web server.
- Method: POST
- Request URL:
https://vmanage-ip:vmanage/j_security_check
- POST Request Payload:
{'j_username' : username, 'j_password' : password}
Getting/Printing Device Information
- Method: GET
- Request URL:
https://vmanage-ip:vmanage/dataservice/device
Requirements
To use this application you will need:
- Go version go1.11+
- Cisco SD-WAN 18+
- A Cisco SD-WAN account with permissions to attach and detach templates
forPreWhitePaperVal
forPreWhitePaperVal2
Catalyst 9800 Wireless LAN Controller
Instant, custom splash pages for WiFi access
SD-WAN