Add DMTF mockup fixtures and test helpers
Unmodified files from DMTF Redfish-Publications (public-rackmount1, public-localstorage, public-telemetry), only those the tests use, each set with DMTF's BSD-3-Clause license and a COMMANDS.txt naming the source commit and request paths. conftest.py loads them by request path and serves a mockup over mocked HTTP, with a SessionService that hands out a token, for the transport tests.
This commit is contained in:
77 files changed
+4051
No files matched your search
+35
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"@odata.type": "#SoftwareInventory.v1_15_0.SoftwareInventory",
|
||||
"Id": "BIOS",
|
||||
"Name": "Contoso BIOS Firmware",
|
||||
"Status": {
|
||||
"State": "Enabled",
|
||||
"Health": "OK"
|
||||
},
|
||||
"Updateable": true,
|
||||
"Manufacturer": "Contoso",
|
||||
"ReleaseDate": "2017-12-06T12:00:00Z",
|
||||
"Version": "P79 v1.45",
|
||||
"SoftwareId": "FEE82A67-6CE2-4625-9F44-237AD2402C28",
|
||||
"LowestSupportedVersion": "P79 v1.10",
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/437XR1138R2/Bios"
|
||||
}
|
||||
],
|
||||
"ImageState": "Active",
|
||||
"Active": true,
|
||||
"Staged": false,
|
||||
"Armed": false,
|
||||
"Links": {
|
||||
"ActiveTargets": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/437XR1138R2/Bios"
|
||||
}
|
||||
],
|
||||
"StagedTargets": [],
|
||||
"ArmedTargets": []
|
||||
},
|
||||
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/BIOS",
|
||||
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
|
||||
}
|
||||
Reference in new issue
Block a user