diff options
author | Lakshmi Yadlapati <lakshmiy@us.ibm.com> | 2023-01-28 02:31:40 +0300 |
---|---|---|
committer | Lakshmi Yadlapati <lakshmiy@us.ibm.com> | 2023-02-16 20:08:57 +0300 |
commit | cd7af44f12a56813a464b77828502138ed3eacf2 (patch) | |
tree | 6ba394d56db4378b2ebde8729f0bf03f99e510d8 /.clang-tidy | |
parent | 6369421d5a3abea181b28a61f806465be1ba517a (diff) | |
download | bmcweb-cd7af44f12a56813a464b77828502138ed3eacf2.tar.xz |
Add State information for FabricAdapter
This commit is to add state information according to the Redfish
FabricAdapter schema. If the `xyz.openbmc_project.Inventory.Item`
interface does not exist, the state information property is not
displayed.
ref: http://redfish.dmtf.org/schemas/v1/FabricAdapter.v1_4_0.json
Tested: Validator passes #
```
curl -k https://$bmc:/redfish/v1/Systems/system/FabricAdapters/disk_backplane0
{
"@odata.id": "/redfish/v1/Systems/system/FabricAdapters/disk_backplane0",
"@odata.type": "#FabricAdapter.v1_4_0.FabricAdapter",
"Id": "disk_backplane0",
"Location": {
"PartLocation": {
"ServiceLabel": "U78DA.ND0.WZS0042-P1"
}
},
"Model": "6B89",
"Name": "Fabric Adapter",
"PartNumber": "02WG682",
"SerialNumber": "YA31UF09P002",
"SparePartNumber": "02WG681",
"Status": {
"State": "Enabled"
}
}
```
Change-Id: I1e541910d8d3d69b21594ee05e972517d8b8c12d
Signed-off-by: Lakshmi Yadlapati <lakshmiy@us.ibm.com>
Diffstat (limited to '.clang-tidy')
0 files changed, 0 insertions, 0 deletions