Skip to content

Commit

Permalink
TE-9.1 : FIB FAILURE DUE TO HARDWARE RESOURCE EXHAUST (#2048)
Browse files Browse the repository at this point in the history
* Initial Commit for TE-9.1

* removed commented code

* Update fib_failed_due_to_hw_res_exhaust_test.go

* Update fib_failed_due_to_hw_res_exhaust_test.go

* Added deviation

* fixing conflicts

* Adding tag

* Adding tag

* fixing fmt issues

* Updated with comments and resolved conflicts

* updated i value

* updated review comments

* changed address block  from v4 to v6

* Addressing review comments

* Addressing review comments

* updated with comments

---------

Co-authored-by: Arul Kumar Sekar <[email protected]>
  • Loading branch information
cprabha and arulkumarsekar authored Oct 9, 2023
1 parent bf99c94 commit aeaa2e5
Show file tree
Hide file tree
Showing 6 changed files with 640 additions and 35 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# TE-9.1: FIB FAILURE DUE TO HARDWARE RESOURCE EXHAUST

## Summary

Validate gRIBI FIB_FAILED functionality.

## Procedure

* Connect ATE port-1 to DUT port-1, and ATE port-2 to DUT port-2.

* Establish a gRIBI connection (SINGLE_PRIMARY and PRESERVE mode) to the DUT.

* Establish BGP session between ATE Port1 --- DUT Port1. Inject unique BGP routes to exhaust FIB on DUT.

* Continuously injecting the following gRIB structure until FIB FAILED is received.
Each DstIP and VIP should be unique and of /32. All the NHG and NH should be unique (of unique ID).
DstIP/32 -> NHG -> NH {next-hop:} -> VIP/32 -> NHG -> NH {next-hop: AtePort2Ip}

* Expect FIB_PROGRAMMED message until the first FIB_FAILED message received.

* Validate that traffic for the FIB_FAILED route will not get forwarded.

* Pick any route that received FIB_PROGRAMMED. Validate that traffic hitting the route should be forwarded to port2


## Protocol/RPC Parameter coverage

* gRIBI
* Flush

## Config parameter coverage

## Telemery parameter coverage
Loading

0 comments on commit aeaa2e5

Please sign in to comment.