Setting An Indicator Led Value To 'Lit - 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
},
"Description":"",
"UUID":"E320FC46-31AC-4D93-BA64-C7FE5A139628",
"Status":{
"State":"Enabled",
"Health":"Warning"
},
"Name":"UCS C240 M4S",
"Manufacturer":"Cisco Systems",
"IndicatorLED":"Off",
"Model":"UCS C240 M4S",
"BiosVersion":"C240M4.2.0.9b.0.012520161828"
}

Setting an Indicator LED Value to 'Lit'

Request:
curl -XPATCH https://10.10.10.10/redfish/v1/Systems
/FCH2005V1E4 -d '{"IndicatorLED":"Lit"}' --insecure -u admin:password
Response:
{
"SerialNumber":"FCH2005V1E4",
"Boot":{
"BootSourceOverrideEnabled":"Disabled",
"BootSourceOverrideTarget":"None"
},
"Id":"FCH2005V1E4",
"AssetTag":"Cisco123",
"PowerState":"On",
"SystemType":"Physical",
"ProcessorSummary":{
"Model":"Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz",
"Count":2
},
"HostName":"C240-FCH2005V1E4",
"MemorySummary":{
"TotalSystemMemoryGiB":128,
"State":{
}
},
"Description":"",
"UUID":"E320FC46-31AC-4D93-BA64-C7FE5A139628",
"Status":{
"State":"Enabled",
"Health":"Warning"
},
"Name":"UCS C240 M4S",
"Manufacturer":"Cisco Systems",
"IndicatorLED":"Lit",
"Model":"UCS C240 M4S",
"BiosVersion":"C240M4.2.0.9b.0.012520161828"
}
"HealthRollup":"OK",
"Health":"OK"
Cisco UCS C-Series Servers REST API Programmer's Guide
Examples of Server Tasks
33

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents