}'
Setting WWPN and WWNN to Auto
Request:
curl -XPATCH -k -u admin https://10.10.10.10/redfish/v1/Systems/WZP21330G5B/NetworkInterfaces/
1/NetworkDeviceFunctions/fc0 -d'{
"FibreChannel":{
"WWPN":"AUTO",
"WWNN":"Auto"
}
}'
Adding Boot Target Entries
Request:
curl -XPATCH -k -u admin https://10.10.10.10/redfish/v1/Systems/WZP21330G5B/NetworkInterfaces/
1/NetworkDeviceFunctions/fc0 -d'
{
"FibreChannel":{
"BootTargets":[{
"BootPriority":2,
"LUNID":"45",
"WWPN":"20:5F:6C:B2:AE:3A:B3:5F"
}]
}
}'
Deleting Boot Targets
Request:
curl -XPATCH -k -u admin https://10.10.10.10/redfish/v1/Systems/WZP21330G5B/NetworkInterfaces/
1/NetworkDeviceFunctions/fc0 -d'
{
"FibreChannel":{
"BootTargets":[{
"BootPriority":0
},
{
"BootPriority":1,
"WWPN":null,
"LUNID":null
}]
}
}'
Setting Power Limits Attributes
Request:
curl -XPATCH -k -u admin https://10.10.10.10/redfish/v1/Chassis/1/Power -d'
{
Cisco UCS C-Series Servers REST API Programmer's Guide
127
Cisco IMC REST API Examples
Examples of Server Tasks for 4.0(4)