Skip to content

Commit

Permalink
add IC utilization readme (openconfig#2273)
Browse files Browse the repository at this point in the history
* add IC utilization readme
  • Loading branch information
dplore authored Oct 26, 2023
1 parent 499f1f8 commit 0fa314f
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# IC-1: Integrated Circuit Utilization and Thresholds

## Summary

Test resource utilization and threshold for `INTEGRATED_CIRCUIT` (IC) components.

## Procedure

* IC-1.1
* Get IC component names
* Verify resource utilization and threshold leaves exist for component
type `INTEGRATED_CIRCUIT`
* IC-1.2
* Configure `used-threshold-upper` at 10% for resource IC
* Configure `used-threshold-upper-clear` at 5% for resource IC
* Verify state for the above leaves equals the configured values
* IC-1.4
* Configure ISIS and BGP on DUT and ATE
* subscribe using SAMPLE mode to `used` leaf.
* Advertise 100 IPv4 and IPv6 routes (200 total) from ATE to DUT
* Verify `used` leaf increases in value
* IC-1.5
* subscribe ON_CHANGE to `max-limit` from DUT
* subscribe ON_CHANGE to `used-threshold-upper-exceeded`
* Add more IPv4 and IPv6 routes than `max-limit` * `used-threshold-upper`
* Verify `used-threshold-upper-exceeded` upper is true
* IC-1.6
* Reduce ATE route advertisement to 100 IPv4 and IPv6 routes (200 total)
* Verify `used-threshold-upper-exceeded` upper is true

## Config Parameter Coverage

/components/component/chassis/utilization/resources/resource/config/name
/system/utilization/resources/resource/config/name/used-threshold-upper
/system/utilization/resources/resource/config/name/used-threshold-upper-clear
/system/utilization/resources/resource/

## Telemetry Parameter Coverage

/system/utilization/resources/resource/state/active-component-list
/components/component/chassis/utilization/resources/resource/state/committed
/components/component/chassis/utilization/resources/resource/state/free
/components/component/chassis/utilization/resources/resource/state/high-watermark
/components/component/chassis/utilization/resources/resource/state/last-high-watermark
/components/component/chassis/utilization/resources/resource/state/max-limit
/components/component/chassis/utilization/resources/resource/state/name
/components/component/chassis/utilization/resources/resource/state/used
/components/component/chassis/utilization/resources/resource/state/used-threshold-upper
/components/component/chassis/utilization/resources/resource/state/used-threshold-upper-clear

## Protocol/RPC Parameter Coverage

None

## Required DUT platform

This test should run on both

* MFF - A modular form factor device containing LINECARDs, FABRIC and redundant CONTROLLER_CARD components
* FFF - fixed form factor
6 changes: 6 additions & 0 deletions testregistry.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,12 @@ test: {
readme: "https://github.com/openconfig/featureprofiles/blob/d26ac7fac5406af29c9a582b8d8ee73d56953e3b/feature/experimental/system/health/tests/system_generic_health_check/README.md"
exec: " "
}
test: {
id: "IC-1"
description: "Integrated Circuit Utilization and Thresholds"
readme: "https://github.com/openconfig/featureprofiles/blob/main/feature/platform/integrated_circuit/otg_tests/utilization/README.md"
exec: " "
}
test: {
id: "DP-1.9"
description: "WRR traffic test"
Expand Down

0 comments on commit 0fa314f

Please sign in to comment.