Skip to content

Commit

Permalink
Update scaling test TE-14.1 (#3556)
Browse files Browse the repository at this point in the history
* Update scaling test
* Add separation to validate traffic splits

---------

Co-authored-by: nflath <[email protected]>
Co-authored-by: Xiao Wang <[email protected]>
  • Loading branch information
3 people authored Jan 6, 2025
1 parent 835c4de commit 07ae6f4
Showing 1 changed file with 22 additions and 25 deletions.
47 changes: 22 additions & 25 deletions feature/gribi/otg_tests/gribi_scaling/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,34 +10,31 @@ Validate gRIBI scaling requirements.
* Create 64 L3 sub-interfaces under DUT port-2 and corresponding 64 L3
sub-interfaces on ATE port-2
* On DUT port-1 and ATE port-1 create a single L3 interface
* On DUT, create a policy-based forwarding rule to redirect all traffic received from DUT port-1 into VRF-1 (based on src. IP match criteria)
* On DUT, create a policy-based forwarding rule to redirect all traffic received from DUT port-1 into VRF-1 (based on src. IP match 111.111.111.111)
* On DUT, create a policy-based forwarding rule to redirect all traffic received from DUT port-1 into VRF-2 (based on src. IP match 222.222.222.222)
* Establish gRIBI client connection with DUT negotiating FIBACK as the
requested ack_type and make it become leader.
* Using gRIBI Modify RPC install the following IPv4Entry sets, and validate
* [**TODO**](https://github.com/openconfig/featureprofiles/issues/3676): Using gRIBI Modify RPC install the following IPv4Entry sets, and validate
the specified behaviours:
* <Default VRF> IPv4Entries -> NHG -> Multiple NH.
* Inject IPv4Entries(IPBlockDefaultVRF: 198.18.196.1/22) in default
VRF
* Install 64 L3 sub-interfaces IP to NextHopGroup containing one
NextHop specified to ATE port-2.
* Validate that the entries are installed as FIB_PROGRAMMED
* <VRF1> IPv4Entries -> Multiple NHG -> Multiple NH.
* Inject IPv4Entries(IPBlock1: "198.18.0.1/18") in VRF1.
* Install 1000 IPs from IPBlockDefaultVRF to 10 NextHopGroups
containing 100 NextHops each
* Validate that the entries are installed as FIB_PROGRAMMED
* <VRF2> IPv4Entries -> Multiple NHG -> Multiple NH.
* Inject IPv4Entries(IPBlock2: "198.18.64.1/18") in VRF2.
* Install *repeat* 17.5K NH from 1K /32 from IPBlockDefaultVRF to 35
NextHopGroups containing 45 NextHops each
* Validate that the entries are installed as FIB_PROGRAMMED
* <VRF3> IPv4Entries -> Multiple NHG -> Multiple NH.
* Inject IPv4Entries(IPBlock3: "198.18.128.1/18") in VRF3.
* Install IPiniP decap-then-encap to 500 first /32 from <IPBlockVRF1>
to 500 NextHopGroups containing 1 NextHop each
* Validate that the entries are installed as FIB_PROGRAMMED
* TODO: Add flows destinating to IPBlocks and ensure ATEPort2 receives it with
no loss
* Default VRF
* A) Install 400 NextHops, egressing out different interfaces.
* B) Install 200 NextHopGroups. Each points at 8 NextHops from the first 200 entries of A) with equal weight.
* C) Install 200 IPv4 Entries, each pointing at a unique NHG (1:1) from B.
* D.1) Install 100 NextHops. Each will redirect to an IP from C).
* D.2) Install 100 NextHops. Each will redirect to an IP from C).
* E) Install 100 NextHopGroups. Each will contain 1 NextHops from D.1 with weights 1 and 1 NextHop from D.1 with weight 31. The backup next_hop_group will be to redirect to VRF3.
* F) Install 100 NextHopGroups. Each will contain 2 NextHops from D.1 with weights 1 abd 1 NextHop from D.2 with weight 31. The backup next_hop_group will be to decap and redirect to DEFAULT vrf.
* G) Install 700 NextHops. Each will decaps + reencap to an IP in VRF2.
* H) Install 700 NextHopGroups. Each will point to a NextHop from G) and have a backup next_hop_group to decap and redirect to DEFAULT vrf.
* VRF1
* Install 9000 IPv4Entries. Each points to a NextHopGroup from E).
* VRF2
* Install 9000 IPv4Entries (Same IPAddress as VRF1). Each points to a NextHopGroup from F).
* VRF3
* Install 9000 IPv4Entries (Same IPAddress as VRF1). Each points to a NextHopGroup from H).
* Validate that each entry above are installed as FIB_PROGRAMMED.
* **TODO**: Add flows destinating to IPBlocks and ensure ATEPort2 receives it with
no loss and proper weights

## OpenConfig Path and RPC Coverage
```yaml
Expand Down

0 comments on commit 07ae6f4

Please sign in to comment.