supervisor_failure_test - openconfig/featureprofiles GitHub Wiki
Ensure that gRIBI entries are persisted over supervisor failure.
- Connect DUT port-1 to ATE port-1, DUT port-2 to ATE port-2.
- Assign IPv4 addresses to all ports.
-
Connect gRIBI client to DUT specifying persistence mode PRESERVE,
SINGLE_PRIMARYclient redundancy in the SessionParameters request, and make it become leader. Ensure that no error is reported from the gRIBI server. -
Add 50
IPv4Entrys (starting at203.0.113.1/32) and 50IPv6Entrys (starting at2001:db8:203:0:113::1/128) pointing to ATE port-2 viagRIBI-A. Ensure that the entries are active through AFT telemetry and correct ACK is received. -
Send traffic from ATE port-1 to the 100 prefixes (50 IPv4 and 50 IPv6), and ensure traffic flows 100% and reaches ATE port-2.
-
Validate: Supervisor switchover is triggered using gNOI
SwitchControlProcessor. Ensure gRIBI entries persist over switchover and traffic contniues to be forwarded. -
Following reconnection of a gRIBI client to the new master supervisor, ensure the 100 prefixes pointing to ATE port-2 are present and traffic flows 100% from ATE port-1 to ATE port-2.
-
Add another 50
IPv4Entrys (starting at203.0.114.1/32) and 50IPv6Entrys (starting at2001:db8:203:0:114::1/128) pointing to ATE port-2. Ensure that these new entries are active through AFT telemetry and correct ACKs are received. -
Send traffic to all 200 prefixes (100 initial + 100 post-switchover) and ensure traffic flows 100% from ATE port-1 to ATE port-2.
The below yaml defines the OC paths intended to be covered by this test. OC paths used for test setup are not listed here.
paths:
## Config Parameter coverage
## Telemetry Parameter coverage
/components/component/state/last-reboot-time:
platform_type: ["CHASSIS", "CONTROLLER_CARD"]
/components/component/state/last-reboot-reason:
platform_type: ["CHASSIS", "CONTROLLER_CARD" ]
/components/component/state/redundant-role:
platform_type: [ "CONTROLLER_CARD" ]
/components/component/state/last-switchover-time:
platform_type: [ "CONTROLLER_CARD" ]
/components/component/state/last-switchover-reason/trigger:
platform_type: [ "CONTROLLER_CARD" ]
/components/component/state/last-switchover-reason/details:
platform_type: [ "CONTROLLER_CARD" ]
rpcs:
gnmi:
gNMI.Set:
gNMI.Get:
gNMI.Subscribe:
gnoi:
system.System.SwitchControlProcessor:- MFF
{}