-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gNMI-1.10 TestPlan: Fabric redundancy (#1968)
* Create README.md * Create Fabric * Delete Fabric * Create feature.textproto * Fabric Redundancy * Update README.md * . * Update feature.textproto * Update feature.textproto * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update metadata.textproto * Update README.md * Update README.md
- Loading branch information
Showing
3 changed files
with
124 additions
and
0 deletions.
There are no files selected for viewing
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,51 @@ | ||
id { | ||
name: "platform_fabric" | ||
version: 1 | ||
} | ||
|
||
# Classifiers | ||
config_path { | ||
path: "/components/component/fabric/config/power-admin-state" | ||
} | ||
telemetry_path { | ||
path: "/components/component/fabric/state/power-admin-state" | ||
} | ||
telemetry_path { | ||
path: "/components/component/fabric/state/power-admin-state" | ||
} | ||
telemetry_path { | ||
path: "/components/component/state/description" | ||
} | ||
telemetry_path { | ||
path: "/components/component/state/hardware-version" | ||
} | ||
telemetry_path { | ||
path: "/components/component/state/id" | ||
} | ||
telemetry_path { | ||
path: "/components/component/state/mfg-name" | ||
} | ||
telemetry_path { | ||
path: "/components/component/state/name" | ||
} | ||
telemetry_path { | ||
path: "/components/component/state/oper-status" | ||
} | ||
telemetry_path { | ||
path: "/components/component/state/parent" | ||
} | ||
telemetry_path { | ||
path: "/components/component/state/part-no" | ||
} | ||
telemetry_path { | ||
path: "/components/component/state/serial-no" | ||
} | ||
telemetry_path { | ||
path: "/components/component/state/type" | ||
} | ||
telemetry_path { | ||
path: "/components/component/state/location" | ||
} | ||
telemetry_path { | ||
path: "/components/component/state/last-reboot-time" | ||
} |
66 changes: 66 additions & 0 deletions
66
feature/platform/fabric/otg_tests/fabric_redundancy_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,66 @@ | ||
# gNMI-1.14 Fabric redundnacy test | ||
|
||
## Summary | ||
- collect inventory data for each fabric card | ||
- Verify last restart time is updated | ||
- verify traffic could be forwarded with one of Fabric Card inactive. | ||
|
||
## Procedure | ||
### topology and basic setup | ||
* Connect OTG port1 to DUT port1 and OTG port2 to DUT port2 | ||
* Configure IPv6 addresses on both links | ||
### test 1 Fabric inventory | ||
|
||
* collect following attributes for each component of FABRIC_CARD type and verify corectness (mostly non-empty string) | ||
* /components/component/state/description | ||
* /components/component/state/hardware-version | ||
* /components/component/state/id | ||
* /components/component/state/mfg-name | ||
* /components/component/state/name | ||
* /components/component/state/oper-status | ||
* /components/component/state/parent | ||
* /components/component/state/part-no | ||
* /components/component/state/serial-no | ||
* /components/component/state/type | ||
* /components/component/state/location | ||
* /components/component/state/last-reboot-time | ||
* store list of present components of FABRIC_CARD type | ||
|
||
### test 2 redundancy | ||
* Power down exectly one component of fabric type | ||
* Run traffic between ATE por1 and port 2 for 16 millions of packets on 100kpps rate and using 4000B packets. | ||
* verify loss-lessness (with 10E-6 tolerance); Since remaining fabric is not overloaded in any form | ||
with above traffic pattern 0 losses is expected | ||
* Power up all components | ||
|
||
### test 3 last reboot time | ||
* Select one component from list of available | ||
* store last-reboot-time for this component as "PREVIOUS_REBOOT_TIME" | ||
* Power down this component, wait 60 sec. | ||
* Power up this component | ||
* Wait | ||
* get last-reboot-time and compare with "PREVIOUS_REBOOT_TIME". The "PREVIOUS_REBOOT_TIME" must be smaller (earlier) then recently collected last-reboot-time | ||
|
||
|
||
## Config Parameter coverage | ||
|
||
* /components/component/fabric/config/power-admin-state | ||
|
||
## Telemetry Parameter coverage | ||
|
||
* /components/component/fabric/state/power-admin-state | ||
* /components/component/state/description | ||
* /components/component/state/hardware-version | ||
* /components/component/state/id | ||
* /components/component/state/mfg-name | ||
* /components/component/state/name | ||
* /components/component/state/oper-status | ||
* /components/component/state/parent | ||
* /components/component/state/part-no | ||
* /components/component/state/serial-no | ||
* /components/component/state/type | ||
* /components/component/state/location | ||
* /components/component/state/last-reboot-time | ||
|
||
## Minimum DUT platform requirement | ||
* MFF |
7 changes: 7 additions & 0 deletions
7
feature/platform/fabric/otg_tests/fabric_redundancy_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,7 @@ | ||
# proto-file: github.com/openconfig/featureprofiles/proto/metadata.proto | ||
# proto-message: Metadata | ||
|
||
uuid: "" | ||
plan_id: "gNMI-1.14" | ||
description: "fabric redundancy test" | ||
testbed: TESTBED_DUT_ATE_2LINKS |