Pcornel
Automation · Network Automation

Configuration Deployment

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

Back to the Topic

Answer

Configuration Deployment applies approved candidate configuration or structured changes to network devices/controllers with bounded scope, transaction semantics and recovery criteria.

Remember

  • Deployment job success ≠ every device changed.
  • Command/RPC accepted ≠ config persisted.
  • Config present ≠ protocol/service converged.
  • Rollback command completed ≠ previous network behavior restored.

First checks

  • ansible-playbook deploy.yml --check --diff — preview
  • Config replace vs merge strategy — approach
  • Confirmed commit/rollback timer — safety

Verify in this order

rendered config → diff → deploy → post-check → confirm

Where it usually breaks

Deployment proves the change mechanism executed against targets; closure requires independent proof of persistent effective configuration and intended network behavior.

Commit/input → runner/job → build/test artifact → deployment request → target rollout/reconcile → effective version/config → health/readiness → workload. Preserve at least three independent checks: prerequisite/interface or identity/transport state; the owning control/service/policy state; then effective data-plane, backend or workload state. A healthy upstream boundary does not prove the downstream consumer or return path.

Configuration Deployment 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=5598

Confirmation

Confirm action

Continue?