"[email protected]":4,
"Name":"NetworkDeviceFunction Collection",
"@odata.context":"/redfish/v1/$metadata#Chassis/Members/$entity/NetworkAdapter/Members/$entity/NetworkDeviceFunctions"
}
Retrieving Network Device Function
Request:
curl -k -u admin:password
https://10.10.10.10/redfish/v1/Chassis/1/NetworkAdapter/MLOM/NetworkDeviceFunctions/eth0
Response:
{
"Ethernet":{
"MTUSize":"1500",
"MACAddress":"00:78:88:F0:94:C6"
},
"Id":"eth0",
"Name":"eth0",
"@odata.context":"/redfish/v1/$metadata#Chassis/Members/$entity/NetworkAdapter/Members/$entity/NetworkDeviceFunctions/Members/$entity",
"@odata.type":"#Cisco_NetworkDeviceFunction",
"FibreChannel":{
"WWNSource":"ConfiguredLocally",
"WWPN":"",
"FCoELocalVLANId":"NONE",
"BootTarget":{
"BootPriority":"",
"LUNID":"",
"WWPN":""
},
"WWNN":""
},
"@odata.id":"/redfish/v1/Chassis/1/NetworkAdapter/MLOM/NetworkDeviceFunctions/eth0",
"iSCSIBoot":{
"IPAddressType":"",
"SecondaryTargetName":"",
"InitiatorDefaultGateway":"",
"InitiatorIPAddress":"",
"SecondaryLUN":"",
"PrimaryTargetIPAddress":"",
"PrimaryLUN":"",
"SecondaryDNS":"",
"AuthenticationMethod":"None",
"InitiatorName":"",
"PrimaryTargetName":"",
"IPMaskDNSViaDHCP":true,
"InitiatorNetmask":"",
"PrimaryTargetTCPPort":"",
"TargetInfoViaDHCP":false,
"SecondaryTargetTCPPort":"",
"SecondaryTargetIPAddress":"",
"PrimaryDNS":""
}
}
Cisco UCS C-Series Servers REST API Programmer's Guide
75
Cisco IMC REST API Examples
Examples of Server Tasks for 3.1(3)