route_removal_during_failover_test - openconfig/featureprofiles GitHub Wiki
Validate gRIBI route flush during SSO
-
Connect ATE port-1 to DUT port-1, and ATE port-2 to DUT port-2.
-
Create 64 L3 sub-interfaces under DUT port-2 and corresponding 64 L3 sub-interfaces on ATE port-2.
-
Establish
gRIBI client
connection with DUT negotiatingFIB_ACK
as the requested ack_type. -
Install 64 L3 sub-interfaces IP to NextHopGroup(NHGID:
1
) pointing to ATE port-2 as the nexthop. -
Inject
1000
IPv4Entries(IPBlock1:198.18.196.1/22
) in default VRF with NHGID:1
. -
Validate that the entries are installed as FIB_PROGRAMMED using getRPC.
-
Send traffic from ATE port-1 to prefixes in IPBlock1 and ensure traffic flows 100% and reaches ATE port-2.
-
Start flushing IPv4Entries((IPBlock1:
198.18.196.1/22
) in default VRF with NHGID:1
. Concurrently, trigger a supervisor switchover using gNOISwitchControlProcessor
while IPBlock1 entries are only partially installed. -
Following reconnection of the
gRIBI client
to a new master supervisor, validate if partially deleted entries of IPBlock1 are not present in the FIB using a get RPC. -
Check for coredumps in the DUT and validate that none are present post failover.
-
Re-inject IPBlock1 in default VRF with NHGID:
1
. -
Send traffic from ATE port-1 to prefixes in IPBlock1 and ensure traffic flows 100% and reaches ATE port-2.
rpcs:
gnmi:
gNMI.Get:
gNMI.Set:
gNMI.Subscribe:
gribi:
gRIBI.Get:
gRIBI.Modify:
gRIBI.Flush:
-
CHASSIS:
- /components/component[name=]/state/last-reboot-time
- /components/component[name=]/state/last-reboot-reason
-
CONTROLLER_CARD:
- /components/component[name=]/state/redundant-role
- /components/component[name=]/state/last-switchover-time
- /components/component[name=]/state/last-switchover-reason/trigger
- /components/component[name=]/state/last-switchover-reason/details
- /components/component[name=]/state/last-reboot-time
- /components/component[name=]/state/last-reboot-reason