RecordSubscribeIdleTimeout - openconfig/featureprofiles GitHub Wiki
Test RecordSubscribe connection termination after idle timeout following 1 RecordSubscribe RPC and 1 idle timeout refresh RPC
- Establish gNSI connection
- Call gnsi.acctz.v1.Acctz.RecordSubscribe with RecordRequest.timestamp = now()
- Discard received records
- wait until nearly the idletimeout period (default: 120 seconds)
- Call gnsi.acctz.v1.Acctz.RecordSubscribe with RecordRequest.timestamp = now()
- Discard received records
- Wait at least longer than the idletimeout period
- Verify that the DUT closes the gNSI connection at or shortly after the idletimeout period.
The below yaml defines the OC paths intended to be covered by this test. OC paths used for test setup are not listed here.
TODO(OCRPC): Record may not be complete
paths:
rpcs:
gnsi:
acctz.v1.Acctz.RecordSubscribe:
vRX