ordering_ack_test - bstoll/featureprofiles GitHub Wiki
Ensure that acknowledgements are sent as is expected by gRIBI controller.
- Configure ATE port-1 connected to DUT port-1, and ATE port-2 to DUT port-2.
- Connect to the gRIBI server running on DUT, negotiating
RIB_AND_FIB_ACK
as the requestedack_type
and persistence modePRESERVE
. Make it become leader. Flush all entries after each case. - Install the following entries and determine whether the expected result is
observed:
- A
NextHopGroup
referencing aNextHop
is responded to with FIB ACK, and is reported through the AFT telemetry. - A single
ModifyRequest
with the following ordered operations is responded to with an error:- An
AFTOperation
containing anIPv4Entry
referencingNextHopGroup
10. - An
AFTOperation
containing aNextHopGroup id=10
.
- An
- A single
ModifyRequest
with the following ordered operations is installed (verified through telemetry and traffic):- An
AFTOperation
containing aNextHopGroup
10 pointing to aNextHop
to ATE port-2. - An
AFTOperation
containing aIPv4Entry
referencingNextHopGroup
10.
- An
- A single
ModifyRequest
with the following ordered operations is installed (verified through telemetry and traffic):- An AFT entry adding
IPv4Entry 203.0.113.0/24
. - An AFT entry deleting
IPv4Entry 203.0.113.0/24
. - An AFT entry adding
IPv4Entry 203.0.113.0/24
.
- An AFT entry adding
- A
N/A
N/A
- gRIBI
- ModifyRequest:
- SessionParameters:
- ack_type
- SessionParameters:
- ModifyRequest: