Automated test case partition file upload post BMC reboot

changes:
   - Test case "Redfish Partition File Persistency On BMC Reboot"
   - keyword " Verify Partition File Upload Post BMC Reboot"

Change-Id: Ie646e14d48ac5df95c96eedad62ba446d629d9d3
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>
diff --git a/openpower/ext_interfaces/test_savearea_management.robot b/openpower/ext_interfaces/test_savearea_management.robot
index ed97552..8c041ce 100644
--- a/openpower/ext_interfaces/test_savearea_management.robot
+++ b/openpower/ext_interfaces/test_savearea_management.robot
@@ -61,6 +61,15 @@
     650KB_file,501KB_file
 
 
+Redfish Partition File Upload Post BMC Reboot
+    [Documentation]  Upload partition file to BMC using redfish, after the BMC reboot.
+    [Tags]  Redfish_Partition_File_Upload_Post_BMC_Reboot
+    [Template]  Verify Partition File Upload Post BMC Reboot
+
+    # file_name
+    500KB_file
+
+
 Redfish Partition File Persistency On BMC Reboot
     [Documentation]  Upload partition file to BMC using redfish and is same after reboot.
     [Tags]  Redfish_Partition_File_Persistency_On_BMC_Reboot
@@ -367,6 +376,18 @@
     Delete Local Partition File  ${Partition_file_list}
 
 
+Verify Partition File Upload Post BMC Reboot
+    [Documentation]  Upload the partition file, after BMC reboot.
+    [Arguments]  ${file_name}
+
+    # Description of argument(s):
+    # file_name    Partition file name.
+
+    Redfish OBMC Reboot (off)
+
+    Redfish Upload Partition File  ${file_name}
+
+
 Redfish Partition File Persistency
     [Documentation]  Upload the partition file and check for persistency after reboot.
     [Arguments]  ${file_name}