GET – 服务器 Ethernet over USB 属性
使用 GET 方法检索服务器与管理器之间的以太网接口资源中的属性。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/EthernetInterfaces/ToManager
请求正文
无
响应正文
字段 | 类型 | 描述 | |||
---|---|---|---|---|---|
Id | 字符串 | ToManager | |||
Name | 字符串 | Host Ethernet Interface | |||
Description | 字符串 | Host Network Interface | |||
Links | 对象 | 已展开。 | |||
Chassis | 链接 | 此值是对表示物理容器的资源“Chassis”的引用。 | |||
HostInterface | 链接 | 对资源“HostInterface”(表示主机用于与管理器通信的接口)的引用。 | |||
EthernetInterfaceType | 字符串 | Physical | |||
InterfaceEnabled | 布尔 | 指示是否启用此接口的布尔值。 | |||
Status | 对象 | 已展开。 | |||
Health | 字符串 | Null | |||
State | 字符串 | Enabled | |||
FQDN | 字符串 | “”(空字符串) | |||
HostName | 字符串 | “”(空字符串) | |||
MACAddress | 字符串 | (逻辑端口)接口当前配置的 MAC 地址。 |
状态代码
HTTP 状态代码 | 错误消息 ID |
---|---|
500 | InternalError |
示例
返回以下示例 JSON 响应:
{
"@odata.context": "/redfish/v1/$metadata#EthernetInterface.EthernetInterface",
"@odata.etag": "\"60FC328F\"",
"@odata.id": "/redfish/v1/Systems/1/EthernetInterfaces/ToManager",
"@odata.type": "#EthernetInterface.v1_8_0.EthernetInterface",
"Description": "Host Ethernet Interface",
"EthernetInterfaceType": "Physical",
"FQDN": "",
"HostName": "",
"Id": "ToManager",
"InterfaceEnabled": false,
"Links": {
"Chassis": {
"@odata.id": "/redfish/v1/Chassis/1"
},
"HostInterface": {
"@odata.id": "/redfish/v1/Managers/1/HostInterfaces/1"
}
},
"MACAddress": "c4:c6:e6:88:bf:b8",
"Name": "Host Ethernet Interface",
"Status": {
"Health": "OK",
"State": "Disabled"
}
}
提供反馈