LCNService
更新时间: 2025/05/25
在Gitcode上查看源码ResourceDefinition
uris
/redfish/v1/Oem/LCNService
properties
| 名称 | 类型 | 是否只读 | 取值范围/枚举值 | 说明 |
|---|---|---|---|---|
| @odata.context | string | true | - | LCNService资源模型的OData描述信息 |
| @odata.id | string | true | - | LCNService资源节点的访问路径 |
| @odata.type | string | true | - | LCNService资源类型 |
| Id | string | true | - | LCNService资源的ID |
| Name | string | true | - | LCNService资源的名称 |
| MaxNumberSupported | number | true | - | LCN设备的最大支持个数 |
| LCNDevices | object | true | - | LCN设备集合的资源。包含指向资源的链接 |
| LCNDevices.@odata.id | string | true | - | LCN设备集合资源的路径链接 |
supported_methods
- GET
HTTP methods
GET
命令功能
查询 LCNService 资源
说明
BMC300 5.8.3.27及以上版本,A900 A3 SuperPoD,A800T A3,A800I A3机型支持。
命令格式
URL: https://device_ip/redfish/v1/Oem/LCNService
请求头:
X-Auth-Token: 123456789***********************请求消息体: 无
参数说明
| 参数 | 参数说明 | 取值 |
|---|---|---|
| device_ip | 登录设备的IP地址 | IPv4或IPv6地址 |
| auth_value | 执行该GET请求时,必须在"Headers"中携带"X-Auth-Token"值用于鉴权 | 可通过/redfish/v1/SessionService/Sessions创建会话时获得 |
使用指南
无
使用实例
请求样例:
http
GET https://device_ip/redfish/v1/Oem/LCNService请求头:
X-Auth-Token: ******请求消息体:无
响应样例:
json
{
"@odata.context": "/redfish/v1/$metadata#LCNService.LCNService",
"@odata.id": "/redfish/v1/Oem/LCNService",
"@odata.type": "#LCNService.v1_0_0.LCNService",
"Id": "LCNService",
"Name": "LCN Service",
"MaxNumberSupported": 1,
"LCNDevices": {
"@odata.id": "/redfish/v1/Oem/LCNService/LCNDevices"
}
}响应码:200