Keyword to clear gard records

Added:
    Newly introduced API to clear gard record.
    Availble on latest driver.
    Interface: /org/open_power/control/gard/action/Reset

Removed:
   Deprecated "Clear BMC Record Log" old event logging
   keyword.

Change-Id: Ieccf8baa013b8f520d9d3e70442d520a0a53748b
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/utils.robot b/lib/utils.robot
index 056e87a..492d746 100755
--- a/lib/utils.robot
+++ b/lib/utils.robot
@@ -369,14 +369,16 @@
     ${content}=  to json  ${resp.content}
     [Return]  ${content["data"]}
 
-Clear BMC Record Log
-    [Documentation]  Clears all the event logs on the BMC. This would be
-    ...              equivalent to ipmitool sel clear.
-    @{arglist}=   Create List
-    ${args}=     Create Dictionary    data=@{arglist}
+
+Clear BMC Gard Record
+    [Documentation]  Clear gard records from the system.
+
+    @{arglist}=  Create List
+    ${args}=  Create Dictionary  data=@{arglist}
     ${resp}=  Call Method
-    ...  ${OPENBMC_BASE_URI}records/events/  clear  data=${args}
-    should be equal as strings      ${resp.status_code}     ${HTTP_OK}
+    ...  ${OPENPOWER_CONTROL}gard  Reset  data=${args}
+    Should Be Equal As Strings  ${resp.status_code}  ${HTTP_OK}
+
 
 Copy PNOR to BMC
     Import Library      SCPLibrary      WITH NAME       scp