Home
last modified time | relevance | path

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

12345678910>>...13

/openbmc/openbmc-test-automation/redfish/account_service/
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
33 Verify Redfish Privilege Registry Properties
34 [Documentation] Verify the Redfish Privilege Registry properties.
37 Redfish.Login
40 ${url}= Get Redfish Privilege Registry json URL
41 ${resp}= Redfish.Get ${url}
64 Verify Redfish Privilege Registry Mappings Properties For Account Service
68 # Below is the mapping for Redfish Privilege Registry property for
[all …]
H A Dtest_user_account.robot2 Documentation Test suite for verifying Redfish admin, readonly operation user accounts.
11 Test Setup Redfish.Login
25 [Documentation] Verify Redfish account service is available.
32 Verify Redfish Admin And ReadOnly Users Persistence After Reboot
33 [Documentation] Verify Redfish admin user persistence after reboot.
35 [Setup] Run Keywords Redfish.Login AND
36 ... Redfish Create User admin_user TestPwd123 Administrator ${True}
37 ... AND Redfish Create User readonly_user TestPwd123 ReadOnly ${True}
38 [Teardown] Run Keywords Redfish.Delete /redfish/v1/AccountService/Accounts/admin_user
39 ... AND Redfish.Delete /redfish/v1/AccountService/Accounts/readonly_user
[all …]
H A Dtest_ipmi_redfish_user.robot2 Documentation Test IPMI and Redfish combinations for user management.
29 Create Admin Redfish User And Verify Login Via IPMI
39 Redfish.Post /redfish/v1/AccountService/Accounts body=&{payload}
48 Update User Password Via Redfish And Verify Using IPMI
49 [Documentation] Update user password via Redfish and verify using IPMI.
52 # Create user using Redfish.
59 Redfish.Post /redfish/v1/AccountService/Accounts body=&{payload}
62 # Update user password using Redfish.
64 Redfish.Patch /redfish/v1/AccountService/Accounts/${random_username} body=&{payload}
73 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.Patch ${REDFISH_BASE_URI}AccountService
[all …]
/openbmc/openbmc-test-automation/redfish/service_root/
H A Dtest_service_root.robot2 Documentation Test Redfish to verify responses for SessionService and Hypermedia.
14 Redfish Login And Logout
18 Redfish.Login
19 Redfish.Logout
22 GET Redfish Hypermedia Without Login
25 [Setup] Redfish.Logout
26 [Template] GET And Verify Redfish Response
33 GET Redfish SessionService Without Login
36 [Setup] Redfish.Logout
38 Redfish.Get /redfish/v1/SessionService
[all …]
H A Dtest_sessions_connection.robot2 Documentation Test Redfish session and its connection stability.
7 Suite Setup Set Redfish Delete Session Flag ${0}
8 Suite Teardown Run Keywords Set Redfish Delete Session Flag ${1} AND Redfish.Logout
25 [Setup] Redfish.Logout
28 Redfish.Login
36 [Setup] Redfish.Logout
39 Redfish.Login
48 Redfish.Get Attribute ${REDFISH_NW_PROTOCOL_URI} HostName
56 Redfish OBMC Reboot (Off)
/openbmc/openbmc-test-automation/openpower/localuser/
H A Dtest_ipmi_redfish_user.robot2 Documentation Test IPMI and Redfish combinations for user management.
23 Create IPMI User Without Any Privilege And Verify Via Redfish
25 ... via Redfish.
34 # Verify new user privilege level via Redfish.
35 ${privilege}= Redfish.Get Attribute
40 Create Admin User Via Redfish And Verify Login Via IPMI
50 Redfish.Post /redfish/v1/AccountService/Accounts body=&{payload}
56 Enable IPMI Access To User Using Redfish ${random_username}
58 # Update user password using Redfish.
60 Redfish.Patch /redfish/v1/AccountService/Accounts/${random_username} body=&{payload}
[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/redfish/update_service/
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_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_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.
16 ${rsv_dir_path} Redfish-Service-Validator
17 ${rsv_github_url} https://github.com/DMTF/Redfish-Service-Validator.git
25 Test BMC Redfish Using Redfish Service Validator
26 [Documentation] Check conformance with a Redfish service interface.
33 Redfish Service Validator Result ${output}
34 IF ${rc} != 0 Fail Redfish-Service-Validator Failed.
37 Run Redfish Service Validator With Additional Roles
38 [Documentation] Check Redfish conformance using the Redfish Service Validator.
62 Redfish.Login
[all …]
H A DRedfish_JsonSchema_ResponseValidator.robot2 Documentation Test BMC using https://github.com/DMTF/Redfish-JsonSchema-ResponseValidator
14 ${rsv_dir_path} Redfish-JsonSchema-ResponseValidator
15 ${rsv_github_url} https://github.com/DMTF/Redfish-JsonSchema-ResponseValidator.git
16 ${command_string} ${DEFAULT_PYTHON} ${rsv_dir_path}${/}Redfish-JsonSchema-ResponseValidator.py
23 Test BMC Redfish Using Redfish JsonSchema ResponseValidator
29 Redfish.Login
31 Redfish.Logout
39 … ${status}= Run Keyword And Return Status Redfish JsonSchema ResponseValidator Result ${output}
45 Fail Redfish-JsonSchema-ResponseValidator detected errors.
57 # url Redfish resource path (e.g. "/redfish/v1/AccountService").
/openbmc/openbmc-test-automation/redfish/systems/
H A Dtest_power_operations.robot2 Documentation This suite tests Redfish Host power operations.
24 Verify Redfish Host GracefulShutdown
25 [Documentation] Verify Redfish host graceful shutdown operation.
28 Redfish Power Off
31 Verify Redfish BMC PowerOn With OCC State
32 [Documentation] Verify Redfish host power on operation.
35 Redfish Power On
41 Verify Redfish Host PowerOn
42 [Documentation] Verify Redfish host power on operation.
45 Redfish Power On
[all …]
/openbmc/openbmc-test-automation/redfish/managers/
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} invalid
[all …]
H A Dtest_managers_bmc.robot26 Verify Redfish BMC Firmware Version
30 Redfish.Login
31 ${resp}= Redfish.Get /redfish/v1/Managers/${MANAGER_ID}
38 Verify Redfish BMC Manager Properties
42 Redfish.Login
43 ${resp}= Redfish.Get /redfish/v1/Managers/${MANAGER_ID}
92 ${redfish_mac_addr}= Redfish.Get Attribute
106 Redfish BMC Manager GracefulRestart When Host Off
112 # "ResetType@Redfish.AllowableValues": [
122 Redfish Power Off stack_mode=skip
[all …]
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 …]
/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/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/docs/
H A Dredfish_coding_guidelines.md1 # Redfish Coding Guidelines
3 - For robot programs wishing to run Redfish commands, include the following in
16 - Redfish wrapper module features:
18 For all Redfish REST requests (get, head, post, put, patch, delete):
27 Redfish.Patch ${REDFISH_BASE_URI}AccountService body=${body}
33Redfish.Patch ${REDFISH_BASE_URI}AccountService body={'${LDAP_TYPE}': {'ServiceEnabled': ${False…
43 This means that the Redfish REST request will fail **automatically** if
49 ${resp}= Redfish.Get ${EVENT_LOG_URI}Entries
56 ${resp}= Redfish.Get ${EVENT_LOG_URI}Entries
63Redfish.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/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 …]
/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} valid_status_codes=[${HTTP_OK}, ${HTTP_CREATED}]
97 Redfish Bmc Reset To Defaults Operation
[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 …]

12345678910>>...13