Network Automation: APIs, JSON, and YANG
Why automation?
Automation improves repeatability and reduces configuration drift. Common interfaces include REST APIs, NETCONF, RESTCONF, and model-driven telemetry. JSON is a data format; YANG is a data-modeling language. These are related but not interchangeable.
Example JSON payload:
{
"hostname": "edge-01",
"site": "branch-a",
"role": "router"
}
Use read-only API calls first, store credentials securely, validate schemas, and log changes. Confirm which APIs and data models are supported on the specific IOS XE release.
Quick revision
- Explain the concept in your own words.
- Run the relevant verification commands in a lab.
- Record one common failure and how you would isolate it.
Want to learn this professionally?
Explore practical IT training at Cyber Code Academy.
View Academy Courses