-
Notifications
You must be signed in to change notification settings - Fork 211
Adding reboot test covering testing bugs #5370
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 1 commit
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,149 @@ | ||
| # System-2.1: DUT Reboot Test | ||
|
|
||
| ## Summary | ||
|
|
||
| - Configure BGP, IS-IS and redistribution | ||
| - Validate control-plane and data-plane post reboot | ||
| - Validate P4RT, gNMI, SHH connectivity post reboot | ||
|
|
||
| ## 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 | ||
|
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. Procedure steps should be prefixed with "Step X" (e.g., References
|
||
| * Configure IPv4/IPv6 addresses on the ports | ||
| * Configure IPv4 and IPv6 IS-IS L2 adjacency between ATE port-1 and DUT port-1 | ||
| * Configure IPv4 and IPv6 eBGP between DUT Port-2 and ATE Port-2 | ||
| * Advertise a few IPv4/v6 BGP routes from ATE to DUT through the BGP session | ||
| * Configure redistribution of the BGP prefixes to IS-IS on the DUT | ||
|
|
||
| ### System-2.1.1 | ||
| #### Pre Reboot Validation | ||
| --- | ||
|
rohit-rp marked this conversation as resolved.
Outdated
|
||
|
|
||
| ##### Validate SSH connectivity | ||
| * Verify SSH connectivity to the device works | ||
|
|
||
| ##### Validate P4RT connectivity | ||
| * Configure P4RT id and node-id (device_id) with port-1 interface | ||
| * Linecard `device_id = 111` | ||
| * Using P4RT Read RPC send a ReadRequest for port-1 counters | ||
| * Ensure a ReadResponse is received | ||
|
|
||
| ##### Validate Traffic Forwarding | ||
| * Initiate traffic from ATE port-1 to the DUT and destined towards the BGP redistributed routes | ||
| * Validate that the traffic is received on ATE port-2 | ||
|
|
||
| #### Canonical OC | ||
| ```json | ||
|
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. |
||
| { | ||
| "network-instances": { | ||
| "network-instance": [ | ||
| { | ||
| "config": { | ||
| "name": "DEFAULT" | ||
| }, | ||
| "name": "DEFAULT", | ||
| "protocols": { | ||
| "protocol": [ | ||
| { | ||
| "bgp": { | ||
| "neighbors": { | ||
| "neighbor": [ | ||
| { | ||
| "config": { | ||
| "neighbor-address": "192.0.2.6" | ||
| }, | ||
| "neighbor-address": "192.0.2.6", | ||
| "timers": { | ||
| "config": { | ||
| "hold-time": 30, | ||
| "keepalive-interval": 10 | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| }, | ||
| "peer-groups": { | ||
| "peer-group": [ | ||
| { | ||
| "config": { | ||
| "peer-group-name": "peer_group" | ||
| }, | ||
| "peer-group-name": "peer_group", | ||
| "timers": { | ||
| "config": { | ||
| "hold-time": 30, | ||
| "keepalive-interval": 10 | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| }, | ||
| "config": { | ||
| "identifier": "BGP", | ||
| "name": "BGP" | ||
| }, | ||
| "identifier": "BGP", | ||
| "name": "BGP" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| ``` | ||
|
|
||
| ### System-2.1.2 | ||
| #### Post Reboot Validation | ||
| --- | ||
|
rohit-rp marked this conversation as resolved.
Outdated
|
||
| ##### Reboot the DUT | ||
| * Reboot the DUT and wait for it to come back up | ||
|
|
||
| ##### Validate SSH connectivity | ||
| * Verify SSH connectivity to the device works | ||
|
|
||
| ##### Validate P4RT connectivity | ||
| * Configure P4RT id and node-id (device_id) with port-1 interface | ||
| * Linecard `device_id = 111` | ||
| * Using P4RT Read RPC send a ReadRequest for port-1 counters | ||
| * Ensure a ReadResponse is received | ||
|
|
||
| ##### Validate Traffic Forwarding | ||
| * Initiate traffic from ATE port-1 to the DUT and destined towards the BGP redistributed routes | ||
| * Validate that the traffic is received on ATE port-2 | ||
|
|
||
|
|
||
| ## Protocol/RPC Parameter Coverage | ||
|
|
||
| * gNMI | ||
| * Get | ||
| * Set | ||
|
|
||
| ## Required DUT platform | ||
|
|
||
| * FFF | ||
|
rohit-rp marked this conversation as resolved.
Outdated
|
||
|
|
||
| ## 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: | ||
| /network-instances/network-instance/table-connections/table-connection/config/address-family: | ||
| /network-instances/network-instance/table-connections/table-connection/config/src-protocol: | ||
| /network-instances/network-instance/table-connections/table-connection/config/dst-protocol: | ||
|
|
||
|
|
||
| rpcs: | ||
| gnmi: | ||
| gNMI.Set: | ||
| gNMI.Subscribe: | ||
| ``` | ||
Uh oh!
There was an error while loading. Please reload this page.