Home
last modified time | relevance | path

Searched refs:Redfish (Results 1 – 25 of 293) sorted by relevance

12345678910>>...12

/openbmc/openbmc-test-automation/redfish/account_service/
H A Dtest_user_account.robot2 Documentation Test Redfish user account.
11 Test Setup Redfish.Login
24 [Documentation] Verify Redfish account service is available.
31 Verify Redfish Admin User Persistence After Reboot
32 [Documentation] Verify Redfish admin user persistence after reboot.
34 [Setup] Run Keywords Redfish.Login AND
35 ... Redfish Create User admin_user TestPwd123 Administrator ${True}
36 [Teardown] Run Keywords Redfish.Delete /redfish/v1/AccountService/Accounts/admin_user
40 Redfish OBMC Reboot (off) stack_mode=normal
43 Redfish Verif
[all...]
H A Dtest_redfish_privilege_registry.robot2 Documentation Script to test Redfish privilege registry with various users
11 Suite Teardown Delete Created Redfish Users Except Default Admin
12 Test Teardown Redfish.Logout
31 Verify Redfish Privilege Registry Properties
32 [Documentation] Verify the Redfish Privilege Registry properties.
35 Redfish.Login
38 ${url}= Get Redfish Privilege Registry json URL
39 ${resp}= Redfish.Get ${url}
62 Verify Redfish Privilege Registry Mappings Properties For Account Service
66 # Below is the mapping for Redfish Privilege Registry property for
[all …]
H A Dtest_ipmi_redfish_user.robot2 Documentation Test IPMI and Redfish combinations for user management.
27 Create Admin Redfish User And Verify Login Via IPMI
37 Redfish.Post /redfish/v1/AccountService/Accounts body=&{payload}
46 Update User Password Via Redfish And Verify Using IPMI
47 [Documentation] Update user password via Redfish and verify using IPMI.
50 # Create user using Redfish.
57 Redfish.Post /redfish/v1/AccountService/Accounts body=&{payload}
60 # Update user password using Redfish.
62 Redfish.Patch /redfish/v1/AccountService/Accounts/${random_username} body=&{payload}
71 Update User Privilege Via Redfish And Verify Using IPMI
[all …]
H A Dtest_ldap_configuration.robot2 Documentation Test Redfish LDAP user configuration.
13 Test Teardown Run Keywords Redfish.Login AND FFDC On Test Case Fail
34 Redfish.Login ${LDAP_USER} ${LDAP_USER_PASSWORD}
35 Redfish.Logout
38 Verify Redfish LDAP Service Disable
43 Redfish.Patch ${REDFISH_BASE_URI}AccountService
47 ${resp}= Run Keyword And Return Status Redfish.Login ${LDAP_USER}
51 Redfish.Logout
52 Redfish.Login
54 Redfish
[all...]
/openbmc/openbmc-test-automation/redfish/service_root/
H A Dtest_service_root.robot2 Documentation Test Redfish to verify responses for SessionService and Hypermedia.
15 Redfish Login And Logout
19 Redfish.Login
20 Redfish.Logout
23 GET Redfish Hypermedia Without Login
26 [Setup] Redfish.Logout
27 [Template] GET And Verify Redfish Response
34 GET Redfish SessionService Without Login
37 [Setup] Redfish.Logout
39 ${resp}= Redfish.Get /redfish/v1/SessionService
[all …]
H A Dtest_sessions_management.robot3 Documentation Test Redfish SessionService.
81 [Teardown] Redfish.Login
84 Redfish.Logout
85 Redfish.Login ${ADMIN}[0] ${ADMIN}[1]
86 ${systems}= Redfish.Get Properties /redfish/v1/Systems
88 Redfish.Logout
89 ${systems}= Redfish.Get /redfish/v1/Systems
97 ${session_service}= Redfish.Get Properties /redfish/v1/SessionService
113 ${sessions}= Redfish.Get Properties /redfish/v1/SessionService/Sessions
127 ${session_location}= Redfish.Get Session Location
[all …]
/openbmc/openbmc-test-automation/security/
H A Dtest_bmc_expire_password.robot59 Redfish.Login
61 ${resp}= Redfish.Patch /redfish/v1/AccountService/Accounts/${OPENBMC_USERNAME}
68 Expire Root Password And Update Bad Password Length Via Redfish
69 [Documentation] Expire root password and update bad password via Redfish and expect an error.
76 Redfish.Login
78 ... Redfish.Patch /redfish/v1/AccountService/Accounts/${OPENBMC_USERNAME}
83 Expire And Change Root User Password Via Redfish And Verify
84 [Documentation] Expire and change root user password via Redfish and verify.
92 Verify User Password Expired Using Redfish ${OPENBMC_USERNAME} ${OPENBMC_PASSWORD}
94 Redfish.Patch /redfish/v1/AccountService/Accounts/${OPENBMC_USERNAME}
[all …]
/openbmc/openbmc-test-automation/openpower/localuser/
H A Dtest_ipmi_redfish_user.robot2 Documentation Test IPMI and Redfish combinations for user management.
25 Create IPMI User Without Any Privilege And Verify Via Redfish
27 ... via Redfish.
36 # Verify new user privilege level via Redfish.
42 Create Admin User Via Redfish And Verify Login Via IPMI
52 Redfish.Post /redfish/v1/AccountService/Accounts body=&{payload}
58 Enable IPMI Access To User Using Redfish ${random_username}
60 # Update user password using Redfish.
62 Redfish.Patch /redfish/v1/AccountService/Accounts/${random_username} body=&{payload}
67 Delete User Via Redfish And Verify Using IPMI
[all …]
/openbmc/openbmc-test-automation/redfish/update_service/
H A Dtest_redfish_bmc_code_update.robot30 Suite Teardown Redfish.Logout
45 Redfish Code Update With ApplyTime OnReset
48 [Template] Redfish Update Firmware
54 Redfish Code Update With ApplyTime Immediate
57 [Template] Redfish Update Firmware
63 Redfish Code Update Same Firmware Multiple Times
74 Redfish Update Firmware apply_time=OnReset
79 Redfish Code Update With Multiple Firmware
82 [Template] Redfish Multiple Upload Image And Check Progress State
88 Post BMC Reset Perform Redfish Code Update
[all …]
H A Dtest_redfish_host_code_update.robot26 Suite Teardown Redfish.Logout
34 Redfish Host Code Update With ApplyTime OnReset
37 [Template] Redfish Update Firmware
43 Redfish Host Code Update With ApplyTime Immediate
46 [Template] Redfish Update Firmware
56 ${bios_version_before}= Redfish.Get Attribute /redfish/v1/Systems/${SYSTEM_ID}/ BiosVersion
57 Redfish Firmware Update And Do BMC Reboot
58 ${bios_version_after}= Redfish.Get Attribute /redfish/v1/Systems/${SYSTEM_ID}/ BiosVersion
68 Redfish.Login
69 Run Keyword And Ignore Error Redfish Delete All BMC Dumps
[all …]
H A Dtest_firmware_inventory.robot2 Documentation Verify that Redfish software inventory can be collected.
17 Verify Redfish Update Service Enabled
27 ${resp}= Redfish.Get /redfish/v1/UpdateService
31 Verify Redfish Software Inventory Collection
53 ${resp}= Redfish.Get /redfish/v1/UpdateService/FirmwareInventory
59 Redfish Software Inventory Status Check
63 ${resp}= Redfish.Get /redfish/v1/UpdateService/FirmwareInventory
71 ${resp_resource}= Redfish.Get ${resp.dict["Members"][${entry}]["@odata.id"]}
88 ${bmc_manager}= Redfish.Get /redfish/v1/Managers/${MANAGER_ID}
94 ${resp}= Redfish.Get /redfish/v1/UpdateService/FirmwareInventory
[all …]
H A Dtest_redfish_image_upload.robot32 Suite Teardown Redfish.Logout
45 Redfish Failure To Upload BMC Image With Bad Manifest
48 [Template] Redfish Bad Firmware Update
54 Redfish Failure To Upload Empty BMC Image
57 [Template] Redfish Bad Firmware Update
63 Redfish Failure To Upload Host Image With Bad Manifest
66 [Template] Redfish Bad Firmware Update
72 Redfish Failure To Upload Empty Host Image
75 [Template] Redfish Bad Firmware Update
81 Redfish TFTP Failure To Upload BMC Image With Bad Manifest
[all …]
/openbmc/openbmc-test-automation/redfish/dmtf_tools/
H A DRedfish_Service_Validator.robot2 Documentation Test BMC using https://github.com/DMTF/Redfish-Service-Validator.
14 ${rsv_dir_path} Redfish-Service-Validator
15 ${rsv_github_url} https://github.com/DMTF/Redfish-Service-Validator.git
23 Test BMC Redfish Using Redfish Service Validator
24 [Documentation] Check conformance with a Redfish service interface.
31 Redfish Service Validator Result ${output}
32 Run Keyword If ${rc} != 0 Fail Redfish-Service-Validator Failed.
35 Run Redfish Service Validator With Additional Roles
36 [Documentation] Check Redfish conformance using the Redfish Service Validator.
60 Redfish.Login
[all …]
/openbmc/openbmc-test-automation/pldm/
H A Dtest_redfish_bios_attributes.robot2 Documentation This suite test various BIOS attributes operations using Redfish.
14 Suite Setup Redfish BIOS Suite Setup
15 Suite Teardown Run Keyword And Ignore Error Redfish BIOS Suite Cleanup
27 Redfish Verify Set BIOS Attribute With Invalid Attribute Name
29 ... Redfish.
33 Redfish.Patch ${BIOS_ATTR_SETTINGS_URI} body={"Attributes":{"${random_str}": '${random_str}'}}
37 Redfish Verify Set Invalid Optional Value For BIOS Enumeration Attribute Type
39 ... using Redfish.
46 Redfish.Patch ${BIOS_ATTR_SETTINGS_URI} body={"Attributes":{"${enum_attr}": '0'}}
50 Redfish Verify Set Out Of Range Integer Value For BIOS Integer Attribute Type
[all …]
/openbmc/openbmc-test-automation/redfish/managers/
H A Dtest_bmc_dumps.robot11 Suite Setup Redfish.Login
12 Test Setup Redfish Delete All BMC Dumps
33 Redfish Power Off stack_mode=skip
34 ${dump_id}= Create User Initiated BMC Dump Via Redfish
35 Wait Until Keyword Succeeds 15 sec 5 sec Redfish Delete BMC Dump ${dump_id}
36 Run Keyword And Expect Error ValueError: * Redfish Delete BMC Dump ${dump_id}
44 Redfish Power Off stack_mode=skip
45 ${dump_id}= Create User Initiated BMC Dump Via Redfish
55 Redfish Power Off stack_mode=skip
56 ${dump_id}= Create User Initiated BMC Dump Via Redfish
[all …]
H A Dtest_managers_bmc_time.robot21 Verify Redfish BMC Time
26 ${redfish_date_time}= Redfish Get DateTime
33 ... The difference between Redfish time and CLI time exceeds the allowed time difference.
36 Verify Set Time Using Redfish
45 Redfish Set DateTime ${new_bmc_time}
52 ... The difference between Redfish time and CLI time exceeds the allowed time difference.
54 Redfish Set DateTime ${old_bmc_time}
57 Verify Set DateTime With Offset Using Redfish
60 [Teardown] Run Keywords Redfish Set DateTime AND FFDC On Test Case Fail
62 Redfish Set DateTime ${date_time_with_offset} valid_status_codes=[${HTTP_BAD_REQUEST}]
[all …]
/openbmc/openbmc-test-automation/redfish/systems/
H A Dtest_power_operations.robot2 Documentation This suite tests Redfish Host power operations.
22 Verify Redfish Host GracefulShutdown
23 [Documentation] Verify Redfish host graceful shutdown operation.
26 Redfish Power Off
29 Verify Redfish BMC PowerOn With OCC State
30 [Documentation] Verify Redfish host power on operation.
33 Redfish Power On
39 Verify Redfish Host PowerOn
40 [Documentation] Verify Redfish host power on operation.
43 Redfish Power On
[all …]
/openbmc/openbmc-test-automation/docs/
H A Dredfish_coding_guidelines.md1 # Redfish Coding Guidelines
3 - For robot programs wishing to run Redfish commands, include the following in
17 - Redfish wrapper module features:
19 For all Redfish REST requests (get, head, post, put, patch, delete):
29 Redfish.Patch ${REDFISH_BASE_URI}AccountService body=${body}
35Redfish.Patch ${REDFISH_BASE_URI}AccountService body={'${LDAP_TYPE}': {'ServiceEnabled': ${False…
45 This means that the Redfish REST request will fail **automatically** if
51 ${resp}= Redfish.Get ${EVENT_LOG_URI}Entries
58 ${resp}= Redfish.Get ${EVENT_LOG_URI}Entries
65Redfish.Patch ${REDFISH_BASE_URI}UpdateService body={'ApplyTime' : 'Invalid'} valid_status_code…
[all …]
/openbmc/openbmc-test-automation/redfish/systems/LogServices/
H A Dtest_post_codes.robot26 Redfish Power On
27 ${post_code_list}= Redfish Get PostCodes
30 ${post_codes}= Redfish.Get Properties
41 Redfish Power On stack_mode=skip
42 Redfish Clear PostCodes
45 ${post_code_list}= Redfish Get PostCodes
48 ${post_codes}= Redfish.Get Properties
59 Redfish Power On stack_mode=skip
60 Redfish Clear PostCodes
62 Redfish Power Off
[all …]
/openbmc/docs/designs/
H A Dredfish-authorization.md1 # Dynamic Redfish Authorization
9 The Redfish authorization subsystem controls which authenticated users have
13 enhance the current implementation in BMCWeb Redfish interface so that OpenBMC
15 Redfish service restart.
19 ### Redfish Authorization Model
21 The Redfish authorization model consists of the privilege model and the
24 In the privilege model, there are fixed set of standard Redfish roles and each
33 authenticated Redfish role are sufficient to complete the operation in the
34 request. The Redfish Forum provides a Privilege Registry definition in its
47 **Note**, in the Redfish spec, OEM roles can be added via POST to the
[all …]
/openbmc/openbmc-test-automation/openpower/ext_interfaces/
H A Dtest_savearea_management.robot45 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
54 Redfish Upload Partition File To BMC
55 [Documentation] Upload partition file to BMC using Redfish.
57 [Template] Redfish Upload Partition File
68 ... below the lower limit of allowed partition file size using Redfish.
70 [Template] Redfish Fail To Upload Partition File
78 ... more than upper limit of allowed partition file size using Redfish.
80 [Template] Redfish Fail To Upload Partition File
[all …]
/openbmc/openbmc-test-automation/oem/nuvoton/
H A Dtest_redfish_mcu_fw_update.robot26 Suite Teardown Redfish.Logout
34 Redfish Mcu Code Update With ApplyTime OnReset
37 [Template] Redfish Update Firmware
43 Redfish Mcu Code Update With ApplyTime Immediate
46 [Template] Redfish Update Firmware
61 Redfish.Login
62 Redfish Delete All BMC Dumps
63 Redfish Purge Event Log
66 Redfish Verify MCU Version
68 ... version in the given image via Redfish.
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dbmc_redfish_utils.robot10 Redfish Power Operation
11 [Documentation] Do Redfish host power operation.
21 # "@Redfish.ActionInfo": "/redfish/v1/Systems/${SYSTEM_ID}/ResetActionInfo",
52 ${resp}= Redfish.Post ${target} body=&{payload}
56 Redfish BMC Reset Operation
57 [Documentation] Do Redfish BMC reset operation.
63 # "@Redfish.ActionInfo": "/redfish/v1/Managers/${MANAGER_ID}/ResetActionInfo",
67 # "ResetType@Redfish.AllowableValues": [
95 Redfish.Post ${target} body=&{payload}
98 Reset BIOS Via Redfish
[all …]
/openbmc/openbmc-test-automation/redfish/events/
H A Dtest_bmc_snmp_trap.robot23 [Documentation] Configure SNMP manager on BMC via Redfish and verify.
25 [Teardown] Delete SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT}
27 Configure SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT} ${HTTP_CREATED}
35 [Teardown] Delete SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${NON_DEFAULT_PORT1}
37 Configure SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${NON_DEFAULT_PORT1} ${HTTP_CREATED}
45 [Teardown] Delete SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${out_of_range_port}
47 Configure SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${out_of_range_port} ${HTTP_BAD_REQUEST}
76 [Teardown] Delete SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${alpha_port}
78 Configure SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${alpha_port} ${HTTP_BAD_REQUEST}
91 [Teardown] Delete SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT}
[all …]
/openbmc/openbmc-test-automation/ipmi/
H A Dtest_ipmi_fru.robot22 [Documentation] Verify FRU info of power supply via IPMI and Redfish.
29 # Redfish FRU info.
30 ${redfish_power_details}= Redfish.Get Members List
34 ${redfish_power_supply_reading}= Redfish.Get Properties ${power_supply}
37 Verify IPMI and Redfish subcomponents ${redfish_power_dict}
42 Verify IPMI and Redfish subcomponents
43 [Documentation] Get IPMI And Redfish subcomponents of FRU and verify.
48 # ${redfish_fru_info} Redfish FRU component values.
52 # Fetch each subcomponent value of IPMI and Redfish and compare.
58 Compare IPMI And Redfish FRU Component ${ipmi_fru_sub_component}
[all …]

12345678910>>...12