[VOL-2409]Restart ofagent
Change-Id: I9e75770b9d1836d273c24a5197453719f9a02102
diff --git a/libraries/utils.robot b/libraries/utils.robot
index 6d0828b..97433ff 100644
--- a/libraries/utils.robot
+++ b/libraries/utils.robot
@@ -271,3 +271,10 @@
Run Keyword and Ignore Error Get Device Output from Voltha ${onu_device_id}
Run Keyword and Ignore Error Collect Logs
END
+
+Collect Logs
+ [Documentation] Collect Logs from voltha and onos cli for various commands
+ Run Keyword and Ignore Error Get Device List from Voltha
+ Run Keyword and Ignore Error Get Device Output from Voltha ${olt_device_id}
+ Run Keyword and Ignore Error Get Logical Device Output from Voltha ${logical_id}
+ Run Keyword If ${external_libs} Get ONOS Status ${k8s_node_ip}