Retrieving Pcie Functions; Retrieving Privilege Map - 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
"@odata.context":"/redfish/v1/$metadata#Systems/Members/$entity/PCIeDevices/Members/$entity",
"@odata.type":"#Cisco_PCIeDevices",
"Id":"L",
"Description":"This gives information of PCIeDevices on the system"
}

Retrieving PCIe Functions

Request:
curl -k -u admin:password https://10.10.10.10/redfish/v1/Systems/FCH2005V116/PCIeFunctions/L
Response:
{
"VendorId":"0x8086",
"FirmwareVersion":"0x80000B16-1.808.2",
"Id":"L",
"Status":{
"State":"Enabled"
,
"Health":"Ok"
},
"Links":{
"StorageControllers@odata.count":0,
"Drives@odata.count":0,
"EthernetInterfaces@odata.count":2,
"PCIeDevice@odata.count":1,
"PCIeDevice":[{
"EthernetInterfaces":[{
},
"Name":"Intel(R) I350 1 Gbps Network Controller",
"SubsystemVendorId":"0x1137",
"@odata.type":"#Cisco_PCIeFunctions",
"SubsystemId":"0x00d6",
"@odata.context":"/redfish/v1/$metadata#Systems/Members/$entity/PCIeFunctions/Members/$entity",
"@odata.id":"/redfish/v1/Systems/FCH2005V116/PCIeFunctions/L",
"DeviceId":"0x1521",
"Description":"This gives information of PCIeFunctions on the system"
}

Retrieving Privilege Map

Request:
curl -k -u admin:password https://10.10.10.10/redfish/v1/AccountService/PrivilegeMap
Response:
"@odata.id":"/redfish/v1/Systems/FCH2005V116/PCIeDevices/L"
}],
"@odata.id":"/redfish/v1/Systems/FCH2005V116/EthernetInterfaces/L.1"
},{
"@odata.id":"/redfish/v1/Systems/FCH2005V116/EthernetInterfaces/L.2"
}]
Cisco UCS C-Series Servers REST API Programmer's Guide
Examples of Server Tasks for 3.1(3)
81

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents