Retrieving Network Interface In System; Retrieving Individual Network Interface - Cisco UCS C Series Programmer's Manual

Rest api
Hide thumbs Also See for UCS C Series:
Table of Contents

Advertisement

Examples of Server Tasks for 3.1(3)
}

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",
"Members@odata.count":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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents