Suchitra Vemuri | 3f8b0f6 | 2019-09-12 13:25:16 -0700 | [diff] [blame] | 1 | #Copyright 2017-present Open Networking Foundation |
Suchitra Vemuri | 65cd65f | 2019-08-30 14:39:22 -0700 | [diff] [blame] | 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 | |
Matteo Scandolo | 1294aeb | 2019-09-24 16:20:32 -0700 | [diff] [blame] | 15 | # FIXME Can we use the same test against BBSim and Hardware? |
| 16 | |
Suchitra Vemuri | 65cd65f | 2019-08-30 14:39:22 -0700 | [diff] [blame] | 17 | *** Settings *** |
Zack Williams | ec53a1b | 2019-09-16 15:50:52 -0700 | [diff] [blame] | 18 | Documentation Test various end-to-end scenarios |
Suchitra Vemuri | 65cd65f | 2019-08-30 14:39:22 -0700 | [diff] [blame] | 19 | Suite Setup Setup Suite |
Suchitra Vemuri | 65cd65f | 2019-08-30 14:39:22 -0700 | [diff] [blame] | 20 | Test Setup Setup |
| 21 | Test Teardown Teardown |
Andy Bavier | ba9866b | 2019-10-11 07:11:53 -0700 | [diff] [blame] | 22 | Suite Teardown Teardown Suite |
Suchitra Vemuri | 65cd65f | 2019-08-30 14:39:22 -0700 | [diff] [blame] | 23 | Library Collections |
| 24 | Library String |
| 25 | Library OperatingSystem |
| 26 | Library XML |
| 27 | Library RequestsLibrary |
Andy Bavier | ba9866b | 2019-10-11 07:11:53 -0700 | [diff] [blame] | 28 | Library ../../libraries/DependencyLibrary.py |
Suchitra Vemuri | b8ed2d5 | 2019-09-30 13:22:51 -0700 | [diff] [blame] | 29 | Resource ../../libraries/onos.robot |
| 30 | Resource ../../libraries/voltctl.robot |
| 31 | Resource ../../libraries/utils.robot |
Andy Bavier | ba9866b | 2019-10-11 07:11:53 -0700 | [diff] [blame] | 32 | Resource ../../libraries/k8s.robot |
Suchitra Vemuri | b8ed2d5 | 2019-09-30 13:22:51 -0700 | [diff] [blame] | 33 | Resource ../../variables/variables.robot |
Suchitra Vemuri | 65cd65f | 2019-08-30 14:39:22 -0700 | [diff] [blame] | 34 | |
| 35 | *** Variables *** |
Zack Williams | ec53a1b | 2019-09-16 15:50:52 -0700 | [diff] [blame] | 36 | ${POD_NAME} flex-ocp-cord |
| 37 | ${KUBERNETES_CONF} ${KUBERNETES_CONFIGS_DIR}/${POD_NAME}.conf |
| 38 | ${KUBERNETES_CONFIGS_DIR} ~/pod-configs/kubernetes-configs |
| 39 | #${KUBERNETES_CONFIGS_DIR} ${KUBERNETES_CONFIGS_DIR}/${POD_NAME}.conf |
| 40 | ${KUBERNETES_YAML} ${KUBERNETES_CONFIGS_DIR}/${POD_NAME}.yml |
| 41 | ${HELM_CHARTS_DIR} ~/helm-charts |
| 42 | ${VOLTHA_POD_NUM} 8 |
suraj gour | d64356b | 2019-11-07 13:26:20 +0000 | [diff] [blame] | 43 | ${NAMESPACE} voltha |
| 44 | # For below variable value, using deployment name as using grep for |
| 45 | # parsing radius pod name, we can also use full radius pod name |
| 46 | ${RESTART_POD_NAME} radius |
Andy Bavier | ba9866b | 2019-10-11 07:11:53 -0700 | [diff] [blame] | 47 | ${timeout} 60s |
Zack Williams | ec53a1b | 2019-09-16 15:50:52 -0700 | [diff] [blame] | 48 | ${of_id} 0 |
| 49 | ${logical_id} 0 |
Andy Bavier | ba9866b | 2019-10-11 07:11:53 -0700 | [diff] [blame] | 50 | ${has_dataplane} True |
| 51 | ${external_libs} True |
| 52 | ${teardown_device} False |
Suchitra Vemuri | 65cd65f | 2019-08-30 14:39:22 -0700 | [diff] [blame] | 53 | |
| 54 | *** Test Cases *** |
| 55 | Sanity E2E Test for OLT/ONU on POD |
| 56 | [Documentation] Validates E2E Ping Connectivity and object states for the given scenario: |
| 57 | ... Validate successful authentication/DHCP/E2E ping for the tech profile that is used |
Andy Bavier | ba9866b | 2019-10-11 07:11:53 -0700 | [diff] [blame] | 58 | [Tags] sanity test1 |
Suchitra Vemuri | 6db8941 | 2019-11-14 14:52:54 -0800 | [diff] [blame] | 59 | [Teardown] NONE |
Andy Bavier | ba9866b | 2019-10-11 07:11:53 -0700 | [diff] [blame] | 60 | ${of_id}= Wait Until Keyword Succeeds ${timeout} 15s Validate OLT Device in ONOS ${olt_serial_number} |
| 61 | Set Global Variable ${of_id} |
Suchitra Vemuri | 8a9c378 | 2019-10-23 12:43:01 -0700 | [diff] [blame] | 62 | |
| 63 | FOR ${I} IN RANGE 0 ${num_onus} |
| 64 | ${src}= Set Variable ${hosts.src[${I}]} |
| 65 | ${dst}= Set Variable ${hosts.dst[${I}]} |
| 66 | |
Gilles Depatie | b5682f8 | 2019-10-31 10:39:45 -0400 | [diff] [blame] | 67 | Wait Until Keyword Succeeds ${timeout} 5s Validate Device ENABLED ACTIVE REACHABLE |
| 68 | ... ${src['onu']} onu=True onu_reason=omci-flows-pushed |
Suchitra Vemuri | 8a9c378 | 2019-10-23 12:43:01 -0700 | [diff] [blame] | 69 | |
| 70 | ${onu_device_id}= Get Device ID From SN ${src['onu']} |
Gilles Depatie | 675a206 | 2019-10-22 12:44:42 -0400 | [diff] [blame] | 71 | ${onu_port}= Wait Until Keyword Succeeds ${timeout} 2s Get ONU Port in ONOS ${src['onu']} |
| 72 | ... ${of_id} |
| 73 | Wait Until Keyword Succeeds ${timeout} 2s Verify Eapol Flows Added For ONU ${k8s_node_ip} |
| 74 | ... ${ONOS_SSH_PORT} ${onu_port} |
| 75 | Run Keyword If ${has_dataplane} Run Keyword And Continue On Failure Validate Authentication True |
| 76 | ... ${src['dp_iface_name']} wpa_supplicant.conf ${src['ip']} ${src['user']} ${src['pass']} |
Suchitra Vemuri | 8a9c378 | 2019-10-23 12:43:01 -0700 | [diff] [blame] | 77 | ... ${src['container_type']} ${src['container_name']} |
Gilles Depatie | 675a206 | 2019-10-22 12:44:42 -0400 | [diff] [blame] | 78 | Wait Until Keyword Succeeds ${timeout} 2s Verify ONU in AAA-Users ${k8s_node_ip} |
| 79 | ... ${ONOS_SSH_PORT} ${onu_port} |
| 80 | Wait Until Keyword Succeeds ${timeout} 2s Execute ONOS CLI Command ${k8s_node_ip} |
| 81 | ... ${ONOS_SSH_PORT} volt-add-subscriber-access ${of_id} ${onu_port} |
| 82 | Run Keyword If ${has_dataplane} Run Keyword And Continue On Failure Validate DHCP and Ping True |
| 83 | ... True ${src['dp_iface_name']} ${src['s_tag']} ${src['c_tag']} ${dst['dp_iface_ip_qinq']} |
| 84 | ... ${src['ip']} ${src['user']} ${src['pass']} ${src['container_type']} ${src['container_name']} |
| 85 | ... ${dst['dp_iface_name']} ${dst['ip']} ${dst['user']} ${dst['pass']} ${dst['container_type']} |
| 86 | ... ${dst['container_name']} |
Suchitra Vemuri | 87f1d7f | 2019-11-12 15:03:48 -0800 | [diff] [blame] | 87 | Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 2s |
Gilles Depatie | 675a206 | 2019-10-22 12:44:42 -0400 | [diff] [blame] | 88 | ... Validate Subscriber DHCP Allocation ${k8s_node_ip} ${ONOS_SSH_PORT} ${onu_port} |
Suchitra Vemuri | 1a970a6 | 2019-11-26 12:52:16 -0800 | [diff] [blame] | 89 | Run Keyword and Ignore Error Get Device Output from Voltha ${onu_device_id} |
Suchitra Vemuri | 582574b | 2019-12-10 21:11:54 -0800 | [diff] [blame] | 90 | Run Keyword and Ignore Error Collect Logs |
Suchitra Vemuri | 8a9c378 | 2019-10-23 12:43:01 -0700 | [diff] [blame] | 91 | END |
Suchitra Vemuri | 582574b | 2019-12-10 21:11:54 -0800 | [diff] [blame] | 92 | Run Keyword and Ignore Error Collect Logs |
Suchitra Vemuri | 65cd65f | 2019-08-30 14:39:22 -0700 | [diff] [blame] | 93 | |
Suchitra Vemuri | 6db8941 | 2019-11-14 14:52:54 -0800 | [diff] [blame] | 94 | Test Disable and Enable ONU |
| 95 | [Documentation] Validates E2E Ping Connectivity and object states for the given scenario: |
| 96 | ... Assuming that test1 was executed where all the ONUs are authenticated/DHCP/pingable |
| 97 | ... Perform disable on the ONUs and validate that the pings do not succeed |
| 98 | ... Perform enable on the ONUs and validate that the pings are successful |
Suchitra Vemuri | 582574b | 2019-12-10 21:11:54 -0800 | [diff] [blame] | 99 | [Tags] functional DisableEnableONU |
Suchitra Vemuri | 6db8941 | 2019-11-14 14:52:54 -0800 | [diff] [blame] | 100 | [Setup] None |
suraj gour | 7f6d5fe | 2019-11-29 10:56:35 +0000 | [diff] [blame] | 101 | [Teardown] None |
Suchitra Vemuri | 6db8941 | 2019-11-14 14:52:54 -0800 | [diff] [blame] | 102 | |
| 103 | FOR ${I} IN RANGE 0 ${num_onus} |
| 104 | ${src}= Set Variable ${hosts.src[${I}]} |
| 105 | ${dst}= Set Variable ${hosts.dst[${I}]} |
| 106 | |
| 107 | ${onu_device_id}= Get Device ID From SN ${src['onu']} |
| 108 | ${onu_port}= Wait Until Keyword Succeeds ${timeout} 2s Get ONU Port in ONOS ${src['onu']} |
| 109 | ... ${of_id} |
| 110 | Disable Device ${onu_device_id} |
| 111 | Run Keyword And Continue On Failure Wait Until Keyword Succeeds 60s 2s Check Ping False ${dst['dp_iface_ip_qinq']} |
| 112 | ... ${src['dp_iface_name']} ${src['ip']} ${src['user']} ${src['pass']} ${src['container_type']} ${src['container_name']} |
| 113 | Enable Device ${onu_device_id} |
| 114 | Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 2s |
| 115 | ... Validate Subscriber DHCP Allocation ${k8s_node_ip} ${ONOS_SSH_PORT} ${onu_port} |
| 116 | Run Keyword And Continue On Failure Wait Until Keyword Succeeds 60s 2s Check Ping True ${dst['dp_iface_ip_qinq']} |
| 117 | ... ${src['dp_iface_name']} ${src['ip']} ${src['user']} ${src['pass']} ${src['container_type']} ${src['container_name']} |
Suchitra Vemuri | 582574b | 2019-12-10 21:11:54 -0800 | [diff] [blame] | 118 | Run Keyword and Ignore Error Get Device Output from Voltha ${onu_device_id} |
| 119 | Run Keyword and Ignore Error Collect Logs |
Suchitra Vemuri | 6db8941 | 2019-11-14 14:52:54 -0800 | [diff] [blame] | 120 | END |
Suchitra Vemuri | 582574b | 2019-12-10 21:11:54 -0800 | [diff] [blame] | 121 | Run Keyword and Ignore Error Collect Logs |
Suchitra Vemuri | 6db8941 | 2019-11-14 14:52:54 -0800 | [diff] [blame] | 122 | |
suraj gour | d64356b | 2019-11-07 13:26:20 +0000 | [diff] [blame] | 123 | Check OLT/ONU Authentication After Radius Pod Restart |
suraj gour | 7f6d5fe | 2019-11-29 10:56:35 +0000 | [diff] [blame] | 124 | [Documentation] After radius restart, triggers reassociation, checks status and |
| 125 | ... authentication, validates dhcp and ping. Note : wpa reassociate works only when |
| 126 | ... wpa supplicant is running in background hence it is recommended to remove |
| 127 | ... teardown from previous test or uncomment 'Teardown None'. |
| 128 | ... Assuming that test1 was executed where all the ONUs are authenticated/DHCP/pingable |
Suchitra Vemuri | 582574b | 2019-12-10 21:11:54 -0800 | [diff] [blame] | 129 | [Tags] functional RadiusRestart |
Suchitra Vemuri | 6db8941 | 2019-11-14 14:52:54 -0800 | [diff] [blame] | 130 | [Setup] NONE |
suraj gour | d64356b | 2019-11-07 13:26:20 +0000 | [diff] [blame] | 131 | Wait Until Keyword Succeeds ${timeout} 15s Restart Pod ${NAMESPACE} ${RESTART_POD_NAME} |
| 132 | |
| 133 | FOR ${I} IN RANGE 0 ${num_onus} |
| 134 | ${src}= Set Variable ${hosts.src[${I}]} |
| 135 | ${dst}= Set Variable ${hosts.dst[${I}]} |
| 136 | |
| 137 | |
| 138 | ${onu_device_id}= Get Device ID From SN ${src['onu']} |
| 139 | ${onu_port}= Wait Until Keyword Succeeds ${timeout} 2s Get ONU Port in ONOS ${src['onu']} |
| 140 | ... ${of_id} |
| 141 | Wait Until Keyword Succeeds ${timeout} 2s Verify Eapol Flows Added For ONU ${k8s_node_ip} |
| 142 | ... ${ONOS_SSH_PORT} ${onu_port} |
suraj gour | 7f6d5fe | 2019-11-29 10:56:35 +0000 | [diff] [blame] | 143 | Run Keyword If ${has_dataplane} Run Keyword And Continue On Failure Validate Authentication After Reassociate |
| 144 | ... True ${src['dp_iface_name']} ${src['ip']} ${src['user']} ${src['pass']} |
suraj gour | d64356b | 2019-11-07 13:26:20 +0000 | [diff] [blame] | 145 | ... ${src['container_type']} ${src['container_name']} |
| 146 | Wait Until Keyword Succeeds ${timeout} 2s Verify ONU in AAA-Users ${k8s_node_ip} |
| 147 | ... ${ONOS_SSH_PORT} ${onu_port} |
| 148 | Run Keyword If ${has_dataplane} Run Keyword And Continue On Failure Validate DHCP and Ping True |
| 149 | ... True ${src['dp_iface_name']} ${src['s_tag']} ${src['c_tag']} ${dst['dp_iface_ip_qinq']} |
| 150 | ... ${src['ip']} ${src['user']} ${src['pass']} ${src['container_type']} ${src['container_name']} |
| 151 | ... ${dst['dp_iface_name']} ${dst['ip']} ${dst['user']} ${dst['pass']} ${dst['container_type']} |
| 152 | ... ${dst['container_name']} |
| 153 | Wait Until Keyword Succeeds ${timeout} 2s Run Keyword And Continue On Failure |
| 154 | ... Validate Subscriber DHCP Allocation ${k8s_node_ip} ${ONOS_SSH_PORT} ${onu_port} |
Suchitra Vemuri | 582574b | 2019-12-10 21:11:54 -0800 | [diff] [blame] | 155 | Run Keyword and Ignore Error Get Device Output from Voltha ${onu_device_id} |
| 156 | Run Keyword and Ignore Error Collect Logs |
suraj gour | d64356b | 2019-11-07 13:26:20 +0000 | [diff] [blame] | 157 | END |
Suchitra Vemuri | 582574b | 2019-12-10 21:11:54 -0800 | [diff] [blame] | 158 | Run Keyword and Ignore Error Collect Logs |
suraj gour | d64356b | 2019-11-07 13:26:20 +0000 | [diff] [blame] | 159 | |
Suchitra Vemuri | 65cd65f | 2019-08-30 14:39:22 -0700 | [diff] [blame] | 160 | *** Keywords *** |
| 161 | Setup Suite |
Andy Bavier | 88cd9f6 | 2019-11-26 16:22:33 -0700 | [diff] [blame] | 162 | [Documentation] Set up the test suite |
| 163 | Common Test Suite Setup |
Suchitra Vemuri | 65cd65f | 2019-08-30 14:39:22 -0700 | [diff] [blame] | 164 | |
| 165 | Setup |
Zack Williams | ec53a1b | 2019-09-16 15:50:52 -0700 | [diff] [blame] | 166 | [Documentation] Pre-test Setup |
Gilles Depatie | b5682f8 | 2019-10-31 10:39:45 -0400 | [diff] [blame] | 167 | #test for empty device list |
| 168 | ${length}= Test Empty Device List |
| 169 | Should Be Equal As Integers ${length} 0 |
Suchitra Vemuri | 65cd65f | 2019-08-30 14:39:22 -0700 | [diff] [blame] | 170 | #create/preprovision device |
Suchitra Vemuri | c59eb27 | 2019-09-18 17:59:33 -0700 | [diff] [blame] | 171 | ${olt_device_id}= Create Device ${olt_ip} ${OLT_PORT} |
| 172 | Set Suite Variable ${olt_device_id} |
Gilles Depatie | b5682f8 | 2019-10-31 10:39:45 -0400 | [diff] [blame] | 173 | #validate olt states |
| 174 | Wait Until Keyword Succeeds ${timeout} 5s Validate OLT Device PREPROVISIONED UNKNOWN UNKNOWN |
| 175 | ... ${EMPTY} ${olt_device_id} |
Suchitra Vemuri | c59eb27 | 2019-09-18 17:59:33 -0700 | [diff] [blame] | 176 | Enable Device ${olt_device_id} |
Gilles Depatie | b5682f8 | 2019-10-31 10:39:45 -0400 | [diff] [blame] | 177 | Wait Until Keyword Succeeds ${timeout} 5s Validate OLT Device ENABLED ACTIVE REACHABLE |
| 178 | ... ${olt_serial_number} |
Suchitra Vemuri | 00d147d | 2019-09-13 13:07:32 -0700 | [diff] [blame] | 179 | ${logical_id}= Get Logical Device ID From SN ${olt_serial_number} |
| 180 | Set Suite Variable ${logical_id} |
Suchitra Vemuri | 65cd65f | 2019-08-30 14:39:22 -0700 | [diff] [blame] | 181 | |
| 182 | Teardown |
| 183 | [Documentation] kills processes and cleans up interfaces on src+dst servers |
Suchitra Vemuri | 582574b | 2019-12-10 21:11:54 -0800 | [diff] [blame] | 184 | Run Keyword If ${has_dataplane} Clean Up Linux |
| 185 | Run Keyword If ${external_libs} Log Kubernetes Containers Logs Since Time ${datetime} ${container_list} |
| 186 | |
| 187 | Collect Logs |
| 188 | [Documentation] Collect Logs from voltha and onos cli for various commands |
Suchitra Vemuri | 1a970a6 | 2019-11-26 12:52:16 -0800 | [diff] [blame] | 189 | Run Keyword and Ignore Error Get Device List from Voltha |
| 190 | Run Keyword and Ignore Error Get Device Output from Voltha ${olt_device_id} |
| 191 | Run Keyword and Ignore Error Get Logical Device Output from Voltha ${logical_id} |
Andy Bavier | ba9866b | 2019-10-11 07:11:53 -0700 | [diff] [blame] | 192 | Run Keyword If ${external_libs} Get ONOS Status ${k8s_node_ip} |
Andy Bavier | ba9866b | 2019-10-11 07:11:53 -0700 | [diff] [blame] | 193 | |
| 194 | Teardown Suite |
| 195 | [Documentation] Clean up device if desired |
| 196 | Run Keyword If ${teardown_device} Delete Device and Verify |
Andy Bavier | 44e84fe | 2019-12-10 10:23:15 -0700 | [diff] [blame] | 197 | ${length}= Run Keyword If ${teardown_device} Test Empty Device List |
Gilles Depatie | b5682f8 | 2019-10-31 10:39:45 -0400 | [diff] [blame] | 198 | Run Keyword If ${teardown_device} Should Be Equal As Integers ${length} 0 |
Andy Bavier | ba9866b | 2019-10-11 07:11:53 -0700 | [diff] [blame] | 199 | Run Keyword If ${teardown_device} Execute ONOS CLI Command ${k8s_node_ip} ${ONOS_SSH_PORT} |
| 200 | ... device-remove ${of_id} |
Suchitra Vemuri | 65cd65f | 2019-08-30 14:39:22 -0700 | [diff] [blame] | 201 | |
Gilles Depatie | b5682f8 | 2019-10-31 10:39:45 -0400 | [diff] [blame] | 202 | |
Suchitra Vemuri | 65cd65f | 2019-08-30 14:39:22 -0700 | [diff] [blame] | 203 | Clean Up Linux |
| 204 | [Documentation] Kill processes and clean up interfaces on src+dst servers |
Suchitra Vemuri | 8a9c378 | 2019-10-23 12:43:01 -0700 | [diff] [blame] | 205 | FOR ${I} IN RANGE 0 ${num_onus} |
| 206 | ${src}= Set Variable ${hosts.src[${I}]} |
| 207 | ${dst}= Set Variable ${hosts.dst[${I}]} |
| 208 | Run Keyword And Ignore Error Kill Linux Process [w]pa_supplicant ${src['ip']} |
| 209 | ... ${src['user']} ${src['pass']} ${src['container_type']} ${src['container_name']} |
| 210 | Run Keyword And Ignore Error Kill Linux Process [d]hclient ${src['ip']} |
| 211 | ... ${src['user']} ${src['pass']} ${src['container_type']} ${src['container_name']} |
| 212 | Run Keyword If '${dst['ip']}' != '${None}' Run Keyword And Ignore Error |
| 213 | ... Kill Linux Process [d]hcpd ${dst['ip']} ${dst['user']} |
| 214 | ... ${dst['pass']} ${dst['container_type']} ${dst['container_name']} |
| 215 | Delete IP Addresses from Interface on Remote Host ${src['dp_iface_name']} ${src['ip']} |
| 216 | ... ${src['user']} ${src['pass']} ${src['container_type']} ${src['container_name']} |
| 217 | Run Keyword If '${dst['ip']}' != '${None}' Delete Interface on Remote Host |
| 218 | ... ${dst['dp_iface_name']}.${src['s_tag']} ${dst['ip']} ${dst['user']} ${dst['pass']} |
| 219 | ... ${dst['container_type']} ${dst['container_name']} |
| 220 | END |
Andy Bavier | ba9866b | 2019-10-11 07:11:53 -0700 | [diff] [blame] | 221 | |
| 222 | Delete Device and Verify |
| 223 | [Documentation] Disable -> Delete devices via voltctl and verify its removed |
Andy Bavier | ba9866b | 2019-10-11 07:11:53 -0700 | [diff] [blame] | 224 | ${rc} ${output}= Run and Return Rc and Output ${VOLTCTL_CONFIG}; voltctl device disable ${olt_device_id} |
| 225 | Should Be Equal As Integers ${rc} 0 |
Gilles Depatie | b5682f8 | 2019-10-31 10:39:45 -0400 | [diff] [blame] | 226 | Wait Until Keyword Succeeds ${timeout} 5s Validate OLT Device DISABLED UNKNOWN REACHABLE |
| 227 | ... ${olt_serial_number} |
Andy Bavier | ba9866b | 2019-10-11 07:11:53 -0700 | [diff] [blame] | 228 | ${rc} ${output}= Run and Return Rc and Output ${VOLTCTL_CONFIG}; voltctl device delete ${olt_device_id} |
| 229 | Should Be Equal As Integers ${rc} 0 |
| 230 | Wait Until Keyword Succeeds ${timeout} 5s Validate Device Removed ${olt_device_id} |