Querying AI Processor Resource Information
Function
This interface is used to query AI processor resource information.
Syntax
Operation type: GET
URL: https://device_ip/redfish/v1/EdgeSystem/AiProcessor
Request header:
X-Auth-Token: auth_value
Request message body: None
Parameters
Parameter |
Description |
Value |
---|---|---|
device_ip |
IP address for logging in to a device |
An IPv4 or IPv6 address |
auth_value |
Authentication parameter contained in the request |
You can obtain the value from the session created by using /redfish/v1/SessionService/Sessions. |
Usage Guidelines
None
Example
Request:
GET https://10.10.10.10/redfish/v1/EdgeSystem/AiProcessor
Request header:
X-Auth-Token: 6599174c38c36838737d9749179e1ee1
Request message body: None
Response:
{ "Vendor": "Huawei", "Model": "Atlas 200", "Count": 1, "Capability": { "Calc": "16TOPs", "Ddr": 8 }, "Status": { "Health": "OK", "State": true }, "OccupancyRate": { "AiCore": 0, "AiCpu": 0, "CtrlCpu": 0, "DdrUsage": 29, "DdrBandWidth": 0 } }
Response code: 200
Output Description
Attribute |
Type |
Description |
---|---|---|
Vendor |
Character string |
AI processor vendor |
Model |
Character string |
AI processor model |
Count |
Character string |
Number of AI processors |
Capability |
Object |
AI processor capability |
Capability.Calc |
Character string |
AI processor compute power, for example, 16 TFLOPS |
Capabilitu.Ddr |
Character string |
AI processor memory, for example, 4 GB |
Status |
Object |
AI processor status.
|
OccupancyRate |
Object |
AI processor resource usage |
OccupancyRate.AiCore |
Character string |
AI core usage |
OccupancyRate.AiCpu |
Character string |
AI CPU usage |
OccupancyRate.CtrlCpu |
Character string |
Control CPU usage |
OccupancyRate.DdrUsage |
Character string |
DDR memory usage |
OccupancyRate.DdrBandWidth |
Character string |
Memory bandwidth usage |