# sdwan-application-route-policy **Repository Path**: mirrors_CiscoDevNet/sdwan-application-route-policy ## Basic Information - **Project Name**: sdwan-application-route-policy - **Description**: vManage APIs for Application Aware Routing Policies - **Primary Language**: Unknown - **License**: BSD-3-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-22 - **Last Updated**: 2026-03-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vManage APIs for Application Aware Routing Policies This public repo contains python code that can be used to interact with the `Cisco SD-WAN vManage REST API`. The environment is pre-configured to access the [Cisco DevNet Reservable Sandbox for SD-WAN](https://devnetsandbox.cisco.com/RM/Diagram/Index/c9679e49-6751-4f43-9bb4-9d7ee162b069?diagramType=Topology) fabric.You can edit the variables in the environment to point to your own vManage instance. The code contains REST API calls to authenticate, get a list of devices that are part of the SD-WAN fabric. Cisco SD-WAN vManage 19.2.2. ![Sandbox Image](./images/sdwan_sandbox.png) # Objective * How to use vManage APIs - - Monitor Application Aware Routing statistics (BFD statistics) for Overlay Tunnels - Create new SLA class list, Application Aware Routing policy and update active vSmart policy - Delete SLA class list and Application Aware Routing policy # Requirements To use this code you will need: * Python 3.7+ * vManage user login details. (User should have privilege level to configure policies) # Install and Setup - Clone the code to local machine. ``` git clone https://github.com/ciscodevnet/sdwan-application-route-policy.git cd sdwan-app-route-policy ``` - Setup Python Virtual Environment (requires Python 3.7+) ``` python3.7 -m venv venv source venv/bin/activate pip3 install -r requirements.txt ``` - A YAML file with the Cisco SD-WAN Sandbox has been created **vmanage_login.yaml** You can edit the variables in the environment to point to your own vManage instance. ## Example: ![Yaml](./images/vmanage_dest.png) ## Sample Outputs ![AppOutput](./images/average_app.png) ## Sample: Create new SLA class list, Application Aware Routing policy and update active vSmart policy ![AppOutput](./images/create_app.png) ## Sample: Delete SLA class list and Application Aware Routing policy ![AppOutput](./images/delete_app.png)