Pcornel
Automation · Network Automation

Network Automation Fundamentals

Cheat sheet · https://pcornel.dk/topic.php?topic=5587

Back to the Topic

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

BoundaryHealthy evidenceSuspicious evidence
Intent / scopeSource revision and exact targets are explicitStale inventory, hidden selector or wrong variables change scope
Management operationTransport/model/payload and per-device response are traceableAuth/capability/parser differences hide partial or wrong execution
Device stateEffective and persistent state are read backAccepted config/API result is mistaken for convergence
Network proofOriginal control/data-plane or service test passesAutomation 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

Confirmation

Confirm action

Continue?