InfiniBandInterfaces
更新时间: 2026/06/26
在Gitcode上查看源码ResourceDefinition
uris
/redfish/v1/Systems/system_id/InfiniBandInterfaces/ib_id
properties
| 名称 | 类型 | 是否只读 | 取值范围/枚举值 | 说明 |
|---|---|---|---|---|
| @odata.context | string | true | - | 指定IB资源模型的OData描述信息 |
| @odata.id | string | true | - | 指定IB资源的访问路径 |
| @odata.type | string | true | - | 指定IB资源的类型 |
| Id | string | true | - | 指定IB资源的ID |
| Name | string | true | - | 指定IB资源的名称 |
| LinkStatus | string | true | - | 指定IB资源的链路状态 ● Sleep ● Polling ● Disabled ● PortConfigurationTraining ● LinkUp ● LinkErrorRecovery ● Phy_Test ● NoLink ● unknown |
| Address | string | true | - | IPv4地址 |
| SubnetMask | string | true | - | 子网掩码 |
| Gateway | string | true | - | 网关 |
| AddressOrigin | string | true | - | 地址来源 ● Static ● DHCP |
| Address | string | true | - | IPv6地址 |
| PrefixLength | number | true | - | IPv6前缀长度 |
| AddressOrigin | string | true | - | 地址来源 ● Static ● DHCPv6 ● LinkLocal ● SLAAC |
| AddressState | string | true | - | 地址状态 ● Preferred ● Deprecated ● Tentative ● Failed |
| IPv6DefaultGateway | string | true | - | IPv6默认网关 |
| UUID | string | true | - | 通用唯一识别码 |
| InterfaceType | string | true | - | 网口类型 ● Physical ● Virtual |
| RelatedPort | object | true | - | 关联的Chassis下的IB资源的访问路径 |
supported_methods
- GET
HTTP methods
GET
命令功能
查询 IB 资源信息
命令格式
URL: https://device_ip/redfish/v1/Systems/system_id/InfiniBandInterfaces/ib_id
请求头:
X-Auth-Token: 123456789***********************请求消息体: 无
参数说明
| 参数 | 参数说明 | 取值 |
|---|---|---|
| device_ip | 登录设备的IP地址 | IPv4或IPv6地址 |
| system_id | 系统资源的ID | 参见源文件参数说明 |
| auth_value | 请求消息的鉴权参数 | 可通过/redfish/v1/SessionService/Sessions创建会话时获得 |
使用指南
仅 BMC 300 5.05.12.25 版本支持
使用实例
请求样例:
http
GET https://device_ip/redfish/v1/Systems/system_id/InfiniBandInterfaces/ib_idX-Auth-Token: 123456789***********************
请求消息体:无
响应样例:
json
{
"@odata.context": "/redfish/v1/$metadata#Systems/Members/1/InfiniBandInterfaces/Members/$entity",
"@odata.id": "/redfish/v1/Systems/1/InfiniBandInterfaces/BioBoard1PCIeCard10(IB)Port1",
"@odata.type": "#HwInfiniBandInterface.v1_0_0.HwInfiniBandInterface",
"Id": "ib0",
"Name": "ib0",
"LinkStatus": "LinkUp",
"IPv4Addresses": [
{
"Address": "192.168.100.3",
"SubnetMask": "255.255.0.0",
"Gateway": "192.168.100.100",
"AddressOrigin": "Static"
}
],
"IPv6Addresses": [
{
"Address": "fd00::2488",
"PrefixLength": 64,
"AddressOrigin": "Static",
"AddressState": "Preferred"
}
],
"IPv6DefaultGateway": "fd00::2489",
"UUID": "0xec0d9a0300aa33a0",
"InterfaceType": "Physical",
"RelatedPort": {
"@odata.id": "/redfish/v1/Chassis/1/NetworkAdapters/BioBoard1PCIeCard10(IB)/NetworkPorts/1"
}
}响应码:200