}
Retrieving Network Interface in System
Request:
curl -k -u admin:password https://10.10.10.10/redfish/v1/Systems/FCH2005V1EN/NetworkInterfaces
Response:
{
"Members":[{
"@odata.id":"/redfish/v1/Systems/FCH2005V1EN/NetworkInterfaces/MLOM"
}],
"Description":"Collection of NetworkInterface resource instances for this system",
"@odata.type":"#Cisco_NetworkInterfaceCollection",
"@odata.id":"/redfish/v1/Systems/FCH2005V1EN/NetworkInterfaces",
"[email protected]":1,
"Name":"NetworkInterface Collection",
"@odata.context":"/redfish/v1/$metadata#Systems/Members/$entity/NetworkInterfaces"
}
Retrieving Individual Network Interface
Request:
curl -k -u admin:password
https://10.10.10.10/redfish/v1/Systems/FCH2005V1EN/NetworkInterfaces/MLOM
Response:
{
"Id":"UCSC-MLOM-CSC-02",
"Status":{
"State":"Enabled",
"Health":"Ok"
},
"Links":{
"NetworkAdapter":["/redfish/v1/Chassis/1/NetworkAdapter/MLOM"]
},
"Name":"Adapter Card MLOM",
"@odata.context":"/redfish/v1/$metadata#Systems/Members/$entity/NetworkInterfaces/Members/$entity",
"@odata.type":"#Cisco_NetworkInterface",
"NetworkPorts":{
"@odata.id":"/redfish/v1/Systems/FCH2005V1EN/NetworkInterfaces/MLOM/NetworkPorts"
},
"@odata.id":"/redfish/v1/Systems/FCH2005V1EN/NetworkInterfaces/MLOM",
"NetworkDeviceFunctions":{
"@odata.id":"/redfish/v1/Systems/FCH2005V1EN/NetworkInterfaces/MLOM/NetworkDeviceFunctions"
},
"Description":"It represents the properties for Adapter Card MLOM"
}
Cisco UCS C-Series Servers REST API Programmer's Guide
78
Cisco IMC REST API Examples
Examples of Server Tasks for 3.1(3)