forked from openconfig/featureprofiles
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OTG Test - Gnmi-1.5 Telemetry: Port Speed Test (openconfig#2297)
* 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
Showing
3 changed files
with
523 additions
and
0 deletions.
There are no files selected for viewing
39 changes: 39 additions & 0 deletions
39
feature/gnmi/otg_tests/telemetry_port_speed_test/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,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 |
36 changes: 36 additions & 0 deletions
36
feature/gnmi/otg_tests/telemetry_port_speed_test/metadata.textproto
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,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" | ||
} | ||
} |
Oops, something went wrong.