Automation · YANG
Operational Data
Cheat sheet · https://pcornel.dk/topic.php?topic=5636
Answer
Operational data in YANG is read-only state, marked config false, such as interface counters or neighbour tables, retrieved with get or RESTCONF GET but not configured.
Remember
- config false nodes are read-only state.
- Examples: counters and neighbour tables.
- Read them with get or RESTCONF GET.
First checks
- config false nodes — operational state
- NETCONF get / RESTCONF ?content=nonconfig — read state
- gNMI subscriptions — telemetry
Verify in this order
device state → operational nodes → read
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=5636