[VOL-2289] collect more logs during teardown
Change-Id: Idcb6a74786a9e2b41c5b5018d52ed925c88318ff
diff --git a/libraries/voltctl.robot b/libraries/voltctl.robot
index ba1313e..71da9a1 100644
--- a/libraries/voltctl.robot
+++ b/libraries/voltctl.robot
@@ -83,6 +83,12 @@
Should Be Equal As Integers ${rc1} 0
Should Be Equal As Integers ${rc2} 0
+Get Device List from Voltha
+ [Documentation] Gets Device List Output from Voltha
+ ${rc1} ${devices}= Run and Return Rc and Output ${VOLTCTL_CONFIG}; voltctl device list
+ Log ${devices}
+ Should Be Equal As Integers ${rc1} 0
+
Validate Device
[Arguments] ${admin_state} ${oper_status} ${connect_status} ${serial_number}=${EMPTY} ${device_id}=${EMPTY}
... ${onu_reason}=${EMPTY} ${onu}=False