Network Automation Fundamentals
Cheat sheet · https://pcornel.dk/topic.php?topic=5587
Answer
Network automation is changing and checking network devices with code instead of by hand: an inventory says which devices exist, a transport reaches them (SSH, NETCONF, RESTCONF, an API), and each change is shown as a diff, applied and then verified.
Remember
Most failures are inventory and access: wrong address, wrong platform type, missing credentials or a transport that is not enabled. Always run a dry run with a diff before applying. Verify the result on the device, not in the tool's return code.
First checks
- Automation use cases ranked (backup, compliance, provisioning) — roadmap
- Read-only automation first — low risk
- Change automation with verification — maturity
Verify in this order
read-only → generate → change with checks
Where it usually breaks
Automation fundamentals close only when both the automation result and independent network acceptance are proven; neither one substitutes for the other.
Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.
Network Automation Fundamentals Network Automation proof-boundary map
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Intent / scope | Source revision and exact targets are explicit | Stale inventory, hidden selector or wrong variables change scope |
| Management operation | Transport/model/payload and per-device response are traceable | Auth/capability/parser differences hide partial or wrong execution |
| Device state | Effective and persistent state are read back | Accepted config/API result is mistaken for convergence |
| Network proof | Original control/data-plane or service test passes | Automation summary substitutes for actual network acceptance |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5587