New structure data to pass for ApplyTime
Change-Id: Ic2401fcf497b003bbe5d8451de381803a44754fb
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>
diff --git a/lib/code_update_utils.robot b/lib/code_update_utils.robot
index cef51e7..bdabb90 100644
--- a/lib/code_update_utils.robot
+++ b/lib/code_update_utils.robot
@@ -592,7 +592,8 @@
# Description of argument(s):
# policy ApplyTime allowed values (e.g. "OnReset", "Immediate").
- Redfish.Patch ${REDFISH_BASE_URI}UpdateService body={'ApplyTime' : '${policy}'}
+ Redfish.Patch ${REDFISH_BASE_URI}UpdateService
+ ... body={'HttpPushUriOptions' : {'HttpPushUriApplyTime' : {'ApplyTime' : '${policy}'}}}
${apply_time}= Read Attribute ${SOFTWARE_VERSION_URI}apply_time RequestedApplyTime
Valid Value apply_time valid_values=["xyz.openbmc_project.Software.ApplyTime.RequestedApplyTimes.${policy}"]
Rprint Vars apply_time