| /openbmc/openbmc-test-automation/redfish/account_service/ |
| H A D | test_user_account.robot | 2 Documentation Test suite for verifying Redfish admin, readonly operation user accounts. 11 Test Setup Redfish.Login 25 [Documentation] Verify Redfish account service is available. 28 ${resp} = Redfish_utils.Get Attribute /redfish/v1/AccountService ServiceEnabled 32 Verify Redfish Admin User 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 [Teardown] Run Keywords Redfish.Delete /redfish/v [all...] |
| H A D | test_ipmi_redfish_user.robot | 2 Documentation Test IPMI and Redfish combinations for user management. 29 Create Admin Redfish User And Verify Login Via IPMI 30 [Documentation] Create user using redfish and verify 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} [all …]
|
| H A D | test_redfish_privilege_registry.robot | 2 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 Privileg [all...] |
| /openbmc/libbej/test/json/ |
| H A D | storage_large.json | 3 "@odata.context": "/redfish/v1/$metadata#Storage.Storage", 4 "@odata.id": "/redfish/v1/Systems/1/Storage/1", 15 "@odata.id": "/redfish/v1/Systems/1/Storage/1#/StorageControllers/0", 41 "@odata.id": "/redfish/v1/Systems/1/Storage/1/Drives/1" 44 "@odata.id": "/redfish/v1/Systems/1/Storage/1/Drives/2" 47 "@odata.id": "/redfish/v1/Systems/1/Storage/1/Drives/3" 50 "@odata.id": "/redfish/v1/Systems/1/Storage/1/Drives/4" 53 "@odata.id": "/redfish/v1/Systems/1/Storage/1/Drives/5" 56 "@odata.id": "/redfish/v1/Systems/1/Storage/1/Drives/6" 59 "@odata.id": "/redfish/v1/Systems/1/Storage/1/Drives/7" [all …]
|
| /openbmc/openbmc-test-automation/redfish/service_root/ |
| H A D | test_service_root.robot | 2 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 30 ${HTTP_OK} /redfish 31 ${HTTP_OK} /redfish/v1 34 GET Redfish SessionService Without Login [all …]
|
| H A D | test_sessions_management.robot | 3 Documentation Test Redfish SessionService. 60 # https://redfish.dmtf.org/schemas/v1/SessionService.v1_1_7.json 86 [Teardown] Redfish.Login 88 # Logout already created redfish session. 89 Redfish.Logout 90 Redfish.Login ${ADMIN}[0] ${ADMIN}[1] 91 ${systems}= Redfish.Get Properties /redfish/v1/Systems 93 Redfish.Logout 94 ${systems}= Redfish.Get /redfish/v1/Systems 102 ${session_service}= Redfish.Get Properties /redfish/v1/SessionService [all …]
|
| /openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
| H A D | CertificateCollection.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/CertificateCollection.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 10 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/idRef" 15 …ce shall represent a resource collection of `Certificate` instances for a Redfish implementation.", 17 … "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 18 … "description": "This property shall specify a valid odata or Redfish property.", 32 … "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" 35 … "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" 38 … "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" 41 … "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" [all …]
|
| H A D | RouteEntryCollection.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/RouteEntryCollection.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 10 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/idRef" 15 …rce shall represent a resource collection of `RouteEntry` instances for a Redfish implementation.", 17 … "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 18 … "description": "This property shall specify a valid odata or Redfish property.", 32 … "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" 35 … "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" 38 … "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" 41 … "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" [all …]
|
| H A D | PortCollection.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/PortCollection.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 10 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/idRef" 15 … resource shall represent a resource collection of `Port` instances for a Redfish implementation.", 17 … "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 18 … "description": "This property shall specify a valid odata or Redfish property.", 32 … "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" 35 … "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" 38 … "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" 41 … "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" [all …]
|
| H A D | VCATEntryCollection.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/VCATEntryCollection.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 10 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/idRef" 15 …urce shall represent a resource collection of `VCATEntry` instances for a Redfish implementation.", 17 … "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 18 … "description": "This property shall specify a valid odata or Redfish property.", 32 … "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" 35 … "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" 38 … "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" 41 … "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" [all …]
|
| H A D | CircuitCollection.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/CircuitCollection.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 10 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/idRef" 15 …source shall represent a resource collection of `Circuit` instances for a Redfish implementation.", 17 … "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 18 … "description": "This property shall specify a valid odata or Redfish property.", 32 … "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" 35 … "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" 38 … "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" 41 … "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" [all …]
|
| H A D | VolumeCollection.json | 2 "$id": "http://redfish.dmtf.org/schemas/swordfish/v1/VolumeCollection.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 10 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/idRef" 17 … "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 18 … "description": "This property shall specify a valid odata or Redfish property.", 32 … "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" 35 … "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" 38 … "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" 41 … "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" 46 … "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description" [all …]
|
| H A D | ProcessorCollection.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/ProcessorCollection.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 10 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/idRef" 15 …urce shall represent a resource collection of `Processor` instances for a Redfish implementation.", 17 … "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 18 … "description": "This property shall specify a valid odata or Redfish property.", 32 … "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" 35 … "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" 38 … "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" 41 … "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" [all …]
|
| /openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
| H A D | CertificateCollection.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/CertificateCollection.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 10 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/idRef" 15 "longDescription": "This resource shall represent a resource collection of `Certificate` instances for a Redfish implementation.", 17 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 18 "description": "This property shall specify a valid odata or Redfish property.", 32 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" 35 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" 38 "$ref": "http://redfish [all...] |
| H A D | PortCollection.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/PortCollection.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 10 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/idRef" 15 "longDescription": "This resource shall represent a resource collection of `Port` instances for a Redfish implementation.", 17 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 18 "description": "This property shall specify a valid odata or Redfish property.", 32 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" 35 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" 38 "$ref": "http://redfish [all...] |
| H A D | ProcessorCollection.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/ProcessorCollection.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 10 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/idRef" 15 "longDescription": "This resource shall represent a resource collection of `Processor` instances for a Redfish implementation.", 17 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 18 "description": "This property shall specify a valid odata or Redfish property.", 32 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" 35 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" 38 "$ref": "http://redfish [all...] |
| /openbmc/telemetry/redfish-tests/ |
| H A D | test_telemetry.py | 7 def test_get_telemetry_service(redfish): argument 8 r = redfish.get(redfish.telemetry_service_path) 16 def test_get_metric_definition_collection(redfish): argument 17 r = redfish.get(redfish.metric_definition_path) 22 def test_verify_metric_definition_members_if_contains_metrics(redfish): argument 23 r = redfish.get(redfish.metric_definition_path) 26 metricDefinition = redfish.get(path) 31 def test_get_metric_definition_that_not_exist_expect_not_found(redfish): argument 32 redfish.get( 33 f"{redfish.metric_definition_path}/NotExisting", [all …]
|
| /openbmc/bmcweb/test/ |
| H A D | meson.build | 26 'redfish-core/include/dbus_log_watcher_test.cpp', 27 'redfish-core/include/event_log_test.cpp', 28 'redfish-core/include/event_matches_filter_test.cpp', 29 'redfish-core/include/filter_expr_executor_test.cpp', 30 'redfish-core/include/filter_expr_parser_test.cpp', 31 'redfish-core/include/privileges_test.cpp', 32 'redfish-core/include/redfish_aggregator_test.cpp', 33 'redfish-core/include/redfish_oem_routing_test.cpp', 34 'redfish-core/include/redfish_test.cpp', 35 'redfish-core/include/registries_test.cpp', [all …]
|
| /openbmc/openbmc-test-automation/redfish/update_service/ |
| H A D | test_firmware_inventory.robot | 2 Documentation Verify that Redfish software inventory can be collected. 17 Verify Redfish Update Service Enabled 22 # "HttpPushUri": "/redfish/v1/UpdateService", 27 ${resp}= Redfish.Get /redfish/v1/UpdateService 31 Verify Redfish Software Inventory Collection 40 # "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/a3522998" 43 # "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/a7c79f71" 46 # "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/ace821ef" 53 ${resp}= Redfish.Get /redfish/v1/UpdateService/FirmwareInventory 59 Redfish Software Inventory Status Check [all …]
|
| H A D | test_redfish_host_code_update.robot | 26 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 …]
|
| /openbmc/openbmc-test-automation/openpower/localuser/ |
| H A D | test_ipmi_redfish_user.robot | 2 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 36 ... /redfish/v1/AccountService/Accounts/${random_username} RoleId 40 Create Admin User Via Redfish And Verify Login Via IPMI 41 [Documentation] Create user via redfish and verify via IPMI. 50 Redfish.Post /redfish/v1/AccountService/Accounts body=&{payload} 56 Enable IPMI Access To User Using Redfish ${random_username} [all …]
|
| /openbmc/openbmc-test-automation/security/ |
| H A D | test_bmc_expire_password.robot | 59 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/bmcweb/redfish-core/schema/dmtf/csdl/ |
| H A D | CertificateCollection_v1.xml | 4 <!--# Redfish Schema: CertificateCollection --> 7 <!--# available at http://www.dmtf.org/standards/redfish --> 20 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml"> 23 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml"> 24 <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/> 26 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Certificate_v1.xml"> 33 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 34 <Annotation Term="Redfish.Language" String="en"/> 38 …e shall represent a resource collection of `Certificate` instances for a Redfish implementation."/> 55 <Annotation Term="Redfish.Uris"> [all …]
|
| /openbmc/bmcweb/redfish-core/schema/dmtf/installed/ |
| H A D | CertificateCollection_v1.xml | 4 <!--# Redfish Schema: CertificateCollection --> 7 <!--# available at http://www.dmtf.org/standards/redfish --> 20 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml"> 23 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml"> 24 <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/> 26 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Certificate_v1.xml"> 33 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 34 <Annotation Term="Redfish.Language" String="en"/> 38 <Annotation Term="OData.LongDescription" String="This resource shall represent a resource collection of `Certificate` instances for a Redfish implementation."/> 55 <Annotation Term="Redfish [all...] |
| /openbmc/bmcweb/docs/ |
| H A D | Redfish.md | 1 # Redfish chapter 3 bmcweb provides an implementation of the [Redfish][1] API. This document details 4 the Redfish schemas supported by bmcweb. This document also discusses some of 8 ## Redfish Schema 10 The redfish implementation shall pass the [Redfish Service Validator][2] with no 13 The following redfish schemas and fields are targeted for OpenBMC. This is a 16 The latest [Redfish schemas][3] are available from DMTF 28 ### /redfish/v1/ 52 ### /redfish/v1/AccountService/ 76 ### /redfish/v1/AccountService/MultiFactorAuth/ClientCertificate/Certificates [all …]
|