VOL-3140 Collect logs for bandwidth profile tests
Change-Id: I55475707072ec87ec8b4d4ae0dbc2ed44b788260
diff --git a/tests/dt-workflow/Voltha_DT_PODTests.robot b/tests/dt-workflow/Voltha_DT_PODTests.robot
index 9349bb7..4a90cc2 100644
--- a/tests/dt-workflow/Voltha_DT_PODTests.robot
+++ b/tests/dt-workflow/Voltha_DT_PODTests.robot
@@ -365,9 +365,10 @@
Data plane verification using TCP for DT
[Documentation] Test bandwidth profile is met and not exceeded for each subscriber.
... Assumes iperf3 and jq installed on client and iperf -s running on DHCP server
- [Tags] dataplaneDt BW-profile-TCP-Dt VOL-3061
- [Setup] None
- [Teardown] None
+ [Tags] dataplaneDt BandwidthProfileTCPDt VOL-3061
+ [Setup] Start Logging BandwidthProfileTCPDt
+ [Teardown] Run Keywords Collect Logs
+ ... AND Stop Logging BandwidthProfileTCPDt
Pass Execution If '${has_dataplane}'=='False' Bandwidth profile validation can be done only in
... physical pod. Skipping this test in BBSIM.
${of_id}= Wait Until Keyword Succeeds ${timeout} 15s Validate OLT Device in ONOS ${olt_serial_number}
@@ -418,9 +419,10 @@
Data plane verification using UDP for DT
[Documentation] Test bandwidth profile is met and not exceeded for each subscriber.
... Assumes iperf3 and jq installed on client and iperf -s running on DHCP server
- [Tags] dataplaneDt BW-profile-UDP-Dt VOL-3061 notready
- [Setup] None
- [Teardown] None
+ [Tags] dataplaneDt BandwidthProfileUDPDt VOL-3061 notready
+ [Setup] Start Logging BandwidthProfileUDPDt
+ [Teardown] Run Keywords Collect Logs
+ ... AND Stop Logging BandwidthProfileUDPDt
Pass Execution If '${has_dataplane}'=='False' Bandwidth profile validation can be done only in
... physical pod. Skipping this test in BBSIM.
${of_id}= Wait Until Keyword Succeeds ${timeout} 15s Validate OLT Device in ONOS ${olt_serial_number}
diff --git a/tests/functional/Voltha_PODTests.robot b/tests/functional/Voltha_PODTests.robot
index 7da9d5c..9c75c8b 100644
--- a/tests/functional/Voltha_PODTests.robot
+++ b/tests/functional/Voltha_PODTests.robot
@@ -454,9 +454,10 @@
Data plane verification using TCP
[Documentation] Test bandwidth profile is met and not exceeded for each subscriber.
... Assumes iperf3 and jq installed on client and iperf -s running on DHCP server
- [Tags] dataplane BW-profile-TCP VOL-2052
- [Setup] None
- [Teardown] None
+ [Tags] dataplane BandwidthProfileTCP VOL-2052
+ [Setup] Start Logging BandwidthProfileTCP
+ [Teardown] Run Keywords Collect Logs
+ ... AND Stop Logging BandwidthProfileTCP
Pass Execution If '${has_dataplane}'=='False' Bandwidth profile validation can be done only in
... physical pod. Skipping this test in BBSIM.
${of_id}= Wait Until Keyword Succeeds ${timeout} 15s Validate OLT Device in ONOS ${olt_serial_number}
@@ -507,9 +508,10 @@
Data plane verification using UDP
[Documentation] Test bandwidth profile is met and not exceeded for each subscriber.
... Assumes iperf3 and jq installed on client and iperf -s running on DHCP server
- [Tags] dataplane BW-profile-UDP VOL-2052 notready
- [Setup] None
- [Teardown] None
+ [Tags] dataplane BandwidthProfileUDP VOL-2052 notready
+ [Setup] Start Logging BandwidthProfileUDP
+ [Teardown] Run Keywords Collect Logs
+ ... AND Stop Logging BandwidthProfileUDP
Pass Execution If '${has_dataplane}'=='False' Bandwidth profile validation can be done only in
... physical pod. Skipping this test in BBSIM.
${of_id}= Wait Until Keyword Succeeds ${timeout} 15s Validate OLT Device in ONOS ${olt_serial_number}