diff options
author | Sunny Srivastava <sunnsr25@in.ibm.com> | 2021-03-12 19:39:16 +0300 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2023-02-09 22:26:57 +0300 |
commit | 3179105b5d9be791d79302d27ceb8e94f8670a6c (patch) | |
tree | 788b1f756208f07f9bd9fd0591da1c8ef532d1ac /Redfish.md | |
parent | 369ea3ffb0c76c33c7ccd0bbb0e8dcb0039cd285 (diff) | |
download | bmcweb-3179105b5d9be791d79302d27ceb8e94f8670a6c.tar.xz |
Implementation of FabricAdapter schema in bmcweb
This commit implements FabricAdapter and FabricAdapter collection
schema. This code assumes all FabricAdapters are under
/redfish/v1/Systems/system like we do for Memory and Processors.
The schema can be used to publish inventory properties for FRUs
which can be modelled as Fabric adapters.
As a current use case, this schema is required to link ports on
fabric adapters back to the system.
A FabricAdapter represents the physical fabric adapter capable of
connecting to an interconnect fabric.
Examples include but are not limited to Ethernet, NVMe over Fabrics,
Gen-Z, and SAS fabric adapters.
Tested: Manually tested on the system, Run Redfish validator. Found no
error.
{
"@odata.id": "/redfish/v1/Systems/system/FabricAdapters",
"@odata.type": "#FabricAdapterCollection.FabricAdapterCollection",
"Members": [
{
"@odata.id": "/redfish/v1/Systems/system/FabricAdapters/disk_backplane0"
},
{
"@odata.id": "/redfish/v1/Systems/system/FabricAdapters/disk_backplane1"
},
{
"@odata.id": "/redfish/v1/Systems/system/FabricAdapters/pcie_card0"
},
{
"@odata.id": "/redfish/v1/Systems/system/FabricAdapters/pcie_card3"
},
{
"@odata.id": "/redfish/v1/Systems/system/FabricAdapters/pcie_card4"
},
{
"@odata.id": "/redfish/v1/Systems/system/FabricAdapters/pcie_card8"
},
{
"@odata.id": "/redfish/v1/Systems/system/FabricAdapters/pcie_card10"
},
{
"@odata.id": "/redfish/v1/Systems/system/FabricAdapters/pcie_card11"
}
],
"Members@odata.count": 8,
"Name": "Fabric Adapter Collection"
}
{
"@odata.id": "/redfish/v1/Systems/system/FabricAdapters/pcie_card11",
"@odata.type": "#FabricAdapter.v1_0_0.FabricAdapter",
"Id": "pcie_card11",
"Name": "Fabric Adapter"
}
Signed-off-by: sunny srivastava <sunnsr25@in.ibm.com>
Change-Id: I4d3bc31a6f0036c262c0e30481d0da4aaf59b5ab
Signed-off-by: Lakshmi Yadlapati <lakshmiy@us.ibm.com>
Diffstat (limited to 'Redfish.md')
-rw-r--r-- | Redfish.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Redfish.md b/Redfish.md index 3f65de81df..ba58c55ba0 100644 --- a/Redfish.md +++ b/Redfish.md @@ -664,6 +664,17 @@ other. - Members@odata.count - Description +### /redfish/v1/Systems/system/FabricAdapters/ + +#### FabricAdapterCollection + +- Members +- Members@odata.count + +### /redfish/v1/Systems/system/FabricAdapters/{FabricAdapterId}/ + +#### FabricAdapter + ### /redfish/v1/Systems/system/LogServices/ #### LogServiceCollection |