Lines Matching full:file

21 ${MAXIMUM_FILE_SIZE_MESSAGE}        File size exceeds maximum allowed size[25MB]
23 ... File size does not fit in the savearea directory maximum allowed size[25MB]
24 ${FILE_UPLOAD_MESSAGE} File Created
25 ${FILE_DELETED_MESSAGE} File Deleted
26 ${FILE_UPDATED_MESSAGE} File Updated
28 ${ERROR_MESSAGE} Error while creating the file
30 ${MINIMUM_FILE_SIZE_MESSAGE} File size is less than minimum allowed size[100B]
34 ${content-1} Sample Content to test partition file upload
35 ... Sample Content to test partition file upload
36 ... Sample Content to test partition file upload
37 ${content-2} Sample Content to test partition file upload after reboot
38 ... Sample Content to test partition file upload after reboot
39 ... Sample Content to test partition file upload after reboot
45 Redfish Upload Lower Limit Partition File To BMC
46 [Documentation] Upload lower limit of allowed partition file to BMC using Redfish.
48 [Template] Redfish Upload Partition File
51 100-file
54 Redfish Upload Partition File To BMC
55 [Documentation] Upload partition file to BMC using Redfish.
57 [Template] Redfish Upload Partition File
60 500KB-file
61 2000KB-file
62 10000KB-file
63 25000KB-file
66 Test Upload Lower Limit Partition File To BMC And Expect Failure
67 [Documentation] Fail to upload partition file to BMC with file size
68 ... below the lower limit of allowed partition file size using Redfish.
70 [Template] Redfish Fail To Upload Partition File
73 99-file ${HTTP_BAD_REQUEST} 0 ${MINIMUM_FILE_SIZE_MESSAGE}
76 Test Upload Upper Limit Partition File To BMC And Expect Failure
77 [Documentation] Fail to upload partition file to BMC with file size
78 ... more than upper limit of allowed partition file size using Redfish.
80 [Template] Redfish Fail To Upload Partition File
83 25001KB-file ${HTTP_BAD_REQUEST} 0 ${MAXIMUM_FILE_SIZE_MESSAGE}
86 Redfish Upload Multiple Partition File To BMC
87 [Documentation] Upload multiple partition file to BMC using Redfish.
89 [Template] Redfish Upload Partition File
92 250KB-file,500KB-file
95 Test Upload Partition File When BMC Space Reach Max And Expect Failure
96 [Documentation] Fail to upload multiple partition file to BMC
99 [Template] Redfish Fail To Upload Partition File
102 15000KB-file ${HTTP_OK} 1 ${FILE_UPLOAD_MESSAGE}
103 16000KB-file ${HTTP_BAD_REQUEST} 0 ${MAXIMUM_DIR_SIZE_MESSAGE}
104 25000KB-file ${HTTP_OK} 1 ${FILE_UPLOAD_MESSAGE}
105 100-file ${HTTP_BAD_REQUEST} 0 ${MAXIMUM_DIR_SIZE_MESSAGE}
108 Redfish Upload Same Partition File To BMC In Loop
109 [Documentation] Upload same partition file to BMC using Redfish in loop.
111 [Template] Redfish Upload Partition File In Loop
114 500KB-file
117 Redfish Upload And Delete Same Partition File To BMC In Loop
118 [Documentation] Upload same partition file to BMC using Redfish in loop.
120 [Template] Redfish Upload And Delete Partition File In Loop
123 500KB-file
126 Redfish Partition File Upload Post BMC Reboot
127 [Documentation] Upload partition file to BMC using Redfish, after the BMC reboot.
129 [Template] Verify Partition File Upload Post BMC Reboot
132 500KB-file
135 Redfish Partition File Persistency On BMC Reboot
136 [Documentation] Upload partition file to BMC using Redfish and is same after reboot.
138 [Template] Redfish Partition File Persistency
141 500KB-file
144 Redfish Multiple Partition File Persistency On BMC Reboot
145 [Documentation] Upload multiple partition file to BMC using Redfish and is same after reboot.
147 [Template] Redfish Partition File Persistency
150 250KB-file,500KB-file
153 Redfish Read Partition File From BMC
154 [Documentation] Upload partition file to BMC using Redfish and verify the content.
156 [Template] Redfish Read Partition File
159 testfile01-file False
160 testfile01-file,testfile02-file False
163 Redfish Read Partition File Post BMC Reboot
164 [Documentation] Upload partition file to BMC using Redfish and verify the content after reboot.
166 [Template] Redfish Read Partition File
169 testfile01-file True
170 testfile01-file,testfile02-file True
173 Redfish Update Partition File On BMC
174 [Documentation] Upload partition file to BMC using Redfish and verify the content.
176 [Template] Redfish Update Partition File With Different Content
179 testfile01-file False
182 Redfish Update Partition File On BMC Reboot
183 …[Documentation] Upload partition file to BMC using Redfish and verify the content after the reboo…
185 [Template] Redfish Update Partition File With Different Content
188 testfile01-file True
191 Redfish Persistency Update Partition File On BMC
192 [Documentation] Upload partition file to BMC using Redfish and verify the content.
194 [Template] Redfish Update Partition File With Same Content
197 testfile01-file False
200 Redfish Delete Non Existence Of Partition File
201 [Documentation] Delete the partition file if do not exists.
203 [Template] Redfish Delete Non Existence Partition File
206 testfile01-file
209 Verify One Thousand Partitions File Upload
210 [Documentation] Upload 1000 partition file to BMC.
212 [Template] Redfish Upload Partition File With Range
218 Non Admin Users Fail To Upload Partition File
219 [Documentation] Non admin user will fail to upload the partition file.
221 [Template] Non Admin User To Upload Partition File
224 500KB-file operator_user TestPwd123 Operator
227 Non Admin User Delete Non Existence Of Partition File
228 [Documentation] Delete the partition file if does not exists.
230 [Template] Non Admin Delete Non Existence Partition File
233 500KB-file operator_user TestPwd123 Operator
236 Redfish Update Wrong Partition File To BMC
237 [Documentation] Upload partition file to BMC by wrong URI using Redfish.
239 [Template] Verify Update Wrong Partition File To BMC
242 500KB-file
245 Test Redfish Upload Partition File Name With Character Limit To BMC
246 [Documentation] Upload partition file to BMC with file name character allowed limit
249 [Template] Check Redfish Upload Partition File Name With Character Limit To BMC
256 Test Redfish Fail To Upload Partition File Name With Special Character To BMC
257 [Documentation] Upload partition file to BMC with special character file name and
260 [Template] Check Redfish Fail To Upload Partition File Name With Special Character To BMC
268 Redfish Persistency Update Partition File Post BMC Reboot
269 …[Documentation] Upload partition file to BMC using Redfish and verify the content after the reboo…
271 [Template] Redfish Update Partition File With Same Content
274 testfile01-file True
277 Redfish Upload Validated Partition File From Path To BMC
278 [Documentation] Upload valid partition file to BMC from file path define by user in loop.
288 Redfish Upload Partition File From Path ${PARTITION_FILE_PATH}
302 Delete All BMC Partition File ${HTTP_OK}
312 Delete Local Partition File
313 [Documentation] Delete local partition file.
317 # file_name Partition file name.
320 ${file_exist}= Run Keyword And Return Status OperatingSystem.File Should Exist ${conf_file}
321 Run Keyword If 'True' == '${file_exist}' Remove File ${conf_file}
325 Delete Local Server Partition File
327 ... will get deleted after the uploads. If partition file name consist
328 ... of “-file” then partition file gets deleted.
331 … ${match_conf_file_list}= Get Matches ${conf_file_list} regexp=.*-file case_insensitive=${True}
337 ${file_exist}= Run Keyword And Return Status OperatingSystem.File Should Exist ${conf_file}
338 Run Keyword If 'True' == '${file_exist}' Remove File ${conf_file}
342 Create Partition File
343 [Documentation] Create Partition file.
347 # file_name Partition file name.
349 Delete Local Partition File ${file_name}
354 OperatingSystem.File Should Exist ${conf_file}
358 Delete BMC Partition File
359 [Documentation] Delete single partition file on BMC via Redfish.
363 # file_name Partition file name.
381 Delete All BMC Partition File
382 [Documentation] Delete multiple partition file on BMC via Redfish.
405 # resp_text after successful partition file upload looks like:
407 # "Description": "File Created"
417 Upload Partition File To BMC
418 [Documentation] Upload partition file to BMC.
422 # file_name Partition file name.
426 # path Partition file path.
430 # Get the content of the file and upload to BMC.
431 ${image_data}= OperatingSystem.Get Binary File ${path}${conf_file}
445 Verify Partition File On BMC
446 [Documentation] Verify partition file on BMC.
450 # file_name Partition file name.
451 # Partition_status Partition file status on BMC.
460 Redfish Upload Partition File
461 [Documentation] Upload the partition file.
465 # file_name Partition file name.
467 # if user pass small_file_size the create file with small
473 Create Partition File ${Partition_file_list}
475 Upload Partition File To BMC ${Partition_file_list} ${HTTP_OK} ${FILE_UPLOAD_MESSAGE}
476 Verify Partition File On BMC ${Partition_file_list} Partition_status=1
478 ... Delete BMC Partition File ${Partition_file_list} ${HTTP_OK} ${FILE_DELETED_MESSAGE}
480 ... Delete All BMC Partition File ${HTTP_OK}
481 Delete Local Partition File ${Partition_file_list}
484 Redfish Fail To Upload Partition File
485 [Documentation] Fail to upload the partition file.
489 # file_name Partition file name.
493 … else user provide the information when user upload the partition with file size
498 Create Partition File ${Partition_file_list}
499 Upload Partition File To BMC ${Partition_file_list} ${status_code} ${response_message}
500 Verify Partition File On BMC ${Partition_file_list} Partition_status=${partition_status}
504 ... Delete BMC Partition File
506 ... Delete All BMC Partition File ${HTTP_OK} AND
507 ... Delete Local Server Partition File
509 Delete Local Partition File ${Partition_file_list}
512 Redfish Upload Partition File In Loop
513 [Documentation] Upload the same partition file multiple times in loop to BMC.
517 # file_name Partition file name.
520 Create Partition File ${Partition_file_list}
522 Upload Partition File To BMC ${Partition_file_list} ${HTTP_OK} ${FILE_UPLOAD_MESSAGE}
523 Verify Partition File On BMC ${Partition_file_list} Partition_status=1
526 Upload Partition File To BMC ${Partition_file_list} ${HTTP_OK} ${FILE_UPDATED_MESSAGE}
527 Verify Partition File On BMC ${Partition_file_list} Partition_status=1
531 Delete BMC Partition File ${Partition_file_list} ${HTTP_OK} ${FILE_DELETED_MESSAGE}
532 Delete Local Partition File ${Partition_file_list}
535 Redfish Upload And Delete Partition File In Loop
536 [Documentation] Upload the same partition file multiple times in loop to BMC.
540 # file_name Partition file name.
543 Redfish Upload Partition File ${file_name}
547 Verify Partition File Upload Post BMC Reboot
548 [Documentation] Upload the partition file, after BMC reboot.
552 # file_name Partition file name.
561 Redfish Upload Partition File ${file_name}
564 Redfish Partition File Persistency
565 [Documentation] Upload the partition file and check for persistency after reboot.
569 # file_name Partition file name.
573 Create Partition File ${Partition_file_list}
574 Upload Partition File To BMC ${Partition_file_list} ${HTTP_OK} ${FILE_UPLOAD_MESSAGE}
575 Verify Partition File On BMC ${Partition_file_list} Partition_status=1
584 Verify Partition File On BMC ${Partition_file_list} Partition_status=1
587 ... Delete BMC Partition File ${Partition_file_list} ${HTTP_OK} ${FILE_DELETED_MESSAGE}
589 ... Delete All BMC Partition File ${HTTP_OK}
590 Delete Local Partition File ${Partition_file_list}
593 Verify Redfish Partition File Content
594 [Documentation] Verify partition file content.
598 # file_name Partition file name.
614 [Documentation] Add defined content in partition file.
618 # file_name Partition file name.
629 OperatingSystem.File Should Exist ${conf_file}
637 Redfish Read Partition File
638 [Documentation] Read partition file content.
642 # file_name Partition file name.
650 Upload Partition File To BMC ${Partition_file_list} ${HTTP_OK} ${FILE_UPLOAD_MESSAGE}
651 Verify Partition File On BMC ${Partition_file_list} Partition_status=1
652 Verify Redfish Partition File Content ${Partition_file_list} ${content_dict} ${HTTP_OK}
662 ... Verify Redfish Partition File Content ${Partition_file_list} ${content_dict} ${HTTP_OK}
665 ... Delete BMC Partition File ${Partition_file_list} ${HTTP_OK} ${FILE_DELETED_MESSAGE}
667 ... Delete All BMC Partition File ${HTTP_OK}
669 Delete Local Partition File ${Partition_file_list}
672 Redfish Update Partition File With Same Content
673 [Documentation] Update partition file with same content.
677 # file_name Partition file name.
683 Upload Partition File To BMC ${Partition_file_list} ${HTTP_OK} ${FILE_UPLOAD_MESSAGE}
684 Verify Partition File On BMC ${Partition_file_list} Partition_status=1
685 Verify Redfish Partition File Content ${Partition_file_list} ${content_dict} ${HTTP_OK}
697 Upload Partition File To BMC ${Partition_file_list} ${HTTP_OK} ${FILE_UPDATED_MESSAGE}
698 Verify Partition File On BMC ${Partition_file_list} Partition_status=1
699 Verify Redfish Partition File Content ${Partition_file_list} ${content_dict} ${HTTP_OK}
701 Delete BMC Partition File ${Partition_file_list} ${HTTP_OK} ${FILE_DELETED_MESSAGE}
702 Delete Local Partition File ${Partition_file_list}
705 Redfish Update Partition File With Different Content
706 [Documentation] Update partition file with different content.
710 # file_name Partition file name.
716 Upload Partition File To BMC ${Partition_file_list} ${HTTP_OK} ${FILE_UPLOAD_MESSAGE}
717 Verify Partition File On BMC ${Partition_file_list} Partition_status=1
718 Verify Redfish Partition File Content ${Partition_file_list} ${content_dict} ${HTTP_OK}
730 Upload Partition File To BMC ${Partition_file_list} ${HTTP_OK} ${FILE_UPDATED_MESSAGE}
731 Verify Partition File On BMC ${Partition_file_list} Partition_status=1
732 Verify Redfish Partition File Content ${Partition_file_list} ${content_dict} ${HTTP_OK}
734 Delete BMC Partition File ${Partition_file_list} ${HTTP_OK} ${FILE_DELETED_MESSAGE}
735 Delete Local Partition File ${Partition_file_list}
738 Create File Names
739 [Documentation] Create partition file names.
748 Append To List ${file_name_list} 1KB-file${count}
753 Redfish Upload Partition File With Range
754 [Documentation] Upload the partition file with the range of files.
760 ${Partition_file_list}= Create File Names ${range}
761 Delete Local Partition File ${Partition_file_list}
762 Create Partition File ${Partition_file_list}
763 Upload Partition File To BMC ${Partition_file_list} ${HTTP_OK} ${FILE_UPLOAD_MESSAGE}
764 Verify Partition File On BMC ${Partition_file_list} Partition_status=1
765 Delete All BMC Partition File ${HTTP_OK}
766 Delete Local Partition File ${Partition_file_list}
769 Redfish Delete Non Existence Partition File
770 [Documentation] Delete the partition file if do not exists.
774 # file_name Partition file name.
777 …Delete BMC Partition File ${Partition_file_list} ${HTTP_NOT_FOUND} ${RESOURCE_NOT_FOUND_MESSAGE}
780 Non Admin User To Upload Partition File
781 [Documentation] Non admin user to upload the partition file.
785 # file_name Partition file name.
795 Create Partition File ${Partition_file_list}
796 …Upload Partition File To BMC ${Partition_file_list} ${HTTP_FORBIDDEN} ${FORBIDDEN_MESSAGE} ${F…
797 Delete Local Partition File ${Partition_file_list}
801 Non Admin Delete Non Existence Partition File
802 [Documentation] Non admin user to upload the partition file.
806 # file_name Partition file name.
816 Delete BMC Partition File ${Partition_file_list} ${HTTP_FORBIDDEN} ${FORBIDDEN_MESSAGE}
819 Verify Update Wrong Partition File To BMC
820 [Documentation] Upload the wrong partition file to BMC.
824 # file_name Partition file name.
832 Check Redfish Upload Partition File Name With Character Limit To BMC
833 [Documentation] Upload the partition file to BMC with file name character limit.
837 # file_name Partition file name.
839 # message Expected message of from upload partition file URI.
843 Create Partition File ${Partition_file_list}
849 ... Upload Partition File To BMC ${Partition_file_list} ${status_code} ${message} AND
850 ... Verify Partition File On BMC ${Partition_file_list} Partition_status=1 AND
851 ... Delete BMC Partition File ${Partition_file_list} ${HTTP_OK} ${FILE_DELETED_MESSAGE}
853 ... Upload Partition File To BMC ${Partition_file_list} ${status_code} ${message}
855 Delete Local Partition File ${Partition_file_list}
858 Check Redfish Fail To Upload Partition File Name With Special Character To BMC
859 [Documentation] Upload the partition file to BMC with special character file name.
863 # file_name Partition file name.
865 # message Expected message from upload partition file URI.
870 Create Partition File ${Partition_file_list}
872 Upload Partition File To BMC ${Partition_file_list} ${status_code} ${message}
875 ... Verify Partition File On BMC ${Partition_file_list} Partition_status=1
878 Delete Local Partition File ${Partition_file_list}
881 Redfish Upload Partition File From Path
882 [Documentation] Upload the partition file to BMC from file path.
886 # PARTITION_FILE_PATH Partition file path.
896 Upload Partition File To BMC file_name=${Partition_file_list}
898 Verify Partition File On BMC ${Partition_file_list} Partition_status=1
899 Delete BMC Partition File ${Partition_file_list} ${HTTP_OK} ${FILE_DELETED_MESSAGE}