SubCardCollection
更新时间: 2025/05/25
在Gitcode上查看源码

ResourceDefinition

uris

  • /redfish/v1/Oem/LCNService/LCNDevices/device_id/SubCards

properties

名称类型是否只读取值范围/枚举值说明
@odata.contextstringtrue-LCN设备子卡集合资源模型的OData描述信息
@odata.idstringtrue-LCN设备子卡集合资源的访问路径
@odata.typestringtrue-LCN设备子卡集合资源的类型
Namestringtrue-LCN设备子卡集合资源的名称
Members@odata.countnumbertrue-LCN设备子卡资源数量
Membersarraytrue-LCN设备子卡资源列表
Members[].@odata.idstringtrue-单个LCN设备子卡资源节点的访问路径

supported_methods

  • GET

HTTP methods

GET

命令功能

查询 LCN 设备子卡集合信息

说明

BMC300 5.8.3.27及以上版本,A900 A3 SuperPoD,A800T A3,A800I A3机型支持

命令格式

URL: https://device_ip/redfish/v1/Oem/LCNService/LCNDevices/device_id/SubCards

请求头:


X-Auth-Token: 123456789***********************

请求消息体: 无

参数说明

参数参数说明取值
device_ip登录设备的IP地址IPv4或IPv6地址
auth_value执行该GET请求时,必须在"Headers"中携带"X-Auth-Token"值用于鉴权可通过/redfish/v1/SessionService/Sessions创建会话时获得
device_idLCN设备资源的ID可通过LCN设备集合资源获取

使用指南

使用实例

请求样例:

http
GET https://device_ip/redfish/v1/Oem/LCNService/LCNDevices/LinkBoard1/SubCards

请求头:


X-Auth-Token: ******

请求消息体:无

响应样例:

json
{
  "@odata.context": "/redfish/v1/$metadata#SubCardCollection.SubCardCollection",
  "@odata.id": "/redfish/v1/LCNService/LCNDevices/LinkBoard1/SubCards",
  "@odata.type": "#SubCardCollection.SubCardCollection",
  "Name": "SubCard Collection",
  "Members@odata.count": 7,
  "Members": [
    {
      "@odata.id": "/redfish/v1/Oem/LCNService/LCNDevices/LinkBoard1/SubCards/1"
    },
    {
      "@odata.id": "/redfish/v1/Oem/LCNService/LCNDevices/LinkBoard1/SubCards/2"
    },
    {
      "@odata.id": "/redfish/v1/Oem/LCNService/LCNDevices/LinkBoard1/SubCards/3"
    },
    {
      "@odata.id": "/redfish/v1/Oem/LCNService/LCNDevices/LinkBoard1/SubCards/4"
    },
    {
      "@odata.id": "/redfish/v1/Oem/LCNService/LCNDevices/LinkBoard1/SubCards/5"
    },
    {
      "@odata.id": "/redfish/v1/Oem/LCNService/LCNDevices/LinkBoard1/SubCards/6"
    },
    {
      "@odata.id": "/redfish/v1/Oem/LCNService/LCNDevices/LinkBoard1/SubCards/7"
    }
  ]
}

响应码:200