Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

State Verification · Validation

Direct answer

State Verification proves what state a target actually exposes after automation, separating requested, accepted, observed, persistent and effective runtime state.

When to use this

Use it when gating automation around State Verification. Keep authoritative criteria, immutable source/input, exact target identity, validator version, observed/effective state and workload acceptance as separate proof boundaries.

First 30 seconds

1. State verification confirms the system behaves as intended.

2. Structured state collection.

3. Compare against expectations.

4. Automate pass/fail.

5. Keep evidence.

Operational verification

collect state → compare expected → pass/fail

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
automation validation and preflight controls
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformautomation validation and preflight controls · State Verification owns generic requested-versus-effective semantics; each platform branch owns its authoritative state APIs and runtime indicators.
Scope / prerequisiteUse it when gating automation around State Verification. Keep authoritative criteria, immutable source/input, exact tar…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

4 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Operational evidence path Verify boundary

requested intent → operation acceptance → authoritative read-back → persistent state → runtime/effective state → dependency correlation → acceptance decision

Healthy evidence: desired, persisted and runtime state are correlated by stable identity/version and mismatches are explained before acceptance.

Step 2 Known-good, broken and when it is fixed Verify boundary

Known-good means an independent read-only observation from the authoritative target matches the intended invariant for the exact object and time window, and the corresponding workload/acceptance check succeeds where state is meant to affect service. A cached controller summary is weaker than direct target read-back unless its freshness and source are confirmed.

Step 3 Failure modes and next checks Narrow the fault

Suspicious evidence: automation trusts its own request payload, stale cache or one control-plane object while effective runtime state differs.

Step 4 Native failure isolation and next-check logic Narrow the fault

When state differs, confirm you queried the correct target, namespace/VRF/tenant/object and fresh observation before changing anything. Compare desired and observed fields one by one and inspect reconciliation/apply status if the platform is eventually consistent. If state matches but the service fails, move to dependent runtime/data-path checks rather than declaring the automation wrong.

Evidence references

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.

observation · 1
Key points
  • Requested state ≠ accepted state.
  • Accepted state ≠ observed state.
  • Stored configuration ≠ effective runtime state.
  • One state surface healthy ≠ end-to-end workload path healthy.
Key checks
  • Operational state collection (pyATS/facts/API) — state
  • Expected vs actual comparison — verification
  • Evidence stored — audit
ReferenceWhat it is1 section · depth on demand

Core model

Identify the authoritative state surfaces, read them after relevant convergence, distinguish control-plane/configuration from runtime/data-plane state, correlate stable object versions, and reconcile mismatches before declaring success.

ReferenceHow it works1 section · depth on demand

How it works

State verification asks the authoritative target what exists now and compares it with the desired invariant. It differs from configuration rendering and from service testing: a rendered file may never be applied, and correct target state may still depend on unhealthy adjacent systems. Verification should identify object, scope, time and source of observation.

ReferenceImportant terms & boundaries3 sections · depth on demand

What this shows and what it does not

State Verification shows only the state surfaces actually read and correlated; it does not substitute for functional workload tests across adjacent dependencies.

In depth

In validation, state verification compares the actual state of systems after automation with the expected state, using structured data rather than eyeballing output.

expected = {"Gi1/0/10": {"vlan": 120, "status": "connected"}}
actual = parse_show_interfaces_status(conn.send_command("show interfaces status"))
mismatch = {i: (e, actual.get(i)) for i, e in expected.items() if actual.get(i, {}) | e != actual.get(i, {})}
assert not mismatch, mismatch

Verify from the system's own operational data (not from the automation's success messages), and verify the result users depend on, not just configuration presence.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docautomation validation and preflight controls current

Authoritative/upstream documentation reviewed for bounded claims in Validation > State Verification. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://json-schema.org/learn/getting-started-step-by-step · confidence 94%
Terminology layer

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.

Aliases that resolve here
state verification automationdesired vs actual stateeffective state validation
Embedded reference data

Quick lookup tables

State Verification validation proof-boundary map

Fast criteria/scope, execution and effective-outcome proof boundaries for State Verification.

BoundaryHealthy evidenceSuspicious evidence
Criteria / inputCriteria, source revision, validator and exact target identity are explicitA generic pass exists without versioned criteria or target correlation
Preconditions / operationCurrent authoritative facts are bound to the exact operationStale preflight or requested state substitutes for execution-time facts
Effective outcomeAuthoritative state/read-back and service-relevant evidence match the expected resultTool/test/validator success substitutes for effective target or workload proof
Limits / next actionCoverage limits, unknowns and failures drive the next narrower checkUnknown evidence becomes pass, retries hide failures or broad success is inferred from one check
Confirmation

Confirm action

Continue?