Cisco IMC REST API Examples
"Status":{
"State":"Enabled",
"Health":"OK"
.
.
.
.
.
},
"Name":"Cisco Integrated Management Controller",
"Actions":{
"#Oem.ImportBmcConfig":{
},
"#Oem.BmcFwUpdate":{
},
"#Manager.Reset":{
},
"#Oem.BiosFwUpdate":{
},
"#Oem.ExportBmcConfig":{
},
"#Oem.BmcTechSupportExport":{
}
},
Retrieving Task Service
Request:
"Protocol@Redfish.AllowableValues":["TFTP","SCP","SFTP","FTP","HTTP"],
"Passphrase@Redfish.AllowableValues":["Passphrase"],
"RemoteUsername@Redfish.AllowableValues":["Remote Server Username"],
"RemotePath@Redfish.AllowableValues":["Valid Remote Share Path"],
"RemoteHostname@Redfish.AllowableValues":["Valid Hostname/IP Address"],
"Target":"/redfish/v1/Managers/CIMC/Actions/Oem.ImportBmcConfig",
"RemotePassword@Redfish.AllowableValues":["Remote Server Password"]
"Protocol@Redfish.AllowableValues":["TFTP","SCP","SFTP","FTP","HTTP"],
"Target":"/redfish/v1/Managers/CIMC/Actions/Oem.BmcFwUpdate",
"RemoteUsername@Redfish.AllowableValues":["Remote Server Username"],
"RemotePath@Redfish.AllowableValues":["Valid Remote Share Path"],
"RemoteHostname@Redfish.AllowableValues":["Valid Hostname/IP Address"],
"RemotePassword@Redfish.AllowableValues":["Remote Server Password"]
"Target":"/redfish/v1/Managers/CIMC/Actions/Manager.Reset",
"ResetType@Redfish.AllowableValues":["ForceRestart"]
"Protocol@Redfish.AllowableValues":["TFTP","SCP","SFTP","FTP","HTTP"],
"Target":"/redfish/v1/Managers/CIMC/Actions/Oem.BiosFwUpdate",
"RemoteUsername@Redfish.AllowableValues":["Remote Server Username"],
"RemotePath@Redfish.AllowableValues":["Valid Remote Share Path"],
"RemoteHostname@Redfish.AllowableValues":["Valid Hostname/IP Address"],
"RemotePassword@Redfish.AllowableValues":["Remote Server Password"]
"Protocol@Redfish.AllowableValues":["TFTP","SCP","SFTP","FTP","HTTP"],
"Passphrase@Redfish.AllowableValues":["Passphrase"],
"RemoteUsername@Redfish.AllowableValues":["Remote Server Username"],
"RemotePath@Redfish.AllowableValues":["Valid Remote Share Path"],
"RemoteHostname@Redfish.AllowableValues":["Valid Hostname/IP Address"],
"Target":"/redfish/v1/Managers/CIMC/Actions/Oem.ExportBmcConfig",
"RemotePassword@Redfish.AllowableValues":["Remote Server Password"]
"Protocol@Redfish.AllowableValues":["TFTP","SCP","SFTP","FTP","HTTP"],
"Target":"/redfish/v1/Managers/CIMC/Actions/Oem.BmcTechSupportExport",
"RemoteUsername@Redfish.AllowableValues":["Remote Server Username"],
"RemotePath@Redfish.AllowableValues":["Valid Remote Share Path"],
"RemoteHostname@Redfish.AllowableValues":["Valid Hostname/IP Address"],
"RemotePassword@Redfish.AllowableValues":["Remote Server Password"]
Cisco UCS C-Series Servers REST API Programmer's Guide
Examples of Server Tasks
27