Automation · NETCONF
Datastores
Cheat sheet · https://pcornel.dk/topic.php?topic=5607
Answer
NETCONF datastores are separate copies of configuration: running (active), candidate (staged changes) and startup (loaded at boot). Which ones exist depends on the device's capabilities.
Remember
- running is active, candidate is staged, startup loads at boot.
- Not every device supports candidate.
- Capabilities in hello show support.
First checks
- Supported datastores (capabilities) — running, candidate, startup
- NMDA operational datastore — state
Verify in this order
edit → candidate/running → commit → running
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=5607