From 407cbaf860da9155210e2b8c6b62c3e88316479a Mon Sep 17 00:00:00 2001 From: AmrNJ <155722765+AmrNJ@users.noreply.github.com> Date: Sat, 11 Jan 2025 02:06:29 +0530 Subject: [PATCH] Create README for Storage-1.1: Storage File System Check (#3686) * Create README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md --------- Co-authored-by: Darren Loher --- feature/platform/storage/README.md | 53 ++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 feature/platform/storage/README.md diff --git a/feature/platform/storage/README.md b/feature/platform/storage/README.md new file mode 100644 index 00000000000..8c28951493f --- /dev/null +++ b/feature/platform/storage/README.md @@ -0,0 +1,53 @@ +# Storage-1.1: Storage File System Check + +## Summary + +Storage File System Check + +## Testbed type + +* dut.testbed + +## Procedure + +* For each storage file system collect and verify if the following path are not empty and returns valid values. Log the values returned. + + * /components/component/storage/state/counters/soft-read-error-rate: + Check if the response is a counter64 + * /components/component/storage/state/counters/reallocated-sectors: + Check if the response is a counter64 + * /components/component/storage/state/counters/end-to-end-error: + Check if the response is a counter64 + * /components/component/storage/state/counters/offline-uncorrectable-sectors-count: + Check if the response is a counter64 + * /components/component/storage/state/counters/life-left: + Check if the response is an integer + * /components/component/storage/state/counters/percentage-used: + Check if the response is an integer + +## OpenConfig Path and RPC Coverage + +```yaml + +paths: + + /components/component/storage/state/counters/soft-read-error-rate: + platform_type: [ "STORAGE" ] + /components/component/storage/state/counters/reallocated-sectors: + platform_type: [ "STORAGE" ] + /components/component/storage/state/counters/end-to-end-error: + platform_type: [ "STORAGE" ] + /components/component/storage/state/counters/offline-uncorrectable-sectors-count: + platform_type: [ "STORAGE" ] + /components/component/storage/state/counters/life-left: + platform_type: [ "STORAGE" ] + /components/component/storage/state/counters/percentage-used: + platform_type: [ "STORAGE" ] + + +rpcs: + gnmi: + gNMI.Get: +``` +## Required DUT platform +Single DUT