OpenConfig connectivity tests¶
make test-openconfig runs python -m lab.test_openconfig against all three EOS nodes (ceos1-both, ceos2-pqc, ceos3-qkd) on IPv4 and IPv6 (where the service binds dual-stack).
Wait times: each gNPSI Subscribe probe runs for up to 8 s; the six sequential endpoints add up to 48 s of stream capture. It may finish earlier if the stream closes. RPC/TLS checks and Docker overhead add runtime. The probe prints its window before starting; see Wait times.
Policy: TLS 1.3 with PQC-hybrid group X25519MLKEM768 on strict ssl profiles. Probes run inside arista-quantum-safe-test-runner (default PROBE_CLIENT) using gnoic, gribic, gnsic, gnmic, and OpenSSL.
What is checked¶
Per switch, in order:
| Group | [config] |
[live / test-runner] (IPv4 + IPv6 unless noted) |
|---|---|---|
| gNMI | GNMI ssl profile valid; show management api gnmi enabled |
TLS + mTLS handshake; gnmic get hostname |
| gNOI | gNOI transport via gNMI / GNMI profile |
Transport TLS; System/Ping RPC; reflection lists gnoi.system.System |
| gRIBI | GRIBI profile; listener port 9340 vrf MGMT; IPv6 :: in bind |
mTLS PQC handshake; WARN if wire classical KEX; gribic get --aft IPv4 |
| gNSI | GNSI profile; transport gnmi default on port 6030; certz + authz enabled |
mTLS on :6030; gnsic certz get-profile-list (requires -u admin) |
| gNPSI | GNPSI profile; port 6031; listen-address vrf MGMT ::; usable sFlow source on Ethernet8; counter polling 2 s |
OpenSSL mTLS wire probe; WARN if classical KEX; gnoic reflection + grpcurl Subscribe (requires nonempty base64-decoded JSON Sample.packet; FAIL if no packet within 8 s) |
| RESTCONF | RESTCONF profile; HTTPS transport |
TLS handshake :6020 |
| eos-sdk-rpc | Reuses GNMI profile; local interface Management0 |
mTLS :9543 - WARN if not PQC-safe; SKIP IPv6 (IPv4-only bind) |
gNOI, gRIBI, gNSI, and gNPSI checks live in lab.test_openconfig_grpc; gNMI, RESTCONF, and eos-sdk-rpc in lab.test_pqc_connections.
Tools in the test-runner image¶
| Tool | Used for |
|---|---|
gnmic |
gNMI GET |
gnoic |
gNOI Ping/reflection; gNPSI reflection |
gribic |
gRIBI Get |
gnsic |
gNSI Certz.GetProfileList |
openssl s_client |
TLS/mTLS handshake probes (PQC via OPENSSL_CONF) |
grpcurl |
gNPSI Subscribe on :6031; fallback when gnoic/gribic RPC fails (rebuilt with Go 1.24+ - Tool chain) |
Live checks use the PQC-capable clients above; see Tool chain for build requirements.
Pass criteria¶
[config]profiles and listeners present for each protocol that the image supports- Live KEX PQC-safe for gNMI, gNOI, gNSI Certz, gNPSI Subscribe, and RESTCONF (
X25519MLKEM768) - gRIBI and eos-sdk-rpc IPv4 WARN (not fail) when the wire is classical - see below
- eos-sdk-rpc IPv6 SKIP (IPv4-only bind)
- Subscribe requires a nonempty base64-decoded JSON
Sample.packeton stdout; RPC/JSON/base64 errors and no packet within eight seconds fail. The configured two-second polling interval supplies sFlow counter samples on an idle lab. This verifies datagram delivery; a separate traffic run is needed to establish flow sampling.
The standard suite probes positive TLS support. Separate policy probes confirm that RESTCONF accepts classical TLS 1.3 and TLS 1.2, and gRIBI accepts TLS 1.2. These are policy enforcement gaps; see the current result summary.
Expected SKIP / WARN¶
| Check | When |
|---|---|
| gNPSI mTLS / reflection (IPv4/IPv6) | PASS with hybrid KEX on 4.37.0F; a classical wire result produces WARN |
| gNPSI Subscribe (IPv4/IPv6) | PASS on all six endpoints with sflow source-interface Ethernet8 and two-second counter polling; absence of a packet fails |
| gRIBI IPv4/IPv6 | WARN when wire accepts classical KEX (secp256r1); PQC-only OpenSSL mTLS gets handshake failure |
| eos-sdk-rpc IPv4 | WARN when wire KEX is classical (secp256r1) despite PQC-only profile |
| eos-sdk-rpc IPv6 | SKIP - local interface Management0 binds primary IPv4 only |
| gNPSI (entire section) | SKIP when cEOS lacks management api gnpsi |
Manual reproduction¶
make test-openconfig
make test-openconfig VERBOSE=1
The validated EOS 4.37.0F gNSI Certz configuration uses transport gnmi default under management api gnsi (not transport grpc) and a gRPC metadata username on gnsic (-u admin; lab uses username admin nopassword):
docker exec arista-quantum-safe-test-runner gnsic -u admin -a 172.20.127.11:6030 \
--tls-ca /etc/probe/certs/radsec-ca.pem \
--tls-cert /etc/probe/certs/ceos1-both-client.pem \
--tls-key /etc/probe/certs/ceos1-both-client.key \
certz get-profile-list
Result summary (EOS 4.37.0F)¶
105 passed, 15 warnings, 3 skipped on 4.37.0F with the documented sFlow source and two-second counter polling. Warnings: gRIBI TLS/Get (12), eos-sdk-rpc IPv4 (3). Skips: eos-sdk-rpc IPv6 (3).
Same PQC-safe values as Test suite overview - Result summary for OpenConfig services:
| Service | Port | KEX used (live) | PQC-safe | Notes |
|---|---|---|---|---|
| gNMI | 6030 | X25519MLKEM768 |
Yes | mTLS + GET |
| gNOI | 6030 | X25519MLKEM768 |
Yes | Shared gNMI transport |
| gRIBI | 9340 | classical (secp256r1) |
No | Suite WARNs; OpenSSL PQC + classical diagnostic probes |
| gNSI Certz | 6030 | X25519MLKEM768 |
Yes | Shared gNMI transport; -u admin |
| gNPSI (TLS) | 6031 | X25519MLKEM768 |
Yes | Hybrid mTLS + reflection PASS; weaker offers rejected |
| gNPSI (Subscribe) | 6031 | X25519MLKEM768 |
Yes | All six endpoints deliver sFlow datagrams; actual Subscribe ServerHellos captured |
| RESTCONF | 6020 | X25519MLKEM768 |
Yes | Positive HTTPS probe; classical TLS 1.3 / TLS 1.2 also accepted |
| eos-sdk-rpc (IPv4) | 9543 | classical (secp256r1) |
No | Suite WARNs; IPv4 only |
A separate controlled check used temporary 1:1 sampling, 500 routed pings from each of three hosts, and six concurrent 8 s Subscribe windows. All six streams contained sFlow v5 flow samples as well as counter samples. Actual Subscribe ServerHellos selected TLS 1.3 / X25519MLKEM768 / TLS_AES_128_GCM_SHA256 in both the normal-rate and controlled checks. The default configuration uses 1:4096 sampling.
Configuration reference: OpenConfig & gRPC.
See also eAPI, SSH, RadSec, and Syslog for other management-plane checks.