xref: /openbmc/libbej/test/json/drive_oem.json (revision da6e5573)
1{
2    "@odata.id": "/redfish/v1/drives/1",
3    "@odata.type": "#Drive.v1_5_0.Drive",
4    "@odata.etag": "FBS4553345",
5    "Id": "Drive1",
6    "Name": "Disk Bay 1",
7    "IndicatorLED": "Lit",
8    "Model": "Consorto MM0500FBFVQ",
9    "Revision": "C1.1",
10    "Status": {
11        "State": "Enabled",
12        "Health": "Warning"
13    },
14    "Actions": {
15        "#Drive.SecureErase": {
16            "target": "/redfish/v1/drives/1/Actions/Drive.SecureErase",
17            "title": "Secure Erase a Drive"
18        },
19        "#Drive.Reset": {
20            "target": "/redfish/v1/drives/1/Actions/Drive.Reset",
21            "title": "Reset a Drive",
22            "ResetType@Redfish.AllowableValues": [
23                "On",
24                "ForceOff",
25                "ForceRestart",
26                "Nmi",
27                "ForceOn",
28                "PushPowerButton"
29            ]
30        }
31    },
32    "Status@Message.ExtendedInfo": [
33        {
34            "MessageId": "PredictiveFailure",
35            "Severity": "Warning",
36            "RelatedProperties": ["FailurePredicted", "MediaType"]
37        },
38        {
39            "MessageId": "LinkFailure",
40            "Severity": "Warning",
41            "MessageArgs": ["Port", "1"]
42        }
43    ],
44    "CapacityBytes": 500105991946,
45    "BlockSizeBytes": 512,
46    "Identifiers": [
47        {
48            "DurableNameFormat": "NAA",
49            "DurableName": "5000C5004183A941"
50        }
51    ],
52    "FailurePredicted": true,
53    "Protocol": "SAS",
54    "MediaType": "HDD",
55    "Manufacturer": "CONSORTO",
56    "SerialNumber": "9XF11DLF00009238W7LN",
57    "PhysicalLocation": {
58        "PartLocation": {
59            "LocationOrdinalValue": 1,
60            "LocationType": "Bay",
61            "ServiceLabel": "Port=A:Bay=1"
62        }
63    },
64    "RotationSpeedRPM": 15000.0,
65    "CapableSpeedGbs": 5.0e-4,
66    "NegotiatedSpeedGbs": 12.0,
67    "Operations": [
68        {
69            "OperationName": "Erasing",
70            "PercentageComplete": 20,
71            "AssociatedTask": {
72                "@odata.id": "/redfish/v1/Tasks/1"
73            }
74        },
75        {
76            "OperationName": "Rebuilding",
77            "PercentageComplete": 70,
78            "AssociatedTask": {
79                "@odata.id": "/redfish/v1/Tasks/2"
80            }
81        }
82    ],
83    "Links": {
84        "Volumes": [
85            {
86                "@odata.id": "/redfish/v1/Systems/1/Storage/1/Volumes/1"
87            },
88            {
89                "@odata.id": "/redfish/v1/Systems/1/Storage/1/Volumes/2"
90            },
91            {
92                "@odata.id": "/redfish/v1/Systems/1/Storage/1/Volumes/3"
93            }
94        ]
95    },
96    "Oem": {
97        "OEM1": {
98            "@odata.type": "#OEMDriveExt.v1_0_0.OEM1DriveExt",
99            "ArrayOfStrings": ["str1", "str2", "str3", "str4"],
100            "ArrayOfInts": [10, 20, 30, 40, 50]
101        }
102    }
103}
104