代码仓
中
NetworkBondingsCollection
更新时间: 2026/10/28
在AtomGit上查看源码

ResourceDefinition ​

uris ​

  • /redfish/v1/Systems/system_id/NetworkBondings

properties ​

名称类型是否只读取值范围/枚举值说明
@odata.contextstringtrue-Bond集合资源模型的OData描述信息
@odata.idstringtrue-Bond集合资源的访问路径
@odata.typestringtrue-Bond集合资源的类型
Members [ {arraytrue-Bond资源列表
Members[].@odata.idstringtrue-成员资源节点的访问路径
} ]
Namestringtrue-Bond集合资源的名称
Members@odata.countnumbertrue-当前Bond资源数量
@odata.idstringtrue-单个Bond资源节点的访问路径

supported_methods ​

  • GET

HTTP methods ​

GET ​

命令功能

查询 Bond 集合资源信息

命令格式

URL: https://device_ip/redfish/v1/Systems/system_id/NetworkBondings

请求头:

text

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

请求消息体: 无

参数说明

参数参数说明取值
device_ip登录设备的IP地址IPv4或IPv6地址
system_id系统资源的ID参见源文件参数说明
auth_value请求消息的鉴权参数可通过/redfish/v1/SessionService/Sessions创建会话时获得

使用指南

无

使用实例

请求样例:

http
GET <https://device_ip/redfish/v1/Systems/system_id/NetworkBondings>

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

请求消息体:无

响应样例:

json
{
"@odata.context": "/redfish/v1/$metadata#Systems/Members/1/NetworkBondings/$entity",
"@odata.id": "/redfish/v1/Systems/1/NetworkBondings",
"@odata.type": "#HwNetworkBondingCollection.HwNetworkBondingCollection",
"Name": "Ethernet Bonding Collection",
"Members@odata.count": 3,
"Members": [
{
"@odata.id": "/redfish/v1/Systems/1/NetworkBondings/team00"
},
{
"@odata.id": "/redfish/v1/Systems/1/NetworkBondings/team01"
},
{
"@odata.id": "/redfish/v1/Systems/1/NetworkBondings/team02"
}
]
}

响应码:200