Pcornel
Automation · NETCONF

candidate

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

Back to the Topic

Answer

The candidate datastore holds staged configuration changes that do not affect the device until a commit copies them to running, letting several edits be applied together or discarded.

Remember

  • Candidate holds staged changes.
  • Nothing applies until commit.
  • discard-changes drops staged edits.

First checks

  • :candidate capability — support
  • edit-config target=candidate → validate → commit — transaction
  • discard-changes on failure — cleanup

Verify in this order

edit candidate → validate → commit (confirmed) → confirm

Where it usually breaks

Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5609

Confirmation

Confirm action

Continue?