All scripts
sdwan
Expert
5–15 min

Cisco vManage Policy Deployer

App-aware routing policy lifecycle: SLA class creation, app-route sequence push, site-list attach, policy activation via the vManage REST API with pre/post SLA verification.

Cisco SD-WAN (vManage)
Open in GeneratorOpen in Platform
You're viewing a preview

The full script, parameters, and execution console are available with a free account.

Already have access? Sign in →

Capabilities

  • vManage session + token auth
  • SLA class CRUD
  • App-route sequence builder
  • Site-list attach
  • Policy activate/rollback
  • Pre/post SLA verify
  • Activation audit log

Required inputs

Parameters the script accepts. Defaults shown; some are vendor- or context-gated.

ParameterTypeDefaultNotes
SLA max loss (%)
sla_loss
number2
SLA max latency (ms)
sla_latency
number150
SLA max jitter (ms)
sla_jitter
number30
Policy name
policy_name
stringAPP_ROUTE_PROD

Hint 1Name your vendors and OS versions

Mention the exact platforms you run (Cisco SD-WAN (vManage)) so the generated sd-wan logic uses the right CLI/NETCONF syntax.

Hint 2State your real thresholds

Provide concrete values for SLA max loss (%), SLA max latency (ms), SLA max jitter (ms) instead of the defaults — they shape what counts as a fault.

Hint 3Prioritize the checks you need

This tool can vManage session + token auth and sLA class CRUD. Ask for the subset relevant to your incident to keep output focused.

Hint 4Describe your inventory format

Tell the assistant whether your device list is CSV, YAML, or JSON and which columns it has, so parsing matches your data.

Sample inventory schema

Authoritative shape of the device/policy data this script consumes.

No bundled inventory sample. The script accepts standard device lists (CSV/YAML) with hostname, mgmt IP, vendor, and credentials.

Expected output

Reference terminal output the script should produce — used as a stylistic and structural target.

terminal
[2026-06-12] INFO  Authenticating to vManage (j_security_check + XSRF token)...
  Created SLA class 'GOLD' loss<=2% lat<=150ms jit<=30ms
  Built app-route seq: voice/video→biz-internet, default→mpls
[DRY-RUN] policy APP_ROUTE_PROD → 14 sites (no activation)
[APPLY]   policy activated · push id 0xa19f · 14/14 sites OK
Post-check: 14 sites within SLA · 0 breaches