base_leader_election_test - bstoll/featureprofiles GitHub Wiki
Validate Election ID is accepted from a gRIBI client.
-
Connect DUT port-1 to ATE port-1, DUT port-2 to ATE port-2, DUT port-3 to ATE port-3. Assign IPv4 addresses to all ports.
-
Establish two gRIBI clients to the DUT (referred to as
gRIBI-AandgRIBI-B). -
Connect
gRIBI-Ato DUT specifyingPRESERVEpersistent mode,SINGLE_PRIMARYclient redundancy in the SessionParameters request. Ensure that no error is reported from the gRIBI server. -
Connect
gRIBI-Bto DUT specifyingPRESERVEpersistent mode,SINGLE_PRIMARYclient redundancy and make it become leader. -
Add an
IPv4Entryfor198.51.100.0/24pointing to ATE port-3 viagRIBI-B, ensure that the entry is active through AFT telemetry and traffic. -
Add an
IPv4Entryfor198.51.100.0/24pointing to ATE port-2 viagRIBI-A, ensure that the entry is ignored by the DUT. -
Make
gRIBI-Abecome leader, followed by aModifyRequestupdating198.51.100.0/24pointing to ATE port-2, ensure that routing is updated to receive packets for198.51.100.0/24at ATE port-2.
- gRIBI
- ModifyRequest
- SessionParameters:
- redundancy
- SessionParameters:
- ModifyRequest