mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-31 13:03:02 +02:00
=== Get Operational
ifdef::topdoc[:imagesdir: {topdoc}../../test/case/misc/operational_all]
==== Description
For every Infix device, verify the operational datastore against the
test-config -- the running config is the source of truth, so it works
regardless of how interfaces differ between devices:
1. The operational interfaces are exactly the configured interfaces --
no missing interface, and nothing operational that was not
configured.
2. Features the test-config does not enable (NTP, containers, routing
protocols) emit no operational data.
Both checks use specific-path GETs, which behave consistently across
NETCONF and RESTCONF. A full-datastore GET is not portable: RESTCONF does
not serve the operational datastore root, and NETCONF's operational
provider errors when asked for an empty subtree.
This test has no logical topology -- it reads state from whatever Infix
DUTs the physical topology provides.
==== Sequence
. Attach to all Infix DUTs in the topology
. Verify operational interfaces match the test-config
. Verify unconfigured feature subtrees are absent