Hardik Windlass | a3d04b9 | 2020-02-17 15:06:05 +0000 | [diff] [blame] | 1 | # Copyright 2017 - present Open Networking Foundation |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | # FIXME Can we use the same test against BBSim and Hardware? |
| 15 | |
| 16 | *** Settings *** |
| 17 | Documentation Test various end-to-end scenarios |
| 18 | Suite Setup Setup Suite |
| 19 | Test Setup Setup |
| 20 | Test Teardown Teardown |
| 21 | Suite Teardown Teardown Suite |
| 22 | Library Collections |
| 23 | Library String |
| 24 | Library OperatingSystem |
| 25 | Library XML |
| 26 | Library RequestsLibrary |
| 27 | Library ../../libraries/DependencyLibrary.py |
| 28 | Resource ../../libraries/onos.robot |
| 29 | Resource ../../libraries/voltctl.robot |
| 30 | Resource ../../libraries/voltha.robot |
| 31 | Resource ../../libraries/utils.robot |
| 32 | Resource ../../libraries/k8s.robot |
| 33 | Resource ../../variables/variables.robot |
Suchitra Vemuri | 1d8e817 | 2020-06-17 17:43:56 -0700 | [diff] [blame] | 34 | Resource ../../libraries/power_switch.robot |
Hardik Windlass | a3d04b9 | 2020-02-17 15:06:05 +0000 | [diff] [blame] | 35 | |
| 36 | *** Variables *** |
| 37 | ${POD_NAME} flex-ocp-cord |
| 38 | ${KUBERNETES_CONF} ${KUBERNETES_CONFIGS_DIR}/${POD_NAME}.conf |
| 39 | ${KUBERNETES_CONFIGS_DIR} ~/pod-configs/kubernetes-configs |
| 40 | #${KUBERNETES_CONFIGS_DIR} ${KUBERNETES_CONFIGS_DIR}/${POD_NAME}.conf |
| 41 | ${KUBERNETES_YAML} ${KUBERNETES_CONFIGS_DIR}/${POD_NAME}.yml |
| 42 | ${HELM_CHARTS_DIR} ~/helm-charts |
| 43 | ${VOLTHA_POD_NUM} 8 |
| 44 | ${NAMESPACE} voltha |
Hardik Windlass | 4288c6a | 2021-09-28 07:22:06 +0000 | [diff] [blame] | 45 | ${INFRA_NAMESPACE} default |
Hardik Windlass | a3d04b9 | 2020-02-17 15:06:05 +0000 | [diff] [blame] | 46 | # For below variable value, using deployment name as using grep for |
| 47 | # parsing radius pod name, we can also use full radius pod name |
| 48 | ${RESTART_POD_NAME} radius |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 49 | ${timeout} 60s |
Hardik Windlass | a3d04b9 | 2020-02-17 15:06:05 +0000 | [diff] [blame] | 50 | ${of_id} 0 |
| 51 | ${logical_id} 0 |
Andrea Campanella | 86e2406 | 2020-08-05 19:09:18 +0200 | [diff] [blame] | 52 | ${uprate} 0 |
| 53 | ${dnrate} 0 |
Hardik Windlass | a3d04b9 | 2020-02-17 15:06:05 +0000 | [diff] [blame] | 54 | ${has_dataplane} True |
Hardik Windlass | ffbf060 | 2020-04-24 23:14:45 +0530 | [diff] [blame] | 55 | ${teardown_device} True |
Hardik Windlass | a3d04b9 | 2020-02-17 15:06:05 +0000 | [diff] [blame] | 56 | ${scripts} ../../scripts |
| 57 | |
Andy Bavier | e19991a | 2020-05-08 10:42:40 -0700 | [diff] [blame] | 58 | # For dataplane bandwidth testing |
| 59 | ${upper_margin_pct} 105 # Allow 5% over the limit |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 60 | ${lower_margin_pct} 90 # Allow 8% under the limit |
Andy Bavier | e19991a | 2020-05-08 10:42:40 -0700 | [diff] [blame] | 61 | ${udp_rate_multiplier} 1.10 # Send UDP at bw profile limit * rate_multiplier |
Andy Bavier | c80a274 | 2020-08-28 10:59:05 -0700 | [diff] [blame] | 62 | ${udp_packet_bytes} 1470 # UDP payload in bytes |
Andy Bavier | e19991a | 2020-05-08 10:42:40 -0700 | [diff] [blame] | 63 | |
Hardik Windlass | a3d04b9 | 2020-02-17 15:06:05 +0000 | [diff] [blame] | 64 | # Per-test logging on failure is turned off by default; set this variable to enable |
| 65 | ${container_log_dir} ${None} |
| 66 | |
Hardik Windlass | 4353133 | 2021-05-19 07:07:03 +0000 | [diff] [blame] | 67 | # logging flag to enable Collect Logs, can be passed via the command line too |
| 68 | # example: -v logging:False |
| 69 | ${logging} True |
| 70 | |
Hardik Windlass | 4ed5450 | 2021-05-14 07:34:15 +0000 | [diff] [blame] | 71 | # Flag specific to Soak Jobs |
| 72 | ${SOAK_TEST} False |
| 73 | ${bbsim_port} 50060 |
| 74 | |
Hardik Windlass | a3d04b9 | 2020-02-17 15:06:05 +0000 | [diff] [blame] | 75 | *** Test Cases *** |
Suchitra Vemuri | 1d8e817 | 2020-06-17 17:43:56 -0700 | [diff] [blame] | 76 | Reboot DT ONUs Physically |
| 77 | [Documentation] This test reboots ONUs physically before execution all the tests |
| 78 | ... Test case runs only on the PODs that are configured with PowerSwitch that |
| 79 | ... controls the power off/on ONUs/OLT remotely (simulating a physical reboot) |
Suchitra Vemuri | 228f880 | 2021-03-10 13:14:17 -0800 | [diff] [blame] | 80 | [Tags] functionalDt PowerSwitch RebootAllDTONUs soak |
Suchitra Vemuri | 1d8e817 | 2020-06-17 17:43:56 -0700 | [diff] [blame] | 81 | [Setup] Start Logging RebootAllDTONUs |
Hardik Windlass | 4353133 | 2021-05-19 07:07:03 +0000 | [diff] [blame] | 82 | [Teardown] Run Keywords Run Keyword If ${logging} Collect Logs |
Suchitra Vemuri | 1d8e817 | 2020-06-17 17:43:56 -0700 | [diff] [blame] | 83 | ... AND Stop Logging RebootAllDTONUs |
| 84 | Power Switch Connection Suite ${web_power_switch.ip} ${web_power_switch.user} ${web_power_switch.password} |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 85 | FOR ${I} IN RANGE 0 ${num_all_onus} |
Suchitra Vemuri | 1d8e817 | 2020-06-17 17:43:56 -0700 | [diff] [blame] | 86 | ${src}= Set Variable ${hosts.src[${I}]} |
| 87 | ${dst}= Set Variable ${hosts.dst[${I}]} |
| 88 | Disable Switch Outlet ${src['power_switch_port']} |
Hardik Windlass | 5e214b2 | 2021-02-26 10:37:14 +0000 | [diff] [blame] | 89 | Sleep 10s |
Suchitra Vemuri | 1d8e817 | 2020-06-17 17:43:56 -0700 | [diff] [blame] | 90 | Enable Switch Outlet ${src['power_switch_port']} |
Suchitra Vemuri | 1d8e817 | 2020-06-17 17:43:56 -0700 | [diff] [blame] | 91 | END |
| 92 | |
Hardik Windlass | 4ed5450 | 2021-05-14 07:34:15 +0000 | [diff] [blame] | 93 | Create Soak BBSim Device |
| 94 | [Documentation] This creates and enables the BBSim device as required by the soak testing |
| 95 | ... The BBSim OLT and ONUs created as part of this test are not part of active testing |
| 96 | ... but only to mock the load on Soak POD. |
| 97 | [Tags] soak |
| 98 | [Setup] Start Logging soakPodCreateBBSimLoad |
Hardik Windlass | 4353133 | 2021-05-19 07:07:03 +0000 | [diff] [blame] | 99 | [Teardown] Run Keywords Run Keyword If ${logging} Collect Logs |
Hardik Windlass | 4ed5450 | 2021-05-14 07:34:15 +0000 | [diff] [blame] | 100 | ... AND Stop Logging soakPodCreateBBSimLoad |
| 101 | ${num_bbsim} Get Length ${bbsim} |
Hardik Windlass | ea4caf7 | 2021-07-30 07:22:12 +0000 | [diff] [blame] | 102 | @{bbsim_olt_of_id_list}= Create List |
Hardik Windlass | 4ed5450 | 2021-05-14 07:34:15 +0000 | [diff] [blame] | 103 | FOR ${I} IN RANGE 0 ${num_bbsim} |
| 104 | ${ip} Evaluate ${bbsim}[${I}].get("ip") |
| 105 | ${serial_number} Evaluate ${bbsim}[${I}].get("serial") |
| 106 | ${bbsim_olt_device_id}= Create Device ${ip} ${bbsim_port} |
| 107 | Log ${bbsim_olt_device_id} |
| 108 | Wait Until Keyword Succeeds ${timeout} 5s |
Hardik Windlass | 8b44649 | 2021-06-10 06:25:23 +0000 | [diff] [blame] | 109 | ... Validate OLT Device PREPROVISIONED UNKNOWN UNKNOWN ${bbsim_olt_device_id} by_dev_id=True |
Hardik Windlass | 4ed5450 | 2021-05-14 07:34:15 +0000 | [diff] [blame] | 110 | Enable Device ${bbsim_olt_device_id} |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 111 | Wait Until Keyword Succeeds ${timeout} 5s |
Hardik Windlass | 4ed5450 | 2021-05-14 07:34:15 +0000 | [diff] [blame] | 112 | ... Validate OLT Device ENABLED ACTIVE REACHABLE ${serial_number} |
Hardik Windlass | ea4caf7 | 2021-07-30 07:22:12 +0000 | [diff] [blame] | 113 | ${bbsim_olt_of_id}= Wait Until Keyword Succeeds ${timeout} 15s Validate OLT Device in ONOS |
Hardik Windlass | 4ed5450 | 2021-05-14 07:34:15 +0000 | [diff] [blame] | 114 | ... ${serial_number} |
Hardik Windlass | ea4caf7 | 2021-07-30 07:22:12 +0000 | [diff] [blame] | 115 | Log ${bbsim_olt_of_id} |
| 116 | Append To List ${bbsim_olt_of_id_list} ${bbsim_olt_of_id} |
Hardik Windlass | 4ed5450 | 2021-05-14 07:34:15 +0000 | [diff] [blame] | 117 | END |
| 118 | # Extra sleep time for ONUs to come up Active |
Hardik Windlass | ea4caf7 | 2021-07-30 07:22:12 +0000 | [diff] [blame] | 119 | Sleep 60s |
| 120 | FOR ${bbsim_olt_of_id} IN @{bbsim_olt_of_id_list} |
| 121 | Provision all subscribers on device ${ONOS_SSH_IP} ${ONOS_SSH_PORT} ${ONOS_SSH_IP} ${ONOS_REST_PORT} |
| 122 | ... ${bbsim_olt_of_id} |
| 123 | ${total_onus_per_bbsim_olt}= Count Enabled UNI Ports ${ONOS_SSH_IP} ${ONOS_SSH_PORT} |
| 124 | ... ${bbsim_olt_of_id} |
| 125 | Wait for all flows to in ADDED state ${ONOS_SSH_IP} ${ONOS_SSH_PORT} |
| 126 | ... ${bbsim_olt_of_id} dt ${total_onus_per_bbsim_olt} 1 true |
| 127 | ... false false false true |
| 128 | END |
Hardik Windlass | 4ed5450 | 2021-05-14 07:34:15 +0000 | [diff] [blame] | 129 | |
Hardik Windlass | a3d04b9 | 2020-02-17 15:06:05 +0000 | [diff] [blame] | 130 | Sanity E2E Test for OLT/ONU on POD for DT |
| 131 | [Documentation] Validates E2E Ping Connectivity and object states for the given scenario: |
| 132 | ... Validate successful DHCP/E2E ping (no EAPOL and DHCP flows) for the tech profile that is used |
| 133 | ... Traffic sent with same vlan from different RGs, |
| 134 | ... should reach the NNI port on the OLT with the expected double tagged vlan ids |
| 135 | ... Inner vlans from the RG should not change |
Suchitra Vemuri | 228f880 | 2021-03-10 13:14:17 -0800 | [diff] [blame] | 136 | [Tags] sanityDt soak |
Hardik Windlass | 4ed5450 | 2021-05-14 07:34:15 +0000 | [diff] [blame] | 137 | [Setup] Start Logging SanityTestDt |
Hardik Windlass | 4353133 | 2021-05-19 07:07:03 +0000 | [diff] [blame] | 138 | [Teardown] Run Keywords Run Keyword If ${logging} Collect Logs |
Hardik Windlass | a3d04b9 | 2020-02-17 15:06:05 +0000 | [diff] [blame] | 139 | ... AND Stop Logging SanityTestDt |
Hardik Windlass | 4ed5450 | 2021-05-14 07:34:15 +0000 | [diff] [blame] | 140 | Setup ${SOAK_TEST} |
Hardik Windlass | a3d04b9 | 2020-02-17 15:06:05 +0000 | [diff] [blame] | 141 | Run Keyword If ${has_dataplane} Clean Up Linux |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 142 | Perform Sanity Test DT |
Hardik Windlass | a3d04b9 | 2020-02-17 15:06:05 +0000 | [diff] [blame] | 143 | |
Hardik Windlass | 35706ba | 2020-02-20 08:16:42 +0000 | [diff] [blame] | 144 | Test Subscriber Delete and Add for DT |
| 145 | [Documentation] Validates E2E Ping Connectivity and object states for the given scenario: |
Hardik Windlass | 63d5e00 | 2020-03-06 21:07:09 +0530 | [diff] [blame] | 146 | ... Assuming that all the ONUs are DHCP/pingable (i.e. assuming sanityDt test was executed) |
Hardik Windlass | 35706ba | 2020-02-20 08:16:42 +0000 | [diff] [blame] | 147 | ... Delete a subscriber and validate that the pings do not succeed and state is purged |
| 148 | ... Disable and Enable the ONU (This is to replicate the existing DT behaviour) |
| 149 | ... Re-add the subscriber, and validate that the flows are present and pings are successful |
Suchitra Vemuri | 228f880 | 2021-03-10 13:14:17 -0800 | [diff] [blame] | 150 | [Tags] functionalDt SubAddDeleteDt soak |
Girish Gowdra | fbdddc1 | 2021-12-17 15:39:55 +0530 | [diff] [blame] | 151 | [Setup] Run Keywords Start Logging SubAddDeleteDt |
| 152 | ... AND Run Keyword If ${has_dataplane} Set Non-Critical Tag for XGSPON Tech |
Hardik Windlass | 4353133 | 2021-05-19 07:07:03 +0000 | [diff] [blame] | 153 | [Teardown] Run Keywords Run Keyword If ${logging} Collect Logs |
Hardik Windlass | 35706ba | 2020-02-20 08:16:42 +0000 | [diff] [blame] | 154 | ... AND Stop Logging SubAddDeleteDt |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 155 | FOR ${I} IN RANGE 0 ${num_all_onus} |
Hardik Windlass | 35706ba | 2020-02-20 08:16:42 +0000 | [diff] [blame] | 156 | ${src}= Set Variable ${hosts.src[${I}]} |
| 157 | ${dst}= Set Variable ${hosts.dst[${I}]} |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 158 | ${of_id}= Get ofID From OLT List ${src['olt']} |
TorstenThieme | dda3765 | 2021-11-11 16:22:05 +0000 | [diff] [blame] | 159 | ${nni_port}= Wait Until Keyword Succeeds ${timeout} 2s Get NNI Port in ONOS ${of_id} |
Hardik Windlass | 35706ba | 2020-02-20 08:16:42 +0000 | [diff] [blame] | 160 | ${onu_device_id}= Get Device ID From SN ${src['onu']} |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 161 | ${olt_device_id}= Get OLTDeviceID From OLT List ${src['olt']} |
Andrea Campanella | d848de0 | 2020-11-24 10:23:41 +0100 | [diff] [blame] | 162 | ${num_of_olt_onus}= Get Num of Onus From OLT SN ${src['olt']} |
Hardik Windlass | 35706ba | 2020-02-20 08:16:42 +0000 | [diff] [blame] | 163 | ${onu_port}= Wait Until Keyword Succeeds ${timeout} 2s Get ONU Port in ONOS ${src['onu']} |
| 164 | ... ${of_id} |
| 165 | # Remove Subscriber Access |
TorstenThieme | 4e2168e | 2021-06-22 14:01:47 +0000 | [diff] [blame] | 166 | Wait Until Keyword Succeeds ${timeout} 2s Execute ONOS CLI Command use single connection ${ONOS_SSH_IP} |
Hardik Windlass | 35706ba | 2020-02-20 08:16:42 +0000 | [diff] [blame] | 167 | ... ${ONOS_SSH_PORT} volt-remove-subscriber-access ${of_id} ${onu_port} |
Hardik Windlass | 35706ba | 2020-02-20 08:16:42 +0000 | [diff] [blame] | 168 | Run Keyword If ${has_dataplane} Run Keyword And Continue On Failure |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 169 | ... Wait Until Keyword Succeeds ${timeout} 2s |
Hardik Windlass | 35706ba | 2020-02-20 08:16:42 +0000 | [diff] [blame] | 170 | ... Check Ping False ${dst['dp_iface_ip_qinq']} ${src['dp_iface_name']} |
| 171 | ... ${src['ip']} ${src['user']} ${src['pass']} ${src['container_type']} ${src['container_name']} |
Andrea Campanella | d848de0 | 2020-11-24 10:23:41 +0100 | [diff] [blame] | 172 | |
Hardik Windlass | fb5eace | 2020-03-26 14:49:01 +0530 | [diff] [blame] | 173 | # Number of Access Flows on ONOS equals 4 * the Number of Active ONUs (2 for each downstream and upstream) |
Andrea Campanella | d848de0 | 2020-11-24 10:23:41 +0100 | [diff] [blame] | 174 | ${onos_flows_count}= Evaluate 4 * ( ${num_of_olt_onus} - 1 ) |
Hardik Windlass | fb5eace | 2020-03-26 14:49:01 +0530 | [diff] [blame] | 175 | Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 5s |
| 176 | ... Verify Subscriber Access Flows Added Count DT ${ONOS_SSH_IP} ${ONOS_SSH_PORT} |
Suchitra Vemuri | 93db32b | 2020-11-23 21:27:05 -0800 | [diff] [blame] | 177 | ... ${of_id} ${onos_flows_count} |
Hardik Windlass | 35706ba | 2020-02-20 08:16:42 +0000 | [diff] [blame] | 178 | # Verify VOLTHA flows for OLT equals twice the number of ONUS (minus ONU under test) + 1 for LLDP |
Andrea Campanella | d848de0 | 2020-11-24 10:23:41 +0100 | [diff] [blame] | 179 | ${olt_flows}= Evaluate 2 * ( ${num_of_olt_onus} - 1 ) + 1 |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 180 | Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 5s Validate OLT Flows |
| 181 | ... ${olt_flows} ${olt_device_id} |
Hardik Windlass | 35706ba | 2020-02-20 08:16:42 +0000 | [diff] [blame] | 182 | # Verify VOLTHA flows for ONU under test is Zero |
| 183 | Run Keyword Wait Until Keyword Succeeds ${timeout} 5s Validate Device Flows |
| 184 | ... ${onu_device_id} 0 |
| 185 | # Disable and Re-Enable the ONU (To replicate DT current workflow) |
| 186 | # TODO: Delete and Auto-Discovery Add of ONU (not yet supported) |
| 187 | Disable Device ${onu_device_id} |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 188 | Wait Until Keyword Succeeds ${timeout} 5s |
Hardik Windlass | 35706ba | 2020-02-20 08:16:42 +0000 | [diff] [blame] | 189 | ... Validate Device DISABLED UNKNOWN |
| 190 | ... REACHABLE ${src['onu']} |
| 191 | Enable Device ${onu_device_id} |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 192 | Wait Until Keyword Succeeds 360s 5s |
Hardik Windlass | 35706ba | 2020-02-20 08:16:42 +0000 | [diff] [blame] | 193 | ... Validate Device ENABLED ACTIVE |
| 194 | ... REACHABLE ${src['onu']} |
| 195 | # Add Subscriber Access |
TorstenThieme | 4e2168e | 2021-06-22 14:01:47 +0000 | [diff] [blame] | 196 | Wait Until Keyword Succeeds ${timeout} 2s Execute ONOS CLI Command use single connection ${ONOS_SSH_IP} |
Hardik Windlass | 35706ba | 2020-02-20 08:16:42 +0000 | [diff] [blame] | 197 | ... ${ONOS_SSH_PORT} volt-add-subscriber-access ${of_id} ${onu_port} |
Hardik Windlass | fb5eace | 2020-03-26 14:49:01 +0530 | [diff] [blame] | 198 | # Verify subscriber access flows are added for the ONU port |
| 199 | Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 5s |
Hardik Windlass | 25e1170 | 2020-03-30 20:05:19 +0530 | [diff] [blame] | 200 | ... Verify Subscriber Access Flows Added For ONU DT ${ONOS_SSH_IP} ${ONOS_SSH_PORT} ${of_id} |
| 201 | ... ${onu_port} ${nni_port} ${src['s_tag']} |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 202 | Wait Until Keyword Succeeds ${timeout} 5s |
Hardik Windlass | 35706ba | 2020-02-20 08:16:42 +0000 | [diff] [blame] | 203 | ... Validate Device ENABLED ACTIVE |
| 204 | ... REACHABLE ${src['onu']} onu=True onu_reason=omci-flows-pushed |
Girish Gowdra | d2c0e9d | 2021-11-23 14:40:23 -0800 | [diff] [blame] | 205 | # Workaround for issue seen in VOL-4489. Keep this workaround until VOL-4489 is fixed. |
| 206 | Run Keyword If ${has_dataplane} Reboot XGSPON ONU ${src['olt']} ${src['onu']} omci-flows-pushed |
| 207 | # Workaround ends here for issue seen in VOL-4489. |
Hardik Windlass | 35706ba | 2020-02-20 08:16:42 +0000 | [diff] [blame] | 208 | Run Keyword If ${has_dataplane} Run Keyword And Continue On Failure |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 209 | ... Wait Until Keyword Succeeds ${timeout} 2s |
Hardik Windlass | 35706ba | 2020-02-20 08:16:42 +0000 | [diff] [blame] | 210 | ... Check Ping True ${dst['dp_iface_ip_qinq']} ${src['dp_iface_name']} |
| 211 | ... ${src['ip']} ${src['user']} ${src['pass']} ${src['container_type']} ${src['container_name']} |
Hardik Windlass | 35706ba | 2020-02-20 08:16:42 +0000 | [diff] [blame] | 212 | END |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 213 | # Verify flows for all OLTs |
| 214 | Run Keyword Wait Until Keyword Succeeds ${timeout} 5s Validate All OLT Flows |
Hardik Windlass | 35706ba | 2020-02-20 08:16:42 +0000 | [diff] [blame] | 215 | |
Hardik Windlass | 63d5e00 | 2020-03-06 21:07:09 +0530 | [diff] [blame] | 216 | Test Disable and Enable ONU for DT |
| 217 | [Documentation] Validates E2E Ping Connectivity and object states for the given scenario: |
| 218 | ... Assuming that all the ONUs are DHCP/pingable (i.e. assuming sanityDt test was executed) |
| 219 | ... Perform disable on the ONUs and validate that the pings do not succeed |
| 220 | ... Perform enable on the ONUs and validate that the pings are successful |
Suchitra Vemuri | 228f880 | 2021-03-10 13:14:17 -0800 | [diff] [blame] | 221 | [Tags] functionalDt DisableEnableONUDt soak |
Girish Gowdra | 8fd9696 | 2021-12-14 16:20:04 +0530 | [diff] [blame] | 222 | [Setup] Run Keywords Start Logging DisableEnableONUDt |
| 223 | ... AND Run Keyword If ${has_dataplane} Set Non-Critical Tag for XGSPON Tech |
Hardik Windlass | 4353133 | 2021-05-19 07:07:03 +0000 | [diff] [blame] | 224 | [Teardown] Run Keywords Run Keyword If ${logging} Collect Logs |
Hardik Windlass | 63d5e00 | 2020-03-06 21:07:09 +0530 | [diff] [blame] | 225 | ... AND Stop Logging DisableEnableONUDt |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 226 | FOR ${I} IN RANGE 0 ${num_all_onus} |
Hardik Windlass | 63d5e00 | 2020-03-06 21:07:09 +0530 | [diff] [blame] | 227 | ${src}= Set Variable ${hosts.src[${I}]} |
| 228 | ${dst}= Set Variable ${hosts.dst[${I}]} |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 229 | ${of_id}= Get ofID From OLT List ${src['olt']} |
Hardik Windlass | 63d5e00 | 2020-03-06 21:07:09 +0530 | [diff] [blame] | 230 | ${onu_device_id}= Get Device ID From SN ${src['onu']} |
| 231 | ${onu_port}= Wait Until Keyword Succeeds ${timeout} 2s Get ONU Port in ONOS ${src['onu']} |
| 232 | ... ${of_id} |
| 233 | Disable Device ${onu_device_id} |
| 234 | Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 5s |
| 235 | ... Validate Device DISABLED UNKNOWN |
Hardik Windlass | 42c8423 | 2022-01-27 04:58:27 +0000 | [diff] [blame] | 236 | ... REACHABLE ${src['onu']} onu=True onu_reason=tech-profile-config-delete-success |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 237 | Wait Until Keyword Succeeds ${timeout} 2s |
Hardik Windlass | 3901567 | 2021-07-05 05:48:08 +0000 | [diff] [blame] | 238 | ... Verify UNI Port Is Disabled ${ONOS_SSH_IP} ${ONOS_SSH_PORT} ${src['onu']} |
Hardik Windlass | fb5eace | 2020-03-26 14:49:01 +0530 | [diff] [blame] | 239 | # TODO: Yet to Verify on the GPON based Physical POD (VOL-2652) |
Hardik Windlass | 63d5e00 | 2020-03-06 21:07:09 +0530 | [diff] [blame] | 240 | Run Keyword If ${has_dataplane} Run Keyword And Continue On Failure |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 241 | ... Wait Until Keyword Succeeds ${timeout} 2s |
Hardik Windlass | 63d5e00 | 2020-03-06 21:07:09 +0530 | [diff] [blame] | 242 | ... Check Ping False ${dst['dp_iface_ip_qinq']} ${src['dp_iface_name']} |
| 243 | ... ${src['ip']} ${src['user']} ${src['pass']} ${src['container_type']} ${src['container_name']} |
| 244 | Sleep 5s |
| 245 | Enable Device ${onu_device_id} |
Suchitra Vemuri | cdc32d8 | 2020-07-17 12:24:46 -0700 | [diff] [blame] | 246 | Run Keyword And Continue On Failure Wait Until Keyword Succeeds 360s 5s |
Hardik Windlass | 63d5e00 | 2020-03-06 21:07:09 +0530 | [diff] [blame] | 247 | ... Validate Device ENABLED ACTIVE |
| 248 | ... REACHABLE ${src['onu']} onu=True onu_reason=onu-reenabled |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 249 | Wait Until Keyword Succeeds ${timeout} 2s |
Hardik Windlass | 3901567 | 2021-07-05 05:48:08 +0000 | [diff] [blame] | 250 | ... Verify UNI Port Is Enabled ${ONOS_SSH_IP} ${ONOS_SSH_PORT} ${src['onu']} |
Girish Gowdra | c38824c | 2021-12-01 13:22:08 +0530 | [diff] [blame] | 251 | # Workaround for issue seen in VOL-4489. Keep this workaround until VOL-4489 is fixed. |
| 252 | Run Keyword If ${has_dataplane} Reboot XGSPON ONU ${src['olt']} ${src['onu']} omci-flows-pushed |
| 253 | # Workaround ends here for issue seen in VOL-4489. |
Hardik Windlass | 63d5e00 | 2020-03-06 21:07:09 +0530 | [diff] [blame] | 254 | Run Keyword If ${has_dataplane} Run Keyword And Continue On Failure |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 255 | ... Wait Until Keyword Succeeds ${timeout} 2s |
Hardik Windlass | 63d5e00 | 2020-03-06 21:07:09 +0530 | [diff] [blame] | 256 | ... Check Ping True ${dst['dp_iface_ip_qinq']} ${src['dp_iface_name']} |
| 257 | ... ${src['ip']} ${src['user']} ${src['pass']} ${src['container_type']} ${src['container_name']} |
Hardik Windlass | 63d5e00 | 2020-03-06 21:07:09 +0530 | [diff] [blame] | 258 | END |
| 259 | |
Hardik Windlass | aaea340 | 2020-03-10 19:45:45 +0530 | [diff] [blame] | 260 | Test Disable and Delete OLT for DT |
| 261 | [Documentation] Validates E2E Ping Connectivity and object states for the given scenario: |
| 262 | ... Assuming that all the ONUs are DHCP/pingable (i.e. assuming sanityDt test was executed) |
| 263 | ... Perform disable on the OLT and validate ONUs state and that the pings do not succeed |
| 264 | ... Perform delete on the OLT, Re-do Setup (Recreate the OLT) and Perform Sanity Test DT |
Hardik Windlass | 4353133 | 2021-05-19 07:07:03 +0000 | [diff] [blame] | 265 | [Tags] functionalDt DisableDeleteOLTDt soak |
Suchitra Vemuri | 221398a | 2020-05-29 22:45:17 -0700 | [diff] [blame] | 266 | [Setup] Start Logging DisableDeleteOLTDt |
Hardik Windlass | 4353133 | 2021-05-19 07:07:03 +0000 | [diff] [blame] | 267 | [Teardown] Run Keywords Run Keyword If ${logging} Collect Logs |
Hardik Windlass | aaea340 | 2020-03-10 19:45:45 +0530 | [diff] [blame] | 268 | ... AND Stop Logging DisableDeleteOLTDt |
Hardik Windlass | aaea340 | 2020-03-10 19:45:45 +0530 | [diff] [blame] | 269 | # Disable and Validate OLT Device |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 270 | FOR ${I} IN RANGE 0 ${olt_count} |
| 271 | ${olt_serial_number}= Get From Dictionary ${olt_ids}[${I}] sn |
| 272 | ${olt_device_id}= Get OLTDeviceID From OLT List ${olt_serial_number} |
| 273 | Disable Device ${olt_device_id} |
| 274 | ${of_id}= Get ofID From OLT List ${olt_serial_number} |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 275 | Wait Until Keyword Succeeds ${timeout} 5s |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 276 | ... Validate OLT Device DISABLED UNKNOWN REACHABLE |
| 277 | ... ${olt_serial_number} |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 278 | ${num_onus}= Set Variable ${list_olts}[${I}][onucount] |
| 279 | # Validate ONUs |
| 280 | Run Keyword Wait Until Keyword Succeeds ${timeout} 5s Validate ONUs After OLT Disable |
Andrea Campanella | 4e50788 | 2020-11-26 11:33:11 +0100 | [diff] [blame] | 281 | ... ${num_onus} ${olt_serial_number} |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 282 | # Verify ONOS Flows |
Matteo Scandolo | 8b6dc26 | 2021-11-22 12:30:27 -0800 | [diff] [blame] | 283 | # When we disable the device we shouldn't have any flows provisioned on it |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 284 | Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 5s |
| 285 | ... Verify Subscriber Access Flows Added Count DT ${ONOS_SSH_IP} ${ONOS_SSH_PORT} |
Matteo Scandolo | 8b6dc26 | 2021-11-22 12:30:27 -0800 | [diff] [blame] | 286 | ... ${of_id} 0 |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 287 | # Verify VOLTHA Flows |
Hardik Windlass | 3a29489 | 2021-11-23 17:05:29 +0000 | [diff] [blame] | 288 | # OLT should only have 1 default flow for LLDP |
| 289 | Run Keyword Wait Until Keyword Succeeds ${timeout} 5s Validate OLT Flows 1 |
Matteo Scandolo | 8b6dc26 | 2021-11-22 12:30:27 -0800 | [diff] [blame] | 290 | ... ${olt_device_id} |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 291 | ${List_ONU_Serial} Create List |
| 292 | Set Suite Variable ${List_ONU_Serial} |
Andrea Campanella | 99a548b | 2020-11-18 09:50:32 +0100 | [diff] [blame] | 293 | Build ONU SN List ${List_ONU_Serial} ${olt_serial_number} ${num_onus} |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 294 | Log ${List_ONU_Serial} |
| 295 | Run Keyword Wait Until Keyword Succeeds ${timeout} 5s Validate ONU Flows |
Matteo Scandolo | 8b6dc26 | 2021-11-22 12:30:27 -0800 | [diff] [blame] | 296 | ... ${List_ONU_Serial} 0 |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 297 | # Delete OLT and Validate Empty Device List |
| 298 | Delete Device ${olt_device_id} |
Andrea Campanella | 4e50788 | 2020-11-26 11:33:11 +0100 | [diff] [blame] | 299 | # Check that the OLT and the ONUs are actually removed from the system |
| 300 | Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 5s Validate Device Removed |
| 301 | ... ${olt_serial_number} |
| 302 | Run Keyword and Continue On Failure Validate all ONUS for OLT Removed ${num_all_onus} ${hosts} |
| 303 | ... ${olt_serial_number} ${timeout} |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 304 | Wait Until Keyword Succeeds ${timeout} 5s |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 305 | ... Verify Device Flows Removed ${ONOS_SSH_IP} ${ONOS_SSH_PORT} ${of_id} |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 306 | END |
Hardik Windlass | aaea340 | 2020-03-10 19:45:45 +0530 | [diff] [blame] | 307 | # Re-do Setup (Recreate the OLT) and Perform Sanity Test DT |
Hardik Windlass | 4353133 | 2021-05-19 07:07:03 +0000 | [diff] [blame] | 308 | Run Keyword Setup ${SOAK_TEST} |
Suchitra Vemuri | ae9cecb | 2020-03-12 12:59:14 -0700 | [diff] [blame] | 309 | Run Keyword If ${has_dataplane} Clean Up Linux |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 310 | Perform Sanity Test DT |
Hardik Windlass | aaea340 | 2020-03-10 19:45:45 +0530 | [diff] [blame] | 311 | |
Hardik Windlass | 3b531fa | 2020-04-23 18:51:44 +0530 | [diff] [blame] | 312 | Test Disable and Enable OLT for DT |
| 313 | [Documentation] Validates E2E Ping Connectivity and object states for the given scenario: |
| 314 | ... Assuming that all the ONUs are DHCP/pingable (i.e. assuming sanityDt test was executed) |
| 315 | ... Perform disable on the OLT and validate that the pings do not succeed |
| 316 | ... Perform enable on the OLT and validate that the pings are successful |
Suchitra Vemuri | 228f880 | 2021-03-10 13:14:17 -0800 | [diff] [blame] | 317 | [Tags] functionalDt DisableEnableOLTDt soak |
Hardik Windlass | 3b531fa | 2020-04-23 18:51:44 +0530 | [diff] [blame] | 318 | [Setup] Start Logging DisableEnableOLTDt |
Hardik Windlass | 4353133 | 2021-05-19 07:07:03 +0000 | [diff] [blame] | 319 | [Teardown] Run Keywords Run Keyword If ${logging} Collect Logs |
Hardik Windlass | 3b531fa | 2020-04-23 18:51:44 +0530 | [diff] [blame] | 320 | ... AND Stop Logging DisableEnableOLTDt |
| 321 | # Disable and Validate OLT Device |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 322 | FOR ${I} IN RANGE 0 ${olt_count} |
| 323 | ${olt_serial_number}= Get From Dictionary ${olt_ids}[${I}] sn |
| 324 | ${olt_device_id}= Get OLTDeviceID From OLT List ${olt_serial_number} |
| 325 | ${rc} ${output}= Run and Return Rc and Output |
| 326 | ... ${VOLTCTL_CONFIG}; voltctl device disable ${olt_device_id} |
| 327 | Should Be Equal As Integers ${rc} 0 |
| 328 | Wait Until Keyword Succeeds ${timeout} 5s Validate OLT Device DISABLED UNKNOWN REACHABLE |
| 329 | ... ${olt_serial_number} |
| 330 | END |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 331 | # Validate ONUs |
| 332 | FOR ${I} IN RANGE 0 ${num_all_onus} |
Hardik Windlass | 7c801e6 | 2020-05-04 19:33:21 +0530 | [diff] [blame] | 333 | ${src}= Set Variable ${hosts.src[${I}]} |
| 334 | ${dst}= Set Variable ${hosts.dst[${I}]} |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 335 | ${of_id}= Get ofID From OLT List ${src['olt']} |
Hardik Windlass | 7c801e6 | 2020-05-04 19:33:21 +0530 | [diff] [blame] | 336 | ${onu_device_id}= Get Device ID From SN ${src['onu']} |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 337 | ${onu_port}= Wait Until Keyword Succeeds ${timeout} 2s |
Hardik Windlass | 7c801e6 | 2020-05-04 19:33:21 +0530 | [diff] [blame] | 338 | ... Get ONU Port in ONOS ${src['onu']} ${of_id} |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 339 | Wait Until Keyword Succeeds ${timeout} 2s |
Hardik Windlass | 3901567 | 2021-07-05 05:48:08 +0000 | [diff] [blame] | 340 | ... Verify UNI Port Is Disabled ${ONOS_SSH_IP} ${ONOS_SSH_PORT} ${src['onu']} |
Hardik Windlass | 7c801e6 | 2020-05-04 19:33:21 +0530 | [diff] [blame] | 341 | Run Keyword If ${has_dataplane} Run Keyword And Continue On Failure |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 342 | ... Wait Until Keyword Succeeds ${timeout} 2s |
Hardik Windlass | 7c801e6 | 2020-05-04 19:33:21 +0530 | [diff] [blame] | 343 | ... Check Ping False ${dst['dp_iface_ip_qinq']} ${src['dp_iface_name']} |
| 344 | ... ${src['ip']} ${src['user']} ${src['pass']} ${src['container_type']} ${src['container_name']} |
| 345 | # Remove Subscriber Access (To replicate DT workflow) |
TorstenThieme | 4e2168e | 2021-06-22 14:01:47 +0000 | [diff] [blame] | 346 | Wait Until Keyword Succeeds ${timeout} 2s Execute ONOS CLI Command use single connection ${ONOS_SSH_IP} |
Hardik Windlass | 7c801e6 | 2020-05-04 19:33:21 +0530 | [diff] [blame] | 347 | ... ${ONOS_SSH_PORT} volt-remove-subscriber-access ${of_id} ${onu_port} |
| 348 | # Delete ONU Device (To replicate DT workflow) |
| 349 | Delete Device ${onu_device_id} |
| 350 | END |
Hardik Windlass | 2b37e71 | 2020-06-12 02:13:17 +0530 | [diff] [blame] | 351 | Sleep 5s |
Hardik Windlass | 3b531fa | 2020-04-23 18:51:44 +0530 | [diff] [blame] | 352 | # Enable the OLT back and check ONU, OLT status are back to "ACTIVE" |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 353 | FOR ${I} IN RANGE 0 ${olt_count} |
| 354 | ${olt_serial_number}= Get From Dictionary ${olt_ids}[${I}] sn |
| 355 | ${olt_device_id}= Get OLTDeviceID From OLT List ${olt_serial_number} |
| 356 | Enable Device ${olt_device_id} |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 357 | Wait Until Keyword Succeeds ${timeout} 5s Validate OLT Device ENABLED ACTIVE REACHABLE |
| 358 | ... ${olt_serial_number} |
| 359 | #TODO: Update for PON_OLT ETHERNET_NNI |
| 360 | #Wait Until Keyword Succeeds ${timeout} 5s Validate OLT Port Types |
| 361 | #... PON_OLT ETHERNET_NNI |
| 362 | END |
Hardik Windlass | 7c801e6 | 2020-05-04 19:33:21 +0530 | [diff] [blame] | 363 | # Waiting extra time for the ONUs to come up |
| 364 | Sleep 60s |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 365 | Run Keyword If ${has_dataplane} Clean Up Linux |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 366 | Perform Sanity Test DT |
Hardik Windlass | 3b531fa | 2020-04-23 18:51:44 +0530 | [diff] [blame] | 367 | |
| 368 | Test Delete and ReAdd OLT for DT |
| 369 | [Documentation] Validates E2E Ping Connectivity and object states for the given scenario: |
| 370 | ... Assuming that all the ONUs are DHCP/pingable (i.e. assuming sanityDt test was executed) |
| 371 | ... Disable and Delete the OLT |
| 372 | ... Create/Enable the same OLT again |
| 373 | ... Validate DHCP/E2E pings succeed for all the ONUs connected to the OLT |
Hardik Windlass | 4353133 | 2021-05-19 07:07:03 +0000 | [diff] [blame] | 374 | [Tags] functionalDt DeleteReAddOLTDt soak |
Hardik Windlass | 3b531fa | 2020-04-23 18:51:44 +0530 | [diff] [blame] | 375 | [Setup] Start Logging DeleteReAddOLTDt |
Hardik Windlass | 4353133 | 2021-05-19 07:07:03 +0000 | [diff] [blame] | 376 | [Teardown] Run Keywords Run Keyword If ${logging} Collect Logs |
Hardik Windlass | 3b531fa | 2020-04-23 18:51:44 +0530 | [diff] [blame] | 377 | ... AND Stop Logging DeleteReAddOLTDt |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 378 | FOR ${I} IN RANGE 0 ${olt_count} |
| 379 | ${olt_serial_number}= Get From Dictionary ${olt_ids}[${I}] sn |
| 380 | ${of_id}= Get ofID From OLT List ${olt_serial_number} |
| 381 | Delete Device and Verify ${olt_serial_number} |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 382 | Wait Until Keyword Succeeds ${timeout} 5s |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 383 | ... Verify Device Flows Removed ${ONOS_SSH_IP} ${ONOS_SSH_PORT} ${of_id} |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 384 | END |
| 385 | # Recreate the OLTs |
Hardik Windlass | 4353133 | 2021-05-19 07:07:03 +0000 | [diff] [blame] | 386 | Setup ${SOAK_TEST} |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 387 | Run Keyword If ${has_dataplane} Clean Up Linux |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 388 | Perform Sanity Test DT |
Hardik Windlass | 3b531fa | 2020-04-23 18:51:44 +0530 | [diff] [blame] | 389 | |
| 390 | Test Disable ONUs and OLT Then Delete ONUs and OLT for DT |
| 391 | [Documentation] On deployed POD, disable the ONU, disable the OLT and then delete ONU and OLT. |
| 392 | ... This TC is to confirm that ONU removal is not impacting OLT |
| 393 | ... Devices will be removed during the execution of this TC |
| 394 | ... so calling setup at the end to add the devices back to avoid the confusion. |
| 395 | [Tags] functionalDt DisableDeleteONUOLTDt |
Girish Gowdra | 8fd9696 | 2021-12-14 16:20:04 +0530 | [diff] [blame] | 396 | [Setup] Run Keywords Start Logging DisableDeleteONUOLTDt |
| 397 | ... AND Run Keyword If ${has_dataplane} Set Non-Critical Tag for XGSPON Tech |
Hardik Windlass | 4353133 | 2021-05-19 07:07:03 +0000 | [diff] [blame] | 398 | [Teardown] Run Keywords Run Keyword If ${logging} Collect Logs |
Hardik Windlass | 3b531fa | 2020-04-23 18:51:44 +0530 | [diff] [blame] | 399 | ... AND Stop Logging DisableDeleteONUOLTDt |
Suchitra Vemuri | 0217055 | 2021-03-23 16:40:50 -0700 | [diff] [blame] | 400 | @{onu_reason}= Create List initial-mib-downloaded omci-flows-pushed |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 401 | FOR ${I} IN RANGE 0 ${num_all_onus} |
Hardik Windlass | 3b531fa | 2020-04-23 18:51:44 +0530 | [diff] [blame] | 402 | ${src}= Set Variable ${hosts.src[${I}]} |
| 403 | ${dst}= Set Variable ${hosts.dst[${I}]} |
| 404 | ${onu_device_id}= Get Device ID From SN ${src['onu']} |
| 405 | Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 5s |
| 406 | ... Validate Device ENABLED ACTIVE |
Suchitra Vemuri | 0217055 | 2021-03-23 16:40:50 -0700 | [diff] [blame] | 407 | ... REACHABLE ${src['onu']} onu=True onu_reason=${onu_reason} |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 408 | Wait Until Keyword Succeeds ${timeout} 5s |
Hardik Windlass | 3b531fa | 2020-04-23 18:51:44 +0530 | [diff] [blame] | 409 | ... Validate OLT Device ENABLED ACTIVE |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 410 | ... REACHABLE ${src['olt']} |
Hardik Windlass | 3b531fa | 2020-04-23 18:51:44 +0530 | [diff] [blame] | 411 | Disable Device ${onu_device_id} |
| 412 | Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 5s |
| 413 | ... Validate Device DISABLED UNKNOWN |
| 414 | ... REACHABLE ${src['onu']} onu=false |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 415 | Wait Until Keyword Succeeds ${timeout} 5s |
Hardik Windlass | 3b531fa | 2020-04-23 18:51:44 +0530 | [diff] [blame] | 416 | ... Validate OLT Device ENABLED ACTIVE |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 417 | ... REACHABLE ${src['olt']} |
Hardik Windlass | 3b531fa | 2020-04-23 18:51:44 +0530 | [diff] [blame] | 418 | END |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 419 | # Disable all OLTs |
| 420 | FOR ${I} IN RANGE 0 ${olt_count} |
| 421 | ${olt_serial_number}= Get From Dictionary ${olt_ids}[${I}] sn |
| 422 | ${olt_device_id}= Get OLTDeviceID From OLT List ${olt_serial_number} |
| 423 | ${rc} ${output}= Run and Return Rc and Output |
| 424 | ... ${VOLTCTL_CONFIG}; voltctl device disable ${olt_device_id} |
| 425 | Should Be Equal As Integers ${rc} 0 |
| 426 | Wait Until Keyword Succeeds ${timeout} 5s Validate OLT Device DISABLED UNKNOWN REACHABLE |
| 427 | ... ${olt_serial_number} |
| 428 | END |
| 429 | # Validate ONUs after OLT disable |
| 430 | FOR ${I} IN RANGE 0 ${num_all_onus} |
Hardik Windlass | 3b531fa | 2020-04-23 18:51:44 +0530 | [diff] [blame] | 431 | ${src}= Set Variable ${hosts.src[${I}]} |
| 432 | ${dst}= Set Variable ${hosts.dst[${I}]} |
| 433 | ${onu_device_id}= Get Device ID From SN ${src['onu']} |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 434 | Wait Until Keyword Succeeds ${timeout} 5s |
Hardik Windlass | 3b531fa | 2020-04-23 18:51:44 +0530 | [diff] [blame] | 435 | ... Validate Device DISABLED DISCOVERED |
| 436 | ... UNREACHABLE ${src['onu']} onu=false |
| 437 | Delete Device ${onu_device_id} |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 438 | Wait Until Keyword Succeeds ${timeout} 5s |
Hardik Windlass | 3b531fa | 2020-04-23 18:51:44 +0530 | [diff] [blame] | 439 | ... Validate OLT Device DISABLED UNKNOWN |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 440 | ... REACHABLE ${src['olt']} |
Hardik Windlass | 3b531fa | 2020-04-23 18:51:44 +0530 | [diff] [blame] | 441 | END |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 442 | # Delete all OLTs |
| 443 | Delete All Devices and Verify |
| 444 | |
| 445 | #Delete Device ${olt_device_id} |
| 446 | #TODO: Fix the following assertion |
| 447 | #Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 5s Test Empty Device List |
| 448 | #Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 5s |
| 449 | #... Verify Device Flows Removed ${ONOS_SSH_IP} ${ONOS_SSH_PORT} ${of_id} |
| 450 | |
Hardik Windlass | 3b531fa | 2020-04-23 18:51:44 +0530 | [diff] [blame] | 451 | # Re-do Setup (Recreate the OLT) and Perform Sanity Test DT |
| 452 | Run Keyword Setup |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 453 | Run Keyword If ${has_dataplane} Clean Up Linux |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 454 | Perform Sanity Test DT |
Hardik Windlass | 3b531fa | 2020-04-23 18:51:44 +0530 | [diff] [blame] | 455 | |
Andy Bavier | e19991a | 2020-05-08 10:42:40 -0700 | [diff] [blame] | 456 | Data plane verification using TCP for DT |
| 457 | [Documentation] Test bandwidth profile is met and not exceeded for each subscriber. |
| 458 | ... Assumes iperf3 and jq installed on client and iperf -s running on DHCP server |
Matteo Scandolo | ab48f9e | 2021-06-11 17:08:00 +0200 | [diff] [blame] | 459 | [Tags] non-critical dataplaneDt BandwidthProfileTCPDt VOL-3061 soakDataplane |
Andy Bavier | dfbcaef | 2020-05-27 15:34:18 -0700 | [diff] [blame] | 460 | [Setup] Start Logging BandwidthProfileTCPDt |
Hardik Windlass | 4353133 | 2021-05-19 07:07:03 +0000 | [diff] [blame] | 461 | [Teardown] Run Keywords Run Keyword If ${logging} Collect Logs |
Andy Bavier | dfbcaef | 2020-05-27 15:34:18 -0700 | [diff] [blame] | 462 | ... AND Stop Logging BandwidthProfileTCPDt |
Andy Bavier | e19991a | 2020-05-08 10:42:40 -0700 | [diff] [blame] | 463 | Pass Execution If '${has_dataplane}'=='False' Bandwidth profile validation can be done only in |
| 464 | ... physical pod. Skipping this test in BBSIM. |
Hardik Windlass | 3280f2d | 2021-05-20 07:38:31 +0000 | [diff] [blame] | 465 | Run Keyword If '${SOAK_TEST}'=='False' Clear All Devices Then Create New Device |
Hardik Windlass | 62db9d9 | 2021-05-17 09:32:40 +0000 | [diff] [blame] | 466 | ... ELSE Setup Soak |
Suchitra Vemuri | a4e3e07 | 2020-11-06 14:23:47 -0800 | [diff] [blame] | 467 | Run Keyword If ${has_dataplane} Clean Up Linux |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 468 | Perform Sanity Test DT |
Suchitra Vemuri | a4e3e07 | 2020-11-06 14:23:47 -0800 | [diff] [blame] | 469 | |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 470 | #${of_id}= Wait Until Keyword Succeeds ${timeout} 15s Validate OLT Device in ONOS |
| 471 | #... ${olt_serial_number} |
| 472 | FOR ${I} IN RANGE 0 ${num_all_onus} |
Andy Bavier | e19991a | 2020-05-08 10:42:40 -0700 | [diff] [blame] | 473 | ${src}= Set Variable ${hosts.src[${I}]} |
| 474 | ${dst}= Set Variable ${hosts.dst[${I}]} |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 475 | ${of_id}= Get ofID From OLT List ${src['olt']} |
Andy Bavier | f6ab19c | 2020-05-14 10:34:47 -0700 | [diff] [blame] | 476 | # Check for iperf3 and jq tools |
| 477 | ${stdout} ${stderr} ${rc}= Execute Remote Command which iperf3 jq |
| 478 | ... ${src['ip']} ${src['user']} ${src['pass']} ${src['container_type']} ${src['container_name']} |
| 479 | Pass Execution If ${rc} != 0 Skipping test: iperf3 / jq not found on the RG |
| 480 | |
Andy Bavier | e19991a | 2020-05-08 10:42:40 -0700 | [diff] [blame] | 481 | ${onu_port}= Wait Until Keyword Succeeds ${timeout} 2s Get ONU Port in ONOS ${src['onu']} |
| 482 | ... ${of_id} |
| 483 | ${subscriber_id}= Set Variable ${of_id}/${onu_port} |
| 484 | ${bandwidth_profile_name} Get Bandwidth Profile Name For Given Subscriber ${subscriber_id} |
| 485 | ... upstreamBandwidthProfile |
Girish Gowdra | 21ec25d | 2021-05-24 10:07:01 -0700 | [diff] [blame] | 486 | ${us_cir} ${us_cbs} ${us_pir} ${us_pbs} ${us_gir}= Get Bandwidth Profile Details Ietf Rest |
| 487 | ... ${bandwidth_profile_name} |
| 488 | ${limiting_bw_value_upstream}= Set Variable If ${us_pir} != 0 ${us_pir} ${us_gir} |
Andy Bavier | e19991a | 2020-05-08 10:42:40 -0700 | [diff] [blame] | 489 | ${bandwidth_profile_name} Get Bandwidth Profile Name For Given Subscriber ${subscriber_id} |
| 490 | ... downstreamBandwidthProfile |
Girish Gowdra | 21ec25d | 2021-05-24 10:07:01 -0700 | [diff] [blame] | 491 | ${ds_cir} ${ds_cbs} ${ds_pir} ${ds_pbs} ${ds_gir}= Get Bandwidth Profile Details Ietf Rest |
| 492 | ... ${bandwidth_profile_name} |
| 493 | ${limiting_bw_value_dnstream}= Set Variable If ${ds_pir} != 0 ${ds_pir} ${ds_gir} |
Andy Bavier | e19991a | 2020-05-08 10:42:40 -0700 | [diff] [blame] | 494 | |
| 495 | # Stream TCP packets from RG to server |
| 496 | ${updict}= Run Iperf3 Test Client ${src} server=${dst['dp_iface_ip_qinq']} |
| 497 | ... args=-t 30 |
| 498 | ${actual_upstream_bw_used}= Evaluate ${updict['end']['sum_received']['bits_per_second']}/1000 |
| 499 | |
| 500 | # Stream TCP packets from server to RG |
| 501 | ${dndict}= Run Iperf3 Test Client ${src} server=${dst['dp_iface_ip_qinq']} |
| 502 | ... args=-R -t 30 |
| 503 | ${actual_dnstream_bw_used}= Evaluate ${dndict['end']['sum_received']['bits_per_second']}/1000 |
| 504 | |
| 505 | ${pct_limit_up}= Evaluate 100*${actual_upstream_bw_used}/${limiting_bw_value_upstream} |
| 506 | ${pct_limit_dn}= Evaluate 100*${actual_dnstream_bw_used}/${limiting_bw_value_dnstream} |
| 507 | Log Up: bwprof ${limiting_bw_value_upstream}Kbps, got ${actual_upstream_bw_used}Kbps (${pct_limit_up}%) |
| 508 | Log Down: bwprof ${limiting_bw_value_dnstream}Kbps, got ${actual_dnstream_bw_used}Kbps (${pct_limit_dn}%) |
| 509 | |
| 510 | Should Be True ${pct_limit_up} <= ${upper_margin_pct} |
| 511 | ... The upstream bandwidth exceeded the limit (${pct_limit_up}% of limit) |
Andy Bavier | 7613b9a | 2020-07-08 07:25:47 -0700 | [diff] [blame] | 512 | # VOL-3125: downstream bw limit not enforced. Uncomment when fixed. |
| 513 | #Should Be True ${pct_limit_dn} <= ${upper_margin_pct} |
| 514 | #... The downstream bandwidth exceeded the limit (${pct_limit_dn}% of limit) |
Andy Bavier | e19991a | 2020-05-08 10:42:40 -0700 | [diff] [blame] | 515 | Should Be True ${pct_limit_up} >= ${lower_margin_pct} |
| 516 | ... The upstream bandwidth guarantee was not met (${pct_limit_up}% of resv) |
| 517 | Should Be True ${pct_limit_dn} >= ${lower_margin_pct} |
| 518 | ... The downstream bandwidth guarantee was not met (${pct_limit_dn}% of resv) |
| 519 | END |
| 520 | |
| 521 | Data plane verification using UDP for DT |
| 522 | [Documentation] Test bandwidth profile is met and not exceeded for each subscriber. |
| 523 | ... Assumes iperf3 and jq installed on client and iperf -s running on DHCP server |
Matteo Scandolo | ab48f9e | 2021-06-11 17:08:00 +0200 | [diff] [blame] | 524 | [Tags] non-critical dataplaneDt BandwidthProfileUDPDt VOL-3061 soakDataplane |
Andy Bavier | dfbcaef | 2020-05-27 15:34:18 -0700 | [diff] [blame] | 525 | [Setup] Start Logging BandwidthProfileUDPDt |
Hardik Windlass | 4353133 | 2021-05-19 07:07:03 +0000 | [diff] [blame] | 526 | [Teardown] Run Keywords Run Keyword If ${logging} Collect Logs |
Andy Bavier | dfbcaef | 2020-05-27 15:34:18 -0700 | [diff] [blame] | 527 | ... AND Stop Logging BandwidthProfileUDPDt |
Andy Bavier | e19991a | 2020-05-08 10:42:40 -0700 | [diff] [blame] | 528 | Pass Execution If '${has_dataplane}'=='False' Bandwidth profile validation can be done only in |
| 529 | ... physical pod. Skipping this test in BBSIM. |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 530 | FOR ${I} IN RANGE 0 ${num_all_onus} |
Andy Bavier | e19991a | 2020-05-08 10:42:40 -0700 | [diff] [blame] | 531 | ${src}= Set Variable ${hosts.src[${I}]} |
| 532 | ${dst}= Set Variable ${hosts.dst[${I}]} |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 533 | ${of_id}= Get ofID From OLT List ${src['olt']} |
Andy Bavier | 7613b9a | 2020-07-08 07:25:47 -0700 | [diff] [blame] | 534 | |
| 535 | # Check for iperf3 and jq tools |
| 536 | ${stdout} ${stderr} ${rc}= Execute Remote Command which iperf3 jq |
| 537 | ... ${src['ip']} ${src['user']} ${src['pass']} ${src['container_type']} ${src['container_name']} |
| 538 | Pass Execution If ${rc} != 0 Skipping test: iperf3 / jq not found on the RG |
| 539 | |
Andy Bavier | e19991a | 2020-05-08 10:42:40 -0700 | [diff] [blame] | 540 | ${onu_port}= Wait Until Keyword Succeeds ${timeout} 2s Get ONU Port in ONOS ${src['onu']} |
| 541 | ... ${of_id} |
| 542 | ${subscriber_id}= Set Variable ${of_id}/${onu_port} |
| 543 | ${bandwidth_profile_name} Get Bandwidth Profile Name For Given Subscriber ${subscriber_id} |
| 544 | ... upstreamBandwidthProfile |
Girish Gowdra | 21ec25d | 2021-05-24 10:07:01 -0700 | [diff] [blame] | 545 | ${us_cir} ${us_cbs} ${us_pir} ${us_pbs} ${us_gir}= Get Bandwidth Profile Details Ietf Rest |
| 546 | ... ${bandwidth_profile_name} |
| 547 | ${limiting_bw_value_upstream}= Set Variable If ${us_pir} != 0 ${us_pir} ${us_gir} |
Andy Bavier | e19991a | 2020-05-08 10:42:40 -0700 | [diff] [blame] | 548 | ${bandwidth_profile_name} Get Bandwidth Profile Name For Given Subscriber ${subscriber_id} |
| 549 | ... downstreamBandwidthProfile |
Girish Gowdra | 21ec25d | 2021-05-24 10:07:01 -0700 | [diff] [blame] | 550 | ${ds_cir} ${ds_cbs} ${ds_pir} ${ds_pbs} ${ds_gir}= Get Bandwidth Profile Details Ietf Rest |
| 551 | ... ${bandwidth_profile_name} |
| 552 | ${limiting_bw_value_dnstream}= Set Variable If ${ds_pir} != 0 ${ds_pir} ${ds_gir} |
Andy Bavier | e19991a | 2020-05-08 10:42:40 -0700 | [diff] [blame] | 553 | |
| 554 | # Stream UDP packets from RG to server |
Andrea Campanella | 1d34bfc | 2020-08-06 09:58:49 +0200 | [diff] [blame] | 555 | ${uprate}= Run Keyword If ${limiting_bw_value_upstream} != 1000000 |
| 556 | ... Evaluate ${limiting_bw_value_upstream}*${udp_rate_multiplier} |
Andrea Campanella | 580e049 | 2020-08-05 15:35:48 +0200 | [diff] [blame] | 557 | ... ELSE |
Andrea Campanella | 1d34bfc | 2020-08-06 09:58:49 +0200 | [diff] [blame] | 558 | ... Set Variable ${limiting_bw_value_upstream} |
Andrea Campanella | 580e049 | 2020-08-05 15:35:48 +0200 | [diff] [blame] | 559 | |
Andy Bavier | e19991a | 2020-05-08 10:42:40 -0700 | [diff] [blame] | 560 | ${updict}= Run Iperf3 Test Client ${src} server=${dst['dp_iface_ip_qinq']} |
Andy Bavier | 7dc5062 | 2020-05-28 14:34:12 -0700 | [diff] [blame] | 561 | ... args=-u -b ${uprate}K -t 30 -l ${udp_packet_bytes} --pacing-timer 0 |
Andy Bavier | e19991a | 2020-05-08 10:42:40 -0700 | [diff] [blame] | 562 | # With UDP test, bits per second is the sending rate. Multiply by the loss rate to get the throughput. |
| 563 | ${actual_upstream_bw_used}= Evaluate |
| 564 | ... (100 - ${updict['end']['sum']['lost_percent']})*${updict['end']['sum']['bits_per_second']}/100000 |
| 565 | |
| 566 | # Stream UDP packets from server to RG |
Andrea Campanella | 1d34bfc | 2020-08-06 09:58:49 +0200 | [diff] [blame] | 567 | ${dnrate}= Run Keyword If ${limiting_bw_value_dnstream} != 1000000 |
| 568 | ... Evaluate ${limiting_bw_value_dnstream}*${udp_rate_multiplier} |
Andrea Campanella | 580e049 | 2020-08-05 15:35:48 +0200 | [diff] [blame] | 569 | ... ELSE |
Andrea Campanella | 1d34bfc | 2020-08-06 09:58:49 +0200 | [diff] [blame] | 570 | ... Set Variable ${limiting_bw_value_dnstream} |
Andy Bavier | e19991a | 2020-05-08 10:42:40 -0700 | [diff] [blame] | 571 | ${dndict}= Run Iperf3 Test Client ${src} server=${dst['dp_iface_ip_qinq']} |
Andy Bavier | 7dc5062 | 2020-05-28 14:34:12 -0700 | [diff] [blame] | 572 | ... args=-u -b ${dnrate}K -R -t 30 -l ${udp_packet_bytes} --pacing-timer 0 |
Andy Bavier | e19991a | 2020-05-08 10:42:40 -0700 | [diff] [blame] | 573 | # With UDP test, bits per second is the sending rate. Multiply by the loss rate to get the throughput. |
| 574 | ${actual_dnstream_bw_used}= Evaluate |
| 575 | ... (100 - ${dndict['end']['sum']['lost_percent']})*${dndict['end']['sum']['bits_per_second']}/100000 |
| 576 | |
| 577 | ${pct_limit_up}= Evaluate 100*${actual_upstream_bw_used}/${limiting_bw_value_upstream} |
| 578 | ${pct_limit_dn}= Evaluate 100*${actual_dnstream_bw_used}/${limiting_bw_value_dnstream} |
| 579 | Log Up: bwprof ${limiting_bw_value_upstream}Kbps, got ${actual_upstream_bw_used}Kbps (${pct_limit_up}%) |
| 580 | Log Down: bwprof ${limiting_bw_value_dnstream}Kbps, got ${actual_dnstream_bw_used}Kbps (${pct_limit_dn}%) |
| 581 | |
| 582 | Should Be True ${pct_limit_up} <= ${upper_margin_pct} |
| 583 | ... The upstream bandwidth exceeded the limit (${pct_limit_up}% of limit) |
Andy Bavier | 7613b9a | 2020-07-08 07:25:47 -0700 | [diff] [blame] | 584 | # VOL-3125: downstream bw limit not enforced. Uncomment when fixed. |
| 585 | #Should Be True ${pct_limit_dn} <= ${upper_margin_pct} |
| 586 | #... The downstream bandwidth exceeded the limit (${pct_limit_dn}% of limit) |
Andy Bavier | e19991a | 2020-05-08 10:42:40 -0700 | [diff] [blame] | 587 | Should Be True ${pct_limit_up} >= ${lower_margin_pct} |
| 588 | ... The upstream bandwidth guarantee was not met (${pct_limit_up}% of resv) |
| 589 | Should Be True ${pct_limit_dn} >= ${lower_margin_pct} |
| 590 | ... The downstream bandwidth guarantee was not met (${pct_limit_dn}% of resv) |
| 591 | END |
| 592 | |
Andy Bavier | 7613b9a | 2020-07-08 07:25:47 -0700 | [diff] [blame] | 593 | Validate parsing of data traffic through voltha using tech profile |
| 594 | [Documentation] Assuming that test1 was executed where all the ONUs are authenticated/DHCP/pingable |
| 595 | ... Prerequisite tools : Tcpdump and Mausezahn traffic generator on both RG and DHCP/BNG VMs |
| 596 | ... Install jq tool to read json file, where test suite is being running |
Girish Gowdra | bbfbbc3 | 2021-05-17 14:36:58 -0700 | [diff] [blame] | 597 | ... This test sends TCP packets with pbits between 0 and 7 and validates that |
Andy Bavier | 7613b9a | 2020-07-08 07:25:47 -0700 | [diff] [blame] | 598 | ... the pbits are preserved by the PON. |
Hardik Windlass | 62db9d9 | 2021-05-17 09:32:40 +0000 | [diff] [blame] | 599 | [Tags] dataplaneDt TechProfileDt VOL-3291 soakDataplane |
Andy Bavier | 7613b9a | 2020-07-08 07:25:47 -0700 | [diff] [blame] | 600 | [Setup] Start Logging TechProfileDt |
Hardik Windlass | 4353133 | 2021-05-19 07:07:03 +0000 | [diff] [blame] | 601 | [Teardown] Run Keywords Run Keyword If ${logging} Collect Logs |
Andy Bavier | 7613b9a | 2020-07-08 07:25:47 -0700 | [diff] [blame] | 602 | ... AND Stop Logging TechProfileDt |
| 603 | Pass Execution If '${has_dataplane}'=='False' |
| 604 | ... Skipping test: Technology profile validation can be done only in physical pod |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 605 | FOR ${I} IN RANGE 0 ${num_all_onus} |
Andy Bavier | 7613b9a | 2020-07-08 07:25:47 -0700 | [diff] [blame] | 606 | ${src}= Set Variable ${hosts.src[${I}]} |
| 607 | ${dst}= Set Variable ${hosts.dst[${I}]} |
| 608 | |
Andy Bavier | 275414a | 2020-07-16 13:07:17 -0700 | [diff] [blame] | 609 | ${src_iface_name}= Fetch From Left ${src['dp_iface_name']} . |
| 610 | |
Andy Bavier | 7613b9a | 2020-07-08 07:25:47 -0700 | [diff] [blame] | 611 | ${bng_ip}= Get Variable Value ${dst['noroot_ip']} |
| 612 | ${bng_user}= Get Variable Value ${dst['noroot_user']} |
| 613 | ${bng_pass}= Get Variable Value ${dst['noroot_pass']} |
| 614 | Pass Execution If "${bng_ip}" == "${NONE}" or "${bng_user}" == "${NONE}" or "${bng_pass}" == "${NONE}" |
| 615 | ... Skipping test: credentials for BNG login required in deployment config |
| 616 | |
| 617 | ${stdout} ${stderr} ${rc}= Execute Remote Command which mausezahn tcpdump |
| 618 | ... ${src['ip']} ${src['user']} ${src['pass']} ${src['container_type']} ${src['container_name']} |
| 619 | Pass Execution If ${rc} != 0 Skipping test: mausezahn / tcpdump not found on the RG |
| 620 | ${stdout} ${stderr} ${rc}= Execute Remote Command which mausezahn tcpdump |
| 621 | ... ${bng_ip} ${bng_user} ${bng_pass} ${dst['container_type']} ${dst['container_name']} |
| 622 | Pass Execution If ${rc} != 0 Skipping test: mausezahn / tcpdump not found on the BNG |
| 623 | Log Upstream test |
| 624 | Run Keyword If ${has_dataplane} Create traffic with each pbit and capture at other end |
Andy Bavier | 275414a | 2020-07-16 13:07:17 -0700 | [diff] [blame] | 625 | ... ${dst['dp_iface_ip_qinq']} ${dst['dp_iface_name']} ${src_iface_name} |
Girish Gowdra | 66cd95d | 2021-07-08 10:31:54 -0700 | [diff] [blame] | 626 | ... 0 tcp ${src['c_tag']} ${src['s_tag']} upstream vlan |
Andy Bavier | 7613b9a | 2020-07-08 07:25:47 -0700 | [diff] [blame] | 627 | ... ${bng_ip} ${bng_user} ${bng_pass} ${dst['container_type']} ${dst['container_name']} |
| 628 | ... ${src['ip']} ${src['user']} ${src['pass']} ${src['container_type']} ${src['container_name']} |
| 629 | Log Downstream test |
| 630 | ${rg_ip} ${stderr} ${rc}= Execute Remote Command |
| 631 | ... ifconfig ${src['dp_iface_name']} | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1 }' |
| 632 | ... ${src['ip']} ${src['user']} ${src['pass']} ${src['container_type']} ${src['container_name']} |
| 633 | Should Be Equal As Integers ${rc} 0 Could not get RG's IP address |
| 634 | Run Keyword If ${has_dataplane} Create traffic with each pbit and capture at other end |
Girish Gowdra | 66cd95d | 2021-07-08 10:31:54 -0700 | [diff] [blame] | 635 | ... ${rg_ip} ${src_iface_name} ${dst['dp_iface_name']} |
| 636 | ... 0 tcp ${src['c_tag']} ${src['s_tag']} downstream tcp |
Andy Bavier | 7613b9a | 2020-07-08 07:25:47 -0700 | [diff] [blame] | 637 | ... ${src['ip']} ${src['user']} ${src['pass']} ${src['container_type']} ${src['container_name']} |
| 638 | ... ${bng_ip} ${bng_user} ${bng_pass} ${dst['container_type']} ${dst['container_name']} |
| 639 | END |
| 640 | |
Hardik Windlass | 16cdf96 | 2020-04-29 15:26:50 +0530 | [diff] [blame] | 641 | Test Disable and Enable OLT PON Port for DT |
| 642 | [Documentation] Validates E2E Ping Connectivity and object states for the given scenario: |
| 643 | ... Assuming that all the ONUs are DHCP/pingable (i.e. assuming sanityDt test was executed) |
| 644 | ... Perform disable on the OLT PON Port and validate that the pings do not succeed |
| 645 | ... Perform enable on the OLT PON Port and validate that the pings are successful |
Hardik Windlass | 4353133 | 2021-05-19 07:07:03 +0000 | [diff] [blame] | 646 | [Tags] functionalDt DisableEnableOltPonPortDt VOL-2577 soak |
Girish Gowdra | 8fd9696 | 2021-12-14 16:20:04 +0530 | [diff] [blame] | 647 | [Setup] Run Keywords Start Logging DisableEnableOltPonPortDt |
| 648 | ... AND Run Keyword If ${has_dataplane} Set Non-Critical Tag for XGSPON Tech |
Hardik Windlass | 4353133 | 2021-05-19 07:07:03 +0000 | [diff] [blame] | 649 | [Teardown] Run Keywords Run Keyword If ${logging} Collect Logs |
Hardik Windlass | 16cdf96 | 2020-04-29 15:26:50 +0530 | [diff] [blame] | 650 | ... AND Stop Logging DisableEnableOltPonPortDt |
Hardik Windlass | 41701e8 | 2021-01-12 17:44:44 +0000 | [diff] [blame] | 651 | FOR ${I} IN RANGE 0 ${olt_count} |
| 652 | ${olt_serial_number}= Get From Dictionary ${olt_ids}[${I}] sn |
| 653 | Disable Enable PON Port Per OLT DT ${olt_serial_number} |
Hardik Windlass | 16cdf96 | 2020-04-29 15:26:50 +0530 | [diff] [blame] | 654 | END |
| 655 | |
Hardik Windlass | 91cc529 | 2021-07-26 10:09:40 +0000 | [diff] [blame] | 656 | Data plane Bandwidth profile update verification for DT |
| 657 | [Documentation] Test bandwidth profile is updated for one subscriber and not changed for other subscribers. |
| 658 | ... Assumes iperf3 and jq installed on client and iperf -s running on DHCP server |
| 659 | ... Assumes Default and User_Bandwidth2 profiles are configured as bandwidth profiles |
| 660 | [Tags] non-critical dataplaneDt BandwidthProfileUpdateTCPDt VOL-2549 |
| 661 | [Setup] Start Logging BandwidthProfileUpdateTCPDt |
| 662 | [Teardown] Run Keywords Collect Logs |
| 663 | ... AND Stop Logging BandwidthProfileUpdateTCPDt |
| 664 | ... AND Send File To Onos ${CURDIR}/../../tests/data/${POD_NAME}-sadis-DT.json |
| 665 | Pass Execution If '${has_dataplane}'=='False' |
| 666 | ... Bandwidth profile validation can be done only in physical pod. Skipping this test in BBSIM. |
| 667 | Delete All Devices And Verify |
| 668 | Run Keyword If ${has_dataplane} Clean Up Linux |
| 669 | Setup |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 670 | Perform Sanity Test DT |
Hardik Windlass | 91cc529 | 2021-07-26 10:09:40 +0000 | [diff] [blame] | 671 | # Update the Bandwidth Profile for the First Subscriber under test |
| 672 | ${src}= Set Variable ${hosts.src[${0}]} |
| 673 | ${dst}= Set Variable ${hosts.dst[${0}]} |
| 674 | ${of_id}= Get ofID From OLT List ${src['olt']} |
TorstenThieme | dda3765 | 2021-11-11 16:22:05 +0000 | [diff] [blame] | 675 | ${nni_port}= Wait Until Keyword Succeeds ${timeout} 2s Get NNI Port in ONOS ${of_id} |
Hardik Windlass | 91cc529 | 2021-07-26 10:09:40 +0000 | [diff] [blame] | 676 | ${onu_device_id}= Get Device ID From SN ${src['onu']} |
| 677 | ${onu_port}= Wait Until Keyword Succeeds ${timeout} 2s Get ONU Port in ONOS ${src['onu']} |
| 678 | ... ${of_id} ${src['uni_id']} |
| 679 | ${subscriber_id}= Set Variable ${of_id}/${onu_port} |
| 680 | ${oldBwName} Get Bandwidth Profile Name For Given Subscriber ${subscriber_id} upstreamBandwidthProfile |
| 681 | # Delete the existing subscriber |
| 682 | Wait Until Keyword Succeeds ${timeout} 2s Execute ONOS CLI Command use single connection ${ONOS_SSH_IP} |
| 683 | ... ${ONOS_SSH_PORT} volt-remove-subscriber-access ${of_id} ${onu_port} |
| 684 | # Verify VOLTHA flows for ONU under test is Zero |
| 685 | Run Keyword Wait Until Keyword Succeeds ${timeout} 5s Validate Device Flows |
| 686 | ... ${onu_device_id} 0 |
| 687 | # Disable and Re-Enable the ONU (To replicate DT current workflow) |
| 688 | # TODO: Delete and Auto-Discovery Add of ONU (not yet supported) |
| 689 | Disable Device ${onu_device_id} |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 690 | Wait Until Keyword Succeeds ${timeout} 5s |
Hardik Windlass | 91cc529 | 2021-07-26 10:09:40 +0000 | [diff] [blame] | 691 | ... Validate Device DISABLED UNKNOWN |
| 692 | ... REACHABLE ${src['onu']} |
| 693 | Enable Device ${onu_device_id} |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 694 | Wait Until Keyword Succeeds 360s 5s |
Hardik Windlass | 91cc529 | 2021-07-26 10:09:40 +0000 | [diff] [blame] | 695 | ... Validate Device ENABLED ACTIVE |
| 696 | ... REACHABLE ${src['onu']} |
| 697 | # Change the bandwidth profile and load the configuration |
| 698 | ${newBwName} Set Variable If ${oldBwName} == 'Default' 'User_Bandwidth2' 'Default' |
| 699 | ${cmd} Catenate |
| 700 | ... sed 's/upstreamBandwidthProfile": "${oldBwName}"/upstreamBandwidthProfile": "${newBwName}"/g' |
| 701 | ... ${CURDIR}/../../tests/data/${POD_NAME}-sadis-DT.json > ${CURDIR}/../../tests/data/${POD_NAME}-sadis-new.json |
| 702 | ${rc} Run and Return RC ${cmd} |
| 703 | Send File To Onos ${CURDIR}/../../tests/data/${POD_NAME}-sadis-new.json |
| 704 | # Re-add the subscriber with new bandwidth profile |
| 705 | Wait Until Keyword Succeeds ${timeout} 2s Execute ONOS CLI Command use single connection ${ONOS_SSH_IP} |
| 706 | ... ${ONOS_SSH_PORT} volt-add-subscriber-access ${of_id} ${onu_port} |
| 707 | # Verify subscriber access flows are added for the ONU port |
| 708 | Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 5s |
| 709 | ... Verify Subscriber Access Flows Added For ONU DT ${ONOS_SSH_IP} ${ONOS_SSH_PORT} ${of_id} |
| 710 | ... ${onu_port} ${nni_port} ${src['s_tag']} |
| 711 | # Verify ONU state in voltha |
| 712 | Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 5s Validate Device |
| 713 | ... ENABLED ACTIVE REACHABLE |
| 714 | ... ${src['onu']} onu=True onu_reason=omci-flows-pushed |
| 715 | # Verify Meters in ONOS |
Hardik Windlass | 5d537ad | 2021-11-16 06:01:54 +0000 | [diff] [blame] | 716 | Wait Until Keyword Succeeds ${timeout} 5s |
Hardik Windlass | 91cc529 | 2021-07-26 10:09:40 +0000 | [diff] [blame] | 717 | ... Verify Meters in ONOS Ietf ${ONOS_SSH_IP} ${ONOS_SSH_PORT} ${of_id} ${onu_port} |
Hardik Windlass | 3f75b60 | 2021-12-14 05:55:18 +0000 | [diff] [blame] | 718 | # Workaround for issue seen in VOL-4489. Keep this workaround until VOL-4489 is fixed. |
| 719 | Run Keyword If ${has_dataplane} Reboot XGSPON ONU ${src['olt']} ${src['onu']} omci-flows-pushed |
| 720 | # Workaround ends here for issue seen in VOL-4489. |
Hardik Windlass | 91cc529 | 2021-07-26 10:09:40 +0000 | [diff] [blame] | 721 | Run Keyword If ${has_dataplane} Run Keyword And Continue On Failure Validate DHCP and Ping True |
| 722 | ... True ${src['dp_iface_name']} ${src['s_tag']} ${src['c_tag']} ${dst['dp_iface_ip_qinq']} |
| 723 | ... ${src['ip']} ${src['user']} ${src['pass']} ${src['container_type']} ${src['container_name']} |
| 724 | ... ${dst['dp_iface_name']} ${dst['ip']} ${dst['user']} ${dst['pass']} ${dst['container_type']} |
| 725 | ... ${dst['container_name']} |
| 726 | # Verify new bandwidth profile is applied and other subscribers are working fine |
| 727 | ${checkBwName} Get Bandwidth Profile Name For Given Subscriber ${subscriber_id} upstreamBandwidthProfile |
| 728 | Should Be Equal ${checkBwName} ${newBwName} The bandwidth profile is not updated properly |
| 729 | FOR ${I} IN RANGE 0 ${num_all_onus} |
| 730 | ${src}= Set Variable ${hosts.src[${I}]} |
| 731 | ${dst}= Set Variable ${hosts.dst[${I}]} |
| 732 | ${of_id}= Get ofID From OLT List ${src['olt']} |
| 733 | # Check for iperf3 and jq tools |
| 734 | ${stdout} ${stderr} ${rc}= Execute Remote Command which iperf3 jq |
| 735 | ... ${src['ip']} ${src['user']} ${src['pass']} ${src['container_type']} ${src['container_name']} |
| 736 | Pass Execution If ${rc} != 0 Skipping test: iperf3 / jq not found on the RG |
| 737 | |
| 738 | ${onu_port}= Wait Until Keyword Succeeds ${timeout} 2s Get ONU Port in ONOS ${src['onu']} |
| 739 | ... ${of_id} |
| 740 | ${subscriber_id}= Set Variable ${of_id}/${onu_port} |
| 741 | ${bandwidth_profile_name} Get Bandwidth Profile Name For Given Subscriber ${subscriber_id} |
| 742 | ... upstreamBandwidthProfile |
| 743 | ${us_cir} ${us_cbs} ${us_pir} ${us_pbs} ${us_gir}= Get Bandwidth Profile Details Ietf Rest |
| 744 | ... ${bandwidth_profile_name} |
| 745 | ${limiting_bw_value_upstream}= Set Variable If ${us_pir} != 0 ${us_pir} ${us_gir} |
| 746 | ${bandwidth_profile_name} Get Bandwidth Profile Name For Given Subscriber ${subscriber_id} |
| 747 | ... downstreamBandwidthProfile |
| 748 | ${ds_cir} ${ds_cbs} ${ds_pir} ${ds_pbs} ${ds_gir}= Get Bandwidth Profile Details Ietf Rest |
| 749 | ... ${bandwidth_profile_name} |
| 750 | ${limiting_bw_value_dnstream}= Set Variable If ${ds_pir} != 0 ${ds_pir} ${ds_gir} |
| 751 | |
| 752 | # Stream TCP packets from RG to server |
| 753 | ${updict}= Run Iperf3 Test Client ${src} server=${dst['dp_iface_ip_qinq']} |
| 754 | ... args=-t 30 |
| 755 | ${actual_upstream_bw_used}= Evaluate ${updict['end']['sum_received']['bits_per_second']}/1000 |
| 756 | |
| 757 | # Stream TCP packets from server to RG |
| 758 | ${dndict}= Run Iperf3 Test Client ${src} server=${dst['dp_iface_ip_qinq']} |
| 759 | ... args=-R -t 30 |
| 760 | ${actual_dnstream_bw_used}= Evaluate ${dndict['end']['sum_received']['bits_per_second']}/1000 |
| 761 | |
| 762 | ${pct_limit_up}= Evaluate 100*${actual_upstream_bw_used}/${limiting_bw_value_upstream} |
| 763 | ${pct_limit_dn}= Evaluate 100*${actual_dnstream_bw_used}/${limiting_bw_value_dnstream} |
| 764 | Log Up: bwprof ${limiting_bw_value_upstream}Kbps, got ${actual_upstream_bw_used}Kbps (${pct_limit_up}%) |
| 765 | Log Down: bwprof ${limiting_bw_value_dnstream}Kbps, got ${actual_dnstream_bw_used}Kbps (${pct_limit_dn}%) |
| 766 | |
| 767 | Should Be True ${pct_limit_up} <= ${upper_margin_pct} |
| 768 | ... The upstream bandwidth exceeded the limit (${pct_limit_up}% of limit) |
| 769 | # VOL-3125: downstream bw limit not enforced. Uncomment when fixed. |
| 770 | #Should Be True ${pct_limit_dn} <= ${upper_margin_pct} |
| 771 | #... The downstream bandwidth exceeded the limit (${pct_limit_dn}% of limit) |
| 772 | Should Be True ${pct_limit_up} >= ${lower_margin_pct} |
| 773 | ... The upstream bandwidth guarantee was not met (${pct_limit_up}% of resv) |
| 774 | Should Be True ${pct_limit_dn} >= ${lower_margin_pct} |
| 775 | ... The downstream bandwidth guarantee was not met (${pct_limit_dn}% of resv) |
| 776 | END |
| 777 | |
Hardik Windlass | b75cf1b | 2021-01-18 06:59:09 +0000 | [diff] [blame] | 778 | |
| 779 | Test ONU Delete and Auto-Discovery for DT |
| 780 | [Documentation] Tests the voltctl delete and Auto-Discovery of the ONU |
| 781 | [Tags] functionalDt VOL-3098 ONUAutoDiscoveryDt notready |
| 782 | [Setup] Start Logging ONUAutoDiscoveryDt |
| 783 | [Teardown] Run Keywords Run Keyword If ${logging} Collect Logs |
| 784 | ... AND Stop Logging ONUAutoDiscoveryDt |
| 785 | Clear All Devices Then Create New Device |
| 786 | # Performing Sanity Test to make sure subscribers are all AUTH+DHCP and pingable |
| 787 | Run Keyword If ${has_dataplane} Clean Up Linux |
| 788 | Perform Sanity Test DT |
| 789 | FOR ${I} IN RANGE 0 ${num_all_onus} |
| 790 | ${src}= Set Variable ${hosts.src[${I}]} |
| 791 | ${dst}= Set Variable ${hosts.dst[${I}]} |
| 792 | ${onu_device_id}= Get Device ID From SN ${src['onu']} |
| 793 | ${of_id}= Get ofID From OLT List ${src['olt']} |
| 794 | ${nni_port}= Wait Until Keyword Succeeds ${timeout} 2s Get NNI Port in ONOS ${of_id} |
| 795 | # Delete ONU and Verify Ping Fails |
| 796 | Delete Device ${onu_device_id} |
| 797 | Run Keyword If ${has_dataplane} Verify ping is successful except for given device |
| 798 | ... ${num_all_onus} ${src['onu']} |
| 799 | # Verify that no pending flows exist for the ONU port |
| 800 | Wait Until Keyword Succeeds ${timeout} 2s |
| 801 | ... Verify No Pending Flows For ONU ${ONOS_SSH_IP} ${ONOS_SSH_PORT} ${onu_port} |
| 802 | # ONU Auto-Discovery |
| 803 | ${onu_port}= Wait Until Keyword Succeeds ${timeout} 2s |
| 804 | ... Get ONU Port in ONOS ${src['onu']} ${of_id} |
| 805 | # Check ONU port is Enabled in ONOS |
| 806 | Wait Until Keyword Succeeds ${timeout} 2s |
| 807 | ... Verify UNI Port Is Enabled ${ONOS_SSH_IP} ${ONOS_SSH_PORT} ${src['onu']} |
| 808 | ${onu_device_id}= Get Device ID From SN ${src['onu']} |
| 809 | Run Keyword If ${has_dataplane} Clean Up Linux ${onu_device_id} |
| 810 | # Verify ONU state in voltha |
| 811 | Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 5s |
| 812 | ... Validate Device ENABLED ACTIVE REACHABLE |
| 813 | ... ${src['onu']} onu=True onu_reason=omci-flows-pushed |
| 814 | # Verify that no pending flows exist for the ONU port |
| 815 | Wait Until Keyword Succeeds ${timeout} 2s |
| 816 | ... Verify No Pending Flows For ONU ${ONOS_SSH_IP} ${ONOS_SSH_PORT} ${onu_port} |
| 817 | # Verify subscriber access flows are added for the ONU port |
| 818 | Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 5s |
| 819 | ... Verify Subscriber Access Flows Added For ONU DT ${ONOS_SSH_IP} ${ONOS_SSH_PORT} ${of_id} |
| 820 | ... ${onu_port} ${nni_port} ${src['s_tag']} |
| 821 | # Verify Meters in ONOS |
| 822 | Wait Until Keyword Succeeds ${timeout} 5s |
| 823 | ... Verify Meters in ONOS Ietf ${ONOS_SSH_IP} ${ONOS_SSH_PORT} ${of_id} ${onu_port} |
| 824 | Run Keyword If ${has_dataplane} Validate DHCP and Ping True |
| 825 | ... True ${src['dp_iface_name']} ${src['s_tag']} ${src['c_tag']} ${dst['dp_iface_ip_qinq']} |
| 826 | ... ${src['ip']} ${src['user']} ${src['pass']} ${src['container_type']} ${src['container_name']} |
| 827 | ... ${dst['dp_iface_name']} ${dst['ip']} ${dst['user']} ${dst['pass']} ${dst['container_type']} |
| 828 | ... ${dst['container_name']} |
| 829 | END |
| 830 | # Verify flows for all OLTs |
| 831 | Wait Until Keyword Succeeds ${timeout} 5s Validate All OLT Flows |
| 832 | |
| 833 | |
Hardik Windlass | a3d04b9 | 2020-02-17 15:06:05 +0000 | [diff] [blame] | 834 | *** Keywords *** |
| 835 | Setup Suite |
| 836 | [Documentation] Set up the test suite |
| 837 | Common Test Suite Setup |
Hung-Wei Chiu | cc6e655 | 2020-06-04 12:57:38 -0700 | [diff] [blame] | 838 | #Restore all ONUs |
Suchitra Vemuri | a6879aa | 2020-11-03 11:03:11 -0800 | [diff] [blame] | 839 | #Run Keyword If ${has_dataplane} RestoreONUs ${num_all_onus} |
Suchitra Vemuri | 1d8e817 | 2020-06-17 17:43:56 -0700 | [diff] [blame] | 840 | #power_switch.robot needs it to support different vendor's power switch |
| 841 | ${switch_type}= Get Variable Value ${web_power_switch.type} |
| 842 | Run Keyword If "${switch_type}"!="" Set Global Variable ${powerswitch_type} ${switch_type} |
Hardik Windlass | a3d04b9 | 2020-02-17 15:06:05 +0000 | [diff] [blame] | 843 | |
| 844 | Clear All Devices Then Create New Device |
| 845 | [Documentation] Remove any devices from VOLTHA and ONOS |
| 846 | # Remove all devices from voltha and nos |
| 847 | Delete All Devices and Verify |
| 848 | # Execute normal test Setup Keyword |
| 849 | Setup |
Girish Gowdra | d2c0e9d | 2021-11-23 14:40:23 -0800 | [diff] [blame] | 850 | |