-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added IC-1: Test aggregate drop counters for control-plane traffic test
- Loading branch information
1 parent
8e85f9e
commit 3a8aa22
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
feature/platform/integrated_circuit/pipeline-counters/control-plane/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# IC-1: Test aggregate drop counters for control-plane traffic | ||
|
||
## Summary | ||
This is to test the different control-plane counters under the pipeline container. | ||
|
||
|
||
## Procedure | ||
|
||
* Test environment setup | ||
```mermaid | ||
graph LR; | ||
A[ATE1:interface1] <-- L3 connection --> B[interface1:DUT]; | ||
``` | ||
* Make a L3 connection between the ATE and the DUT. This doesnt have to be a lag bundle. | ||
* IC-1.0.1 - Exercise aggregate counters | ||
* Generate significant amount of traffic with the IP Options field set. This can be Option type 7 for record route. Also set the TTL of the packet to "1". | ||
* Check changes in the different state paths under the pipeline-counters container. | ||
* Check if the NOS has support for the leaves under the `vendor` container to identify the type of packet causing Queue increase as well as changes in the drop counters. | ||
## OpenConfig Path and RPC Coverage | ||
This example yaml defines the OC paths intended to be covered by this test. OC paths used for test environment setup are not required to be listed here. | ||
```yaml | ||
paths: | ||
# interface configuration | ||
/components/component/integrated-circuit/pipeline-counters/control-plane-traffic/state/dropped-aggregate | ||
/components/component/integrated-circuit/pipeline-counters/control-plane-traffic/state/dropped-bytes-aggregate | ||
/components/component/integrated-circuit/pipeline-counters/control-plane-traffic/state/queued-aggregate | ||
/components/component/integrated-circuit/pipeline-counters/control-plane-traffic/state/queued-bytes-aggregate | ||
/components/component/integrated-circuit/pipeline-counters/control-plane-traffic/vendor | ||
rpcs: | ||
gnmi: | ||
gNMI.Set: | ||
union_replace: true | ||
gNMI.Subscribe: | ||
on_change: true | ||
``` |