Use it as the frame for any automation job — and when a script works on one device and fails on the next.
Network Automation
SoT → render → validate → deploy (diff) → verify state
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Operational evidence path Verify boundary
intent/change request → source of truth/revision → inventory/target selection → transport/API/model/capability → generated operation → device acceptance → persisted/effective state → operational/data-plane validation → evidence archive
Healthy evidence: the exact targets and inputs are known, operations are traceable per device, resulting state is read back and independent network acceptance checks match the intended outcome.
Step 2 Target-state verification ladder Verify boundary
Network Automation uses a strict target-state ladder for network config/API change: request accepted → job/task succeeded → target object changed → effective runtime state confirmed → original workload verified.
Step 3 Failure modes and next checks Narrow the fault
Suspicious evidence: a green job or returned payload is treated as success without proving actual target selection, persistence, operational state or end-to-end network behavior.
It does not show every adjacent device, protocol dependency, traffic path or future network condition. A completed automation run shows only the recorded automation path and device responses, but it does not show convergence, persistence, end-to-end forwarding, policy correctness or future network health.
Next check: Continue from the first step that has not been verified: reproduce the same source revision, inventory selection and target context, preserve the raw management operation and response, then read back effective device state and rerun the original bounded network acceptance test before retrying or widening scope.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
Subtopics
Go one level deeper into this subject.
Network Automation Fundamentals defines the core operating model for safely automating network discovery, configuration, validation and recovery across heterogeneous devices and control planes.
Subtopic Device InventoryDevice Inventory is the authoritative automation view of network targets, identities, addresses, platform metadata, groups and variables used to select and parameterize work.
Subtopic SSH AutomationSSH Automation uses authenticated encrypted sessions to execute network management operations, commonly CLI commands or subsystem protocols, against selected devices.
Subtopic CLI AutomationCLI Automation drives device command-line interfaces programmatically while handling prompts, privilege modes, command ordering, parsing and platform-specific output.
Subtopic API AutomationAPI Automation uses structured device or controller APIs to query and modify network resources through explicit endpoints, schemas, authentication and response semantics.
Subtopic NETCONFNETCONF in Network Automation is the model-driven management interface used to retrieve and edit YANG-modeled configuration and state over a capability-negotiated session.
Subtopic RESTCONFRESTCONF in Network Automation exposes YANG-modeled network configuration and operational resources through HTTP-based resource operations.
Subtopic YANGYANG in Network Automation provides the data-model contract that gives structured network configuration and state predictable paths, types, constraints and module identities.
Subtopic SNMP AutomationSNMP Automation uses MIB/OID-based polling or controlled set operations to collect or modify network management data within SNMP security and access constraints.
Subtopic Configuration BackupConfiguration Backup automates collection and retention of device configuration snapshots with enough identity, timestamp and integrity context to support recovery, audit and comparison.
Subtopic Configuration GenerationConfiguration Generation transforms authoritative intent, inventory and variables into candidate device-specific configuration or structured payloads before deployment.
Subtopic Configuration DeploymentConfiguration Deployment applies approved candidate configuration or structured changes to network devices/controllers with bounded scope, transaction semantics and recovery criteria.
Subtopic Configuration ValidationConfiguration Validation checks candidate or deployed network configuration against syntax, schema, policy, intent and selected operational invariants before or after change.
Subtopic Compliance CheckingCompliance Checking compares network configuration or state against explicit technical policies, baselines or required controls and records exceptions with scope and evidence.
Subtopic Network State CollectionNetwork State Collection gathers operational network facts such as interfaces, neighbors, routes, sessions, counters and controller/device status for verification, inventory enrichment and decision-making.
Subtopic Network TestingNetwork Testing automates bounded checks of reachability, protocol state, configuration intent, path behavior or service acceptance before and after network changes.
Subtopic Network Automation TroubleshootingNetwork Automation Troubleshooting isolates failures across source data, target selection, transport/API/model, generated operations, device responses, parsing, persistence and network acceptance without changing unrelated layers.
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.
ansible-inventory -i netbox.yml --graph— device inventory from SoTansible network -m cisco.ios.ios_facts— gather facts- Config backup job status — safety net
ReferenceWhat it is1 section · depth on demand
Core model
Treat the workflow as an evidence chain from intended change and source-of-truth through target selection, transport/API/model resolution, generated payload, device response, persisted state and independent operational validation.
ReferenceWhy it matters1 section · depth on demand
How it works in operation
Path: Automation → Network Automation. Local intent: Network Automation applies repeatable, machine-driven workflows to network intent, inventory, configuration, operational state and verification while keeping device acceptance and end-to-end network behavior as independent limits of what the checks show.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
A completed automation run shows only the recorded automation path and device responses, but it does not show convergence, persistence, end-to-end forwarding, policy correctness or future network health.
In depth
Network automation applies software practices to network operations: devices are configured from templates and a source of truth, changes are tested and deployed by tools, and network state is collected and verified automatically.
| Area | Tools |
|---|---|
| Source of truth | NetBox, Nautobot, YAML in Git |
| Configuration | Ansible, Nornir, Terraform providers |
| Device access | SSH (Netmiko/Scrapli), NETCONF, RESTCONF, gNMI |
| Validation | Batfish, pyATS, SuzieQ |
| Observability | Streaming telemetry, SNMP |
Start with read-only tasks — backups, inventory, compliance reports — before automating changes.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Lowest-Good remediation source for Network Automation. Documentation authority supports bounded reference claims only; it is not observed lab/production Evidence.
Basis: https://developer.cisco.com/docs/network-automation-delivery-model/network-automation-delivery-model/ · confidence 94%What changed and what may be affected
Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.
Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Network Automation Network Automation proof-boundary map
Fast intent/scope, management-operation, device-state and network-acceptance boundaries for Network Automation.
| 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 |
Deep reference
Healthy vs suspicious evidence
Interpret per-device execution, diff and operational read-back
Network Automation output must remain per device and per change boundary. Aggregate success can hide one unreachable or failed node, and a configuration write can succeed while the intended forwarding/control-plane state does not. Preserve stable device identity, platform/version, transport/model, proposed/applied diff, execution state and independent operational read-back.
Normalized fleet result:
change_id=chg-20260916-42 targets=4
r1 changed=true failed=false diff="ntp server 192.0.2.10 -> 192.0.2.20" readback=ok
r2 changed=false failed=false diff="none (already desired)" readback=ok
r3 changed=false failed=true stage=commit error="lock denied" readback=old_state
r4 unreachable=true transport=ssh readback=not_observed
summary: converged=2 failed=1 unreachable=1
Interpret changed=false carefully: it can mean already compliant, skipped, no matching target or a failure before mutation; use the per-device reason and read-back. A generated diff is a pre-change artifact until the device confirms the write/commit. failed=true should name the stage—transport, validation, lock, edit/commit, controller task or verification—so remediation starts at the correct boundary. Unreachable is not a configuration failure and must not be counted as verified unchanged. After successful mutation, read the authoritative configuration/state from the same device identity and then verify the operational property that motivated the change (for example neighbor/session/route/policy/telemetry state). For a partial fleet, retry only the unresolved set after current state is rediscovered; do not blindly replay the full fleet and overwrite already-converged devices.