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 clientconnection with DUT negotiatingFIB_ACKas the requested ack_type. -
Install 64 L3 sub-interfaces IP to NextHopGroup(NHGID:
1) pointing to ATE port-2 as the nexthop. -
Inject
1000IPv4Entries(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 gNOISwitchControlProcessorwhile IPBlock1 entries are only partially installed. -
Following reconnection of the
gRIBI clientto 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.
paths:
/components/component/state/last-switchover-reason/details:
platform_type: [CONTROLLER_CARD]
/components/component/state/last-switchover-reason/trigger:
platform_type: [CONTROLLER_CARD]
/components/component/state/last-switchover-time:
platform_type: [CONTROLLER_CARD]
/components/component/state/redundant-role:
platform_type: [CONTROLLER_CARD]
/components/component/state/switchover-ready:
platform_type: [CONTROLLER_CARD]
/interfaces/interface/config/description:
/interfaces/interface/config/enabled:
/interfaces/interface/config/type:
/interfaces/interface/state/last-change:
/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/config/prefix-length:
/interfaces/interface/subinterfaces/subinterface/ipv4/config/enabled:
/interfaces/interface/subinterfaces/subinterface/vlan/config/vlan-id:
/interfaces/interface/subinterfaces/subinterface/vlan/match/single-tagged/config/vlan-id:
/system/state/current-datetime:
rpcs:
gnmi:
gNMI.Get:
gNMI.Set:
gNMI.Subscribe:
gribi:
gRIBI.Flush:
gRIBI.Get:
gRIBI.Modify:{}-
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