Skip to content

Commit

Permalink
OTG Test - Gnmi-1.5 Telemetry: Port Speed Test (openconfig#2297)
Browse files Browse the repository at this point in the history
* initial ATE test copy

* otg related changes

* removed the ate command

* PR reviews addressed

* removed the deviation for setting the link down in kne

* PR review addressed
  • Loading branch information
octpetre authored Jan 24, 2024
1 parent 550da9b commit 0bb4cba
Show file tree
Hide file tree
Showing 3 changed files with 523 additions and 0 deletions.
39 changes: 39 additions & 0 deletions feature/gnmi/otg_tests/telemetry_port_speed_test/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# gNMI-1.5: Telemetry: Port Speed Test

## Summary

Validate port speed telemetry used by controller infrastructure.

## Procedure

* For each port speed to be supported by the device:
* Connect single port to ATE, validate that the port speed reported in
telemetry is the expected port speed.
* Turn port down at ATE, validate that operational status of the port is
reported as down.
* For each port speed to be supported by the device:
* Connect N ports between ATE and DUT configured as part of a LACP bundle.
Validate /interfaces/interface/aggregation/state/lag-speed is reported
as N*port speed.
* Disable each port at ATE and determine that the effective speed is
reduced by the expected amount.
* Turn ports sequentially up at the ATE, and determine that the effective
speed is increased as expected.

## Config Parameter Coverage

TBD

## Telemetry Parameter Coverage

/interfaces/interface/state/oper-status
/interfaces/interface/ethernet/state/port-speed
/interfaces/interface/aggregation/state/lag-speed

## Protocol/RPC Parameter Coverage

No new protocol coverage.

## Minimum DUT platform requirement

vRX
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# proto-file: github.com/openconfig/featureprofiles/proto/metadata.proto
# proto-message: Metadata

uuid: "352d6fc8-5245-419a-9ae9-7da432a46cdf"
plan_id: "gNMI-1.5"
description: "Telemetry: Port Speed Test"
testbed: TESTBED_DUT_ATE_2LINKS
platform_exceptions: {
platform: {
vendor: CISCO
}
deviations: {
ipv4_missing_enabled: true
}
}
platform_exceptions: {
platform: {
vendor: NOKIA
}
deviations: {
explicit_port_speed: true
explicit_interface_in_default_vrf: true
aggregate_atomic_update: true
interface_enabled: true
}
}
platform_exceptions: {
platform: {
vendor: ARISTA
}
deviations: {
aggregate_atomic_update: true
interface_enabled: true
default_network_instance: "default"
}
}
Loading

0 comments on commit 0bb4cba

Please sign in to comment.