Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OTG Test - Gnmi-1.5 Telemetry: Port Speed Test #2297

Merged
merged 29 commits into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
beba709
initial ATE test copy
octpetre Oct 19, 2023
4819e05
Merge branch 'openconfig:main' into gnmi-1.5
octpetre Oct 25, 2023
288dbb7
otg related changes
octpetre Oct 25, 2023
74457e4
removed the ate command
octpetre Oct 25, 2023
b38729a
Merge branch 'main' into gnmi-1.5
octpetre Oct 26, 2023
6217e67
Merge branch 'main' into gnmi-1.5
octpetre Nov 1, 2023
1959e08
Merge branch 'main' into gnmi-1.5
octpetre Nov 6, 2023
8cadcaa
Merge branch 'main' into gnmi-1.5
octpetre Nov 8, 2023
c5a6d59
Merge branch 'main' into gnmi-1.5
octpetre Nov 9, 2023
9e7900f
Merge branch 'main' into gnmi-1.5
octpetre Nov 10, 2023
f15e99e
Merge branch 'main' into gnmi-1.5
octpetre Nov 14, 2023
869fbb2
Merge branch 'openconfig:main' into gnmi-1.5
octpetre Nov 15, 2023
077ba2f
Merge branch 'main' into gnmi-1.5
octpetre Nov 16, 2023
610c42d
Merge branch 'main' into gnmi-1.5
octpetre Nov 20, 2023
05d3a12
Merge branch 'main' into gnmi-1.5
octpetre Nov 28, 2023
74e7260
Merge branch 'main' into gnmi-1.5
octpetre Dec 7, 2023
cda17e1
Merge branch 'main' into gnmi-1.5
octpetre Dec 14, 2023
41a6d99
Merge branch 'main' into gnmi-1.5
octpetre Dec 20, 2023
5a42ce4
Merge branch 'main' into gnmi-1.5
octpetre Jan 5, 2024
3c5521a
Merge branch 'main' into gnmi-1.5
octpetre Jan 9, 2024
11d067a
Merge branch 'main' into gnmi-1.5
octpetre Jan 12, 2024
f5a4b1a
Merge branch 'main' into gnmi-1.5
octpetre Jan 17, 2024
3ae5df1
Merge branch 'main' into gnmi-1.5
octpetre Jan 17, 2024
5fa8681
PR reviews addressed
octpetre Jan 18, 2024
ca12cda
removed the deviation for setting the link down in kne
octpetre Jan 18, 2024
6a88b98
Merge branch 'main' into gnmi-1.5
octpetre Jan 19, 2024
6c308b5
Merge branch 'main' into gnmi-1.5
octpetre Jan 22, 2024
45def5a
Merge branch 'main' into gnmi-1.5
octpetre Jan 23, 2024
17f3aab
PR review addressed
octpetre Jan 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading