Retrieving Network Device Function - Cisco UCS C Series Programmer's Manual

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

Advertisement

Cisco IMC REST API Examples
"Members@odata.count":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",
" @ o d a t a . c o n t e x t " : " / r e d f i s h / v 1 / $ m e t a d a t a # C h a s s i s / M e m b e r s / $ e n t i t y / N e t w o r k A d a p t e r / M e m b e r s / $ e n t i t y / N e t w o r k D e v i c e F u n c t i o n s / M e m b e r s / $ e n t i t y " ,
"@odata.type":"#Cisco_NetworkDeviceFunction",
"FibreChannel":{
"WWNSource":"ConfiguredLocally",
"WWPN":"",
"FCoELocalVLANId":"NONE",
"BootTarget":{
},
"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":""
}
}
"BootPriority":"",
"LUNID":"",
"WWPN":""
Cisco UCS C-Series Servers REST API Programmer's Guide
Examples of Server Tasks for 3.1(3)
75

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents