Added keyword to get URL list.

Resolves openbmc/openbmc-test-automation#410

Change-Id: Ie207ac46058eb32aa377c28a693b77e67f30a080
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
diff --git a/lib/utils.robot b/lib/utils.robot
index a75414e..c1e7a22 100755
--- a/lib/utils.robot
+++ b/lib/utils.robot
@@ -650,6 +650,15 @@
     :FOR  ${var}  IN Range  1  4
     \     BMC File System Usage check
 
+Get URL List
+    [Documentation]  Return list of URLs under given URL.
+    [Arguments]  ${openbmc_url}
+    # Description of argument(s):
+    # openbmc_url  URL for list operation (e.g. /xyz/openbmc_project/inventory).
+
+    ${url_list}=  Read Properties  ${openbmc_url}/list
+    [Return]  ${url_list}
+
 Get Endpoint Paths
     [Documentation]   Returns all url paths ending with given endpoint
     ...               Example: