-
Notifications
You must be signed in to change notification settings - Fork 211
Adding gnmi resiliency test #5389
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,69 @@ | ||||||
| # gNMI-1.7: gNMI Resiliency Test | ||||||
|
|
||||||
| ## Summary | ||||||
|
|
||||||
| - Generate High gNMI Load (get) | ||||||
| - Perform 1 LC OIR | ||||||
| - While LC is rebooting perform gNMI replace | ||||||
| - Operations should succeed once LC OIR completes | ||||||
|
|
||||||
| ## Testbed type | ||||||
|
|
||||||
| * https://github.com/openconfig/featureprofiles/blob/main/topologies/atedut_2.testbed | ||||||
|
|
||||||
| ## Procedure | ||||||
|
|
||||||
| #### Initial Setup: | ||||||
|
|
||||||
| * Connect DUT port-1, 2 to ATE port-1, 2 | ||||||
| * Configure IPv4/IPv6 addresses on the ports | ||||||
|
|
||||||
| ### gNMI-1.7.1: Generate High gNMI Load | ||||||
|
|
||||||
| * Perform a `gNMI Get` at the root level every 60 seconds or less | ||||||
| * Set up gNMI subscribe with `SAMPLE` mode and sample interval of 10 second for interface counters | ||||||
|
Comment on lines
+21
to
+24
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To ensure that each step in the test plan procedure corresponds clearly to a comment or References
|
||||||
|
|
||||||
| ### gNMI-1.7.2: Trigger Line Card Reset | ||||||
|
|
||||||
| * While the gNMI load is active, trigger a reset of one of the line cards | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. need to specify how to do this. Probably gnoi.System.Reboot and specifying |
||||||
|
|
||||||
| ### gNMI-1.7.3: Execute gNMI Set (Replace) Operation | ||||||
|
|
||||||
| * While the line cards are initializing, perform a `gNMI Set` operation that modifies or replaces a significant portion of the configuration | ||||||
|
|
||||||
| ### gNMI-1.7.4: Verification | ||||||
|
|
||||||
| * Validate if the `gNMI Set` request is successful or not | ||||||
| * Validate that the `gNMI get` at the root level works through out the test | ||||||
| * Validate that the `gNMI subscribe` works while the LC is operational | ||||||
|
|
||||||
| #### Canonical OC | ||||||
| ```json | ||||||
| { | ||||||
| } | ||||||
|
Comment on lines
+42
to
+43
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The 'Canonical OC' section must contain the JSON formatted OpenConfig configuration that is expected to be generated or used by the test. An empty JSON object is insufficient. References
|
||||||
| ``` | ||||||
|
|
||||||
| ## Protocol/RPC Parameter Coverage | ||||||
|
|
||||||
| * gNMI | ||||||
| * Get | ||||||
| * Set | ||||||
|
|
||||||
| ## Required DUT platform | ||||||
|
|
||||||
| * FFF | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The test procedure involves Line Card (LC) OIR and resets. This functionality typically requires a Modular Form Factor (MFF) device rather than a Fixed Form Factor (FFF) device.
Suggested change
References
|
||||||
|
|
||||||
| ## OpenConfig Path and RPC Coverage | ||||||
|
|
||||||
| The below yaml defines the OC paths intended to be covered by this test. OC | ||||||
| paths used for test setup are not listed here. | ||||||
|
|
||||||
| ```yaml | ||||||
| paths: | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The 'paths' section in the YAML coverage stanza is empty. Please list the OpenConfig paths intended to be covered by this test, such as interface counters mentioned in the procedure. Defining them here ensures they are tracked in a structured format. References
|
||||||
|
|
||||||
|
|
||||||
| rpcs: | ||||||
| gnmi: | ||||||
| gNMI.Set: | ||||||
| gNMI.Subscribe: | ||||||
| ``` | ||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The summary should be written as a few sentences or paragraphs describing the purpose and scope of the test, rather than a bulleted list of steps. This follows the structure defined in the test plan template.
References