blob: f5caa136cd42303bde729e5d41ab89e22bbcdca3 [file] [log] [blame]
Suchitra Vemuri2f1e07d2020-06-26 19:18:01 -07001# 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 ***
17Documentation Test various functional end-to-end scenarios for TT workflow
18Suite Setup Setup Suite
19Test Setup Setup
20Test Teardown Teardown
21Suite Teardown Teardown Suite
22Library Collections
23Library String
24Library OperatingSystem
25Library XML
26Library RequestsLibrary
27Library ../../libraries/DependencyLibrary.py
28Resource ../../libraries/onos.robot
29Resource ../../libraries/voltctl.robot
30Resource ../../libraries/voltha.robot
31Resource ../../libraries/utils.robot
32Resource ../../libraries/k8s.robot
33Resource ../../variables/variables.robot
34Resource ../../libraries/power_switch.robot
TorstenThieme78c09502022-01-19 13:44:19 +000035Resource ../../libraries/onu_utilities.robot
Suchitra Vemuri2f1e07d2020-06-26 19:18:01 -070036
37*** Variables ***
38${POD_NAME} flex-ocp-cord
39${KUBERNETES_CONF} ${KUBERNETES_CONFIGS_DIR}/${POD_NAME}.conf
40${KUBERNETES_CONFIGS_DIR} ~/pod-configs/kubernetes-configs
41#${KUBERNETES_CONFIGS_DIR} ${KUBERNETES_CONFIGS_DIR}/${POD_NAME}.conf
42${KUBERNETES_YAML} ${KUBERNETES_CONFIGS_DIR}/${POD_NAME}.yml
43${HELM_CHARTS_DIR} ~/helm-charts
44${VOLTHA_POD_NUM} 8
45${NAMESPACE} voltha
Hardik Windlass4288c6a2021-09-28 07:22:06 +000046${INFRA_NAMESPACE} default
Suchitra Vemuri2f1e07d2020-06-26 19:18:01 -070047# For below variable value, using deployment name as using grep for
48# parsing radius pod name, we can also use full radius pod name
49${RESTART_POD_NAME} radius
50${timeout} 60s
51${of_id} 0
52${logical_id} 0
53${has_dataplane} True
Hardik Windlass04896f62021-03-05 16:15:11 +053054${teardown_device} True
Suchitra Vemuri2f1e07d2020-06-26 19:18:01 -070055${scripts} ../../scripts
TorstenThieme78c09502022-01-19 13:44:19 +000056${data_dir} ../data
Suchitra Vemuri2f1e07d2020-06-26 19:18:01 -070057
58# Per-test logging on failure is turned off by default; set this variable to enable
59${container_log_dir} ${None}
60
Matteo Scandoloda1c64b2021-07-20 10:14:49 -070061# logging flag to enable Collect Logs, can be passed via the command line too
62# example: -v logging:False
63${logging} True
64
Emrehan UZUN62748282021-05-21 08:16:52 +000065${suppressaddsubscriber} True
66
Hardik Windlassb1bda362021-11-24 11:54:36 +000067# flag to choose the subscriber provisioning command type in ONOS
68# TT often provision a single services for a subscriber (eg: hsia, voip, ...) one after the other.
69# if set to True, command used is "volt-add-subscriber-unitag"
70# if set to False, comand used is "volt-add-subscriber-access"
71${unitag_sub} False
72
Suchitra Vemuri2f1e07d2020-06-26 19:18:01 -070073*** Test Cases ***
74Reboot TT ONUs Physically - Clean Up
75 [Documentation] This test reboots ONUs physically before execution all the tests
76 ... Test case runs only on the PODs that are configured with PowerSwitch that
77 ... controls the power off/on ONUs/OLT remotely (simulating a physical reboot)
Huseyin Ahmet AYDIN9ea27aa2021-05-20 14:32:29 +000078 [Tags] functionalTT PowerSwitch RebootAllTTONUs
Suchitra Vemuri2f1e07d2020-06-26 19:18:01 -070079 [Setup] Start Logging RebootAllTTONUs
80 [Teardown] Run Keywords Collect Logs
81 ... AND Stop Logging RebootAllTTONUs
82 Power Switch Connection Suite ${web_power_switch.ip} ${web_power_switch.user} ${web_power_switch.password}
Suchitra Vemuri7255c002020-11-09 11:44:36 -080083 FOR ${I} IN RANGE 0 ${num_all_onus}
Suchitra Vemuri2f1e07d2020-06-26 19:18:01 -070084 ${src}= Set Variable ${hosts.src[${I}]}
85 ${dst}= Set Variable ${hosts.dst[${I}]}
Girish Gowdraa3a05c62022-02-16 13:54:37 -080086 # If the power switch port is not specified, continue
87 Continue For Loop If '${src["power_switch_port"]}' == '${None}'
Suchitra Vemuri2f1e07d2020-06-26 19:18:01 -070088 Disable Switch Outlet ${src['power_switch_port']}
TorstenThieme2ed10502021-03-22 18:01:50 +000089 Sleep 10s
Suchitra Vemuri2f1e07d2020-06-26 19:18:01 -070090 Enable Switch Outlet ${src['power_switch_port']}
Suchitra Vemuri2f1e07d2020-06-26 19:18:01 -070091 END
92
Suchitra Vemuri85cb7d62020-07-16 23:46:16 -070093Sanity E2E Test for TT (HSIA, VoD, VoIP)
Suchitra Vemuri2f1e07d2020-06-26 19:18:01 -070094 [Documentation] Validates E2E Ping Connectivity and object states for the given scenario:
95 ... Validate successful DHCP/E2E ping (no EAPOL and DHCP flows) for the tech profile that is used
96 ... Traffic sent with same vlan from different RGs,
97 ... should reach the NNI port on the OLT with the expected double tagged vlan ids
98 ... Inner vlans from the RG should not change
99 [Tags] sanityTT
100 [Setup] Run Keywords Start Logging SanityTestTT
101 ... AND Setup
102 [Teardown] Run Keywords Collect Logs
103 ... AND Stop Logging SanityTestTT
104 Run Keyword If ${has_dataplane} Clean Up Linux
Hardik Windlass5083b3a2021-11-11 12:16:22 +0000105 Perform Sanity Test TT
Suchitra Vemuri2f1e07d2020-06-26 19:18:01 -0700106
Suchitra Vemuri85cb7d62020-07-16 23:46:16 -0700107Sanity E2E Test for TT (MCAST)
108 [Documentation] Validates E2E Ping Connectivity and object states for the given scenario:
109 ... Validate successful DHCP/E2E ping (no EAPOL and DHCP flows) for the tech profile that is used
110 ... Traffic sent with same vlan from different RGs,
111 ... should reach the NNI port on the OLT with the expected double tagged vlan ids
112 ... Inner vlans from the RG should not change
113 [Tags] sanityTT-MCAST
114 [Setup] Run Keyword Start Logging SanityTestTT-MCAST
115 [Teardown] Run Keywords Collect Logs
116 ... AND Stop Logging SanityTestTT-MCAST
117 Run Keyword If ${has_dataplane} Clean Up Linux
Hardik Windlass5083b3a2021-11-11 12:16:22 +0000118 Perform Sanity Test TT MCAST
Suchitra Vemuri85cb7d62020-07-16 23:46:16 -0700119
Huseyin Ahmet AYDIN9ea27aa2021-05-20 14:32:29 +0000120Test Disable and Delete OLT for TT
121 [Documentation] Validates E2E Ping Connectivity and object states for the given scenario:
122 ... Assuming that all the ONUs are DHCP/pingable (i.e. assuming sanityTt test was executed)
123 ... Perform disable on the OLT and validate ONUs state and that the pings do not succeed
124 ... Perform delete on the OLT, Re-do Setup (Recreate the OLT) and Perform Sanity Test TT
Huseyin Ahmet AYDIN45922c82021-05-27 12:37:32 +0000125 [Tags] functionalTT DisableDeleteOLTTt
Huseyin Ahmet AYDIN9ea27aa2021-05-20 14:32:29 +0000126 [Setup] Start Logging DisableDeleteOLTTt
127 [Teardown] Run Keywords Collect Logs
128 ... AND Stop Logging DisableDeleteOLTTt
Huseyin Ahmet AYDIN45922c82021-05-27 12:37:32 +0000129 @{particular_onu_device_port}= Create List
Hardik Windlass1ed2eee2021-06-25 09:51:03 +0000130 FOR ${I} IN RANGE 0 ${num_all_onus}
131 ${src}= Set Variable ${hosts.src[${I}]}
132 ${onu_port}= Wait Until Keyword Succeeds ${timeout} 2s Get ONU Port in ONOS ${src['onu']}
133 ... ${of_id} ${src['uni_id']}
134 Append To List ${particular_onu_device_port} ${onu_port}
135 END
136 ${list_onu_port}= Remove Duplicates ${particular_onu_device_port}
137 ${num_of_provisioned_onus}= Get Length ${list_onu_port}
Huseyin Ahmet AYDIN9ea27aa2021-05-20 14:32:29 +0000138 # Disable and Validate OLT Device
139 FOR ${I} IN RANGE 0 ${olt_count}
140 ${olt_serial_number}= Get From Dictionary ${olt_ids}[${I}] sn
141 ${olt_device_id}= Get OLTDeviceID From OLT List ${olt_serial_number}
142 Disable Device ${olt_device_id}
143 ${of_id}= Get ofID From OLT List ${olt_serial_number}
144 Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 5s
145 ... Validate OLT Device DISABLED UNKNOWN REACHABLE
146 ... ${olt_serial_number}
Huseyin Ahmet AYDIN9ea27aa2021-05-20 14:32:29 +0000147 ${num_onus}= Set Variable ${list_olts}[${I}][onucount]
148 # Validate ONUs
149 Run Keyword Wait Until Keyword Succeeds ${timeout} 5s Validate ONUs After OLT Disable
150 ... ${num_onus} ${olt_serial_number}
151 # Verify ONOS Flows
Hardik Windlass3a294892021-11-23 17:05:29 +0000152 # When we disable the device should only have 3 default flows LLDP, IGMP and DHCP
Huseyin Ahmet AYDIN9ea27aa2021-05-20 14:32:29 +0000153 Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 5s
Hardik Windlass3a294892021-11-23 17:05:29 +0000154 ... Verify Added Flow Count for OLT TT ${ONOS_SSH_IP} ${ONOS_SSH_PORT} ${of_id} 3
Huseyin Ahmet AYDIN9ea27aa2021-05-20 14:32:29 +0000155 # Verify VOLTHA Flows
Hardik Windlass3a294892021-11-23 17:05:29 +0000156 Run Keyword Wait Until Keyword Succeeds ${timeout} 5s Validate OLT Flows 3
Huseyin Ahmet AYDIN9ea27aa2021-05-20 14:32:29 +0000157 ... ${olt_device_id}
Huseyin Ahmet AYDIN9ea27aa2021-05-20 14:32:29 +0000158 # Delete OLT and Validate Empty Device List
159 Delete Device ${olt_device_id}
160 # Check that the OLT and the ONUs are actually removed from the system
161 Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 5s Validate Device Removed
162 ... ${olt_serial_number}
163 Run Keyword and Continue On Failure Validate all ONUS for OLT Removed ${num_all_onus} ${hosts}
164 ... ${olt_serial_number} ${timeout}
Hardik Windlass5083b3a2021-11-11 12:16:22 +0000165 Wait Until Keyword Succeeds ${timeout} 5s
Huseyin Ahmet AYDIN9ea27aa2021-05-20 14:32:29 +0000166 ... Verify Device Flows Removed ${ONOS_SSH_IP} ${ONOS_SSH_PORT} ${of_id}
167 END
168 # Re-do Setup (Recreate the OLT) and Perform Sanity Test TT
169 Run Keyword Setup
170 Run Keyword If ${has_dataplane} Clean Up Linux
Hardik Windlass5083b3a2021-11-11 12:16:22 +0000171 Perform Sanity Tests TT
Huseyin Ahmet AYDIN9ea27aa2021-05-20 14:32:29 +0000172
Emrehan UZUN62748282021-05-21 08:16:52 +0000173Verify re-provisioning subscriber after removing provisoned subscriber for TT
174 [Documentation] Removing/Readding a particular subscriber should have no effect on any other subscriber.
175 [Tags] functionalTT Readd-subscriber-TT
176 [Setup] Start Logging Readd-subscriber-TT
177 [Teardown] Run Keywords Collect Logs
178 ... AND Stop Logging Readd-subscriber-TT
179 Run Keyword If ${has_dataplane} Clean Up Linux
180 FOR ${I} IN RANGE 0 ${num_all_onus}
181 ${src}= Set Variable ${hosts.src[${I}]}
182 ${dst}= Set Variable ${hosts.dst[${I}]}
183 ${service_type}= Get Variable Value ${src['service_type']} "null"
184 ${of_id}= Get ofID From OLT List ${src['olt']}
185 ${onu_device_id}= Get Device ID From SN ${src['onu']}
186 ${onu_port}= Wait Until Keyword Succeeds ${timeout} 2s Get ONU Port in ONOS ${src['onu']}
Hardik Windlass1ed2eee2021-06-25 09:51:03 +0000187 ... ${of_id} ${src['uni_id']}
Emrehan UZUN62748282021-05-21 08:16:52 +0000188 # Remove Subscriber Access
Hardik Windlassb1bda362021-11-24 11:54:36 +0000189 ${del_sub_cmd}= Run Keyword If ${unitag_sub}
190 ... Catenate volt-remove-subscriber-unitag --tpId ${src['tp_id']} --sTag ${src['s_tag']}
191 ... --cTag ${src['c_tag']} ${src['onu']}-${src['uni_id']}
192 ... ELSE
193 ... Set Variable volt-remove-subscriber-access ${of_id} ${onu_port}
TorstenThieme4e2168e2021-06-22 14:01:47 +0000194 Wait Until Keyword Succeeds ${timeout} 2s Execute ONOS CLI Command use single connection ${ONOS_SSH_IP}
Hardik Windlassb1bda362021-11-24 11:54:36 +0000195 ... ${ONOS_SSH_PORT} ${del_sub_cmd}
Emrehan UZUN62748282021-05-21 08:16:52 +0000196 Run Keyword If ${has_dataplane} and '${service_type}' != 'mcast'
Hardik Windlass5083b3a2021-11-11 12:16:22 +0000197 ... Wait Until Keyword Succeeds ${timeout} 5s
Emrehan UZUN62748282021-05-21 08:16:52 +0000198 ... Check Ping False ${dst['dp_iface_ip_qinq']} ${src['dp_iface_name']}
199 ... ${src['ip']} ${src['user']} ${src['pass']} ${src['container_type']} ${src['container_name']}
Girish Gowdrab1ef7932021-10-29 10:57:47 -0700200 ... ELSE Sleep 10s Wait for flows to be deleted
Hardik Windlass88075f92022-01-25 12:19:45 +0000201 Run Keyword If ${unitag_sub} and '${service_type}' != 'mcast'
202 ... Wait Until Keyword Succeeds ${timeout} 2s Verify UniTag Subscriber ${ONOS_SSH_IP} ${ONOS_SSH_PORT}
203 ... ${of_id} ${onu_port} ${src['s_tag']} ${src['c_tag']} ${src['tp_id']} False
Emrehan UZUN62748282021-05-21 08:16:52 +0000204 # Verify VOLTHA flows for ONU under test is Zero
Hardik Windlass1ed2eee2021-06-25 09:51:03 +0000205 # TODO: Fix ${onu_flows} calculations based on UNIs provisioned
206 # Wait Until Keyword Succeeds ${timeout} 5s Validate Device Flows
207 # ... ${onu_device_id} 0
Emrehan UZUN62748282021-05-21 08:16:52 +0000208 # Add Subscriber Access
Hardik Windlassb1bda362021-11-24 11:54:36 +0000209 ${add_sub_cmd}= Run Keyword If ${unitag_sub}
210 ... Catenate volt-add-subscriber-unitag --tpId ${src['tp_id']} --sTag ${src['s_tag']}
211 ... --cTag ${src['c_tag']} ${src['onu']}-${src['uni_id']}
212 ... ELSE
213 ... Set Variable volt-add-subscriber-access ${of_id} ${onu_port}
TorstenThieme4e2168e2021-06-22 14:01:47 +0000214 Wait Until Keyword Succeeds ${timeout} 2s Execute ONOS CLI Command use single connection ${ONOS_SSH_IP}
Hardik Windlassb1bda362021-11-24 11:54:36 +0000215 ... ${ONOS_SSH_PORT} ${add_sub_cmd}
Hardik Windlass88075f92022-01-25 12:19:45 +0000216 Run Keyword If ${unitag_sub} and '${service_type}' != 'mcast'
217 ... Wait Until Keyword Succeeds ${timeout} 2s Verify UniTag Subscriber ${ONOS_SSH_IP} ${ONOS_SSH_PORT}
218 ... ${of_id} ${onu_port} ${src['s_tag']} ${src['c_tag']} ${src['tp_id']}
Hardik Windlass5083b3a2021-11-11 12:16:22 +0000219 Wait Until Keyword Succeeds ${timeout} 5s
Emrehan UZUN62748282021-05-21 08:16:52 +0000220 ... Validate Device ENABLED ACTIVE
221 ... REACHABLE ${src['onu']} onu=True onu_reason=omci-flows-pushed
Hardik Windlass5a2d1f42021-11-12 12:52:04 +0000222 Run Keyword If ${has_dataplane} and '${service_type}' != 'mcast'
Hardik Windlass5083b3a2021-11-11 12:16:22 +0000223 ... Sanity Test TT one ONU ${src} ${dst} ${suppressaddsubscriber}
Hardik Windlass5a2d1f42021-11-12 12:52:04 +0000224 ... ELSE IF ${has_dataplane} and '${service_type}' == 'mcast'
Hardik Windlass5083b3a2021-11-11 12:16:22 +0000225 ... Sanity Test TT MCAST one ONU ${src} ${dst} ${suppressaddsubscriber}
Emrehan UZUN62748282021-05-21 08:16:52 +0000226 END
227
Emrehan UZUNec59bea2021-05-27 13:45:57 +0000228Test Disable and Enable ONU for TT
229 [Documentation] Validates E2E Ping Connectivity and object states for the given scenario:
230 ... Assuming that all the ONUs are DHCP/pingable (i.e. assuming sanitytt test was executed)
231 ... Perform disable on the ONUs and validate that the pings do not succeed
232 ... Perform enable on the ONUs and validate that the pings are successful
233 [Tags] functionalTT DisableEnableONUTT
Girish Gowdra8fd96962021-12-14 16:20:04 +0530234 [Setup] Run Keywords Start Logging DisableEnableONUTT
235 ... AND Run Keyword If ${has_dataplane} Set Non-Critical Tag for XGSPON Tech
Emrehan UZUNec59bea2021-05-27 13:45:57 +0000236 [Teardown] Run Keywords Collect Logs
237 ... AND Stop Logging DisableEnableONUTT
TorstenThieme9b25aab2021-12-16 15:59:45 +0000238 @{onu_list}= Create List
Emrehan UZUNec59bea2021-05-27 13:45:57 +0000239 FOR ${I} IN RANGE 0 ${num_all_onus}
240 ${src}= Set Variable ${hosts.src[${I}]}
241 ${dst}= Set Variable ${hosts.dst[${I}]}
TorstenThieme9b25aab2021-12-16 15:59:45 +0000242 ${sn}= Set Variable ${src['onu']}
243 # make sure all actions do only once per onu
244 ${onu_id}= Get Index From List ${onu_list} ${sn}
245 Continue For Loop If -1 != ${onu_id}
246 Append To List ${onu_list} ${sn}
Emrehan UZUNec59bea2021-05-27 13:45:57 +0000247 ${of_id}= Get ofID From OLT List ${src['olt']}
248 ${onu_device_id}= Get Device ID From SN ${src['onu']}
TorstenThieme9b25aab2021-12-16 15:59:45 +0000249 ${onu_port}= Get Onu Ports in ONOS For ALL UNI per ONU ${src['onu']} ${of_id}
250 Log ${onu_port}
Emrehan UZUNec59bea2021-05-27 13:45:57 +0000251 Disable Device ${onu_device_id}
252 Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 5s
253 ... Validate Device DISABLED UNKNOWN
TorstenThieme9b25aab2021-12-16 15:59:45 +0000254 ... REACHABLE ${src['onu']} onu=True onu_reason=tech-profile-config-delete-success
255 Wait For All UNI Ports Are Disabled per ONU ${ONOS_SSH_IP} ${ONOS_SSH_PORT} ${src['onu']}
Emrehan UZUNec59bea2021-05-27 13:45:57 +0000256 Run Keyword If ${has_dataplane} Run Keyword And Continue On Failure
Hardik Windlass5083b3a2021-11-11 12:16:22 +0000257 ... Wait Until Keyword Succeeds ${timeout} 2s
Emrehan UZUNec59bea2021-05-27 13:45:57 +0000258 ... Check Ping False ${dst['dp_iface_ip_qinq']} ${src['dp_iface_name']}
259 ... ${src['ip']} ${src['user']} ${src['pass']} ${src['container_type']} ${src['container_name']}
260 Sleep 5s
261 Enable Device ${onu_device_id}
TorstenThieme9b25aab2021-12-16 15:59:45 +0000262 Wait For All UNI Ports Are Enabled per ONU ${ONOS_SSH_IP} ${ONOS_SSH_PORT} ${src['onu']}
Girish Gowdrafc0bdf22021-12-06 16:57:50 +0530263 # Workaround for issue seen in VOL-4489. Keep this workaround until VOL-4489 is fixed.
264 Run Keyword If ${has_dataplane} Reboot XGSPON ONU ${src['olt']} ${src['onu']} omci-flows-pushed
265 # Workaround ends here for issue seen in VOL-4489.
TorstenThieme9b25aab2021-12-16 15:59:45 +0000266 Run Keyword If ${has_dataplane} Clean Up Linux
267 Run Keyword If ${has_dataplane} Wait For All UNI Ports Are Enabled per ONU ${ONOS_SSH_IP} ${ONOS_SSH_PORT}
268 ... ${src['onu']
269 Perform Sanity Tests TT ${suppressaddsubscriber}
Emrehan UZUNec59bea2021-05-27 13:45:57 +0000270 END
271
Suchitra Vemuri2f1e07d2020-06-26 19:18:01 -0700272*** Keywords ***
273Setup Suite
274 [Documentation] Set up the test suite
275 Common Test Suite Setup
TorstenThieme78c09502022-01-19 13:44:19 +0000276 # pre-load tech profiles to use single instance control for HSIA and VoIP, multi instance control for MCAST
277 Run Keyword If ${unitag_sub} and not ${has_dataplane} Set Tech Profile TT-HSIA ${INFRA_NAMESPACE} 64
278 Run Keyword If ${unitag_sub} and not ${has_dataplane} Set Tech Profile TT-VoIP ${INFRA_NAMESPACE} 65
279 Run Keyword If ${unitag_sub} and not ${has_dataplane} Set Tech Profile TT-multi-uni-MCAST-AdditionalBW-None
280 ... ${INFRA_NAMESPACE} 66
Suchitra Vemuri2f1e07d2020-06-26 19:18:01 -0700281 ${switch_type}= Get Variable Value ${web_power_switch.type}
282 Run Keyword If "${switch_type}"!="" Set Global Variable ${powerswitch_type} ${switch_type}
283
284
285Clear All Devices Then Create New Device
286 [Documentation] Remove any devices from VOLTHA and ONOS
287 # Remove all devices from voltha and nos
288 Delete All Devices and Verify
289 # Execute normal test Setup Keyword
290 Setup
291
Suchitra Vemuri32dea012020-07-08 16:40:06 -0700292
293Teardown Suite
294 [Documentation] Tear down steps for the suite
Matteo Scandolo6a90bda2021-11-30 11:31:38 -0800295 Start Logging Setup or Teardown Teardown-${SUITE NAME}
Suchitra Vemuri32dea012020-07-08 16:40:06 -0700296 Run Keyword If ${has_dataplane} Clean Up Linux
Hardik Windlass04896f62021-03-05 16:15:11 +0530297 Run Keyword If ${teardown_device} Delete All Devices And Verify
TorstenThieme4e2168e2021-06-22 14:01:47 +0000298 Close All ONOS SSH Connections
TorstenThieme78c09502022-01-19 13:44:19 +0000299 # remove pre-loaded tech profiles
300 Set Suite Variable ${TechProfile} ${EMPTY}
301 Run Keyword If ${unitag_sub} and not ${has_dataplane} Remove Tech Profile ${INFRA_NAMESPACE} 64
302 Run Keyword If ${unitag_sub} and not ${has_dataplane} Remove Tech Profile ${INFRA_NAMESPACE} 65
303 Run Keyword If ${unitag_sub} and not ${has_dataplane} Remove Tech Profile ${INFRA_NAMESPACE} 66
Matteo Scandolo6a90bda2021-11-30 11:31:38 -0800304 Stop Logging Setup or Teardown Teardown-${SUITE NAME}