Obtaining All the Controller Enclosure Information

GET /ce

Introduction

Obtains Controller Enclosure information.

Displays ce_id in ascending order.

Request Examples

  • This is an example of obtaining only the CE ID and status of a Controller Enclosure.

    $ curl -i -H "Authorization: Bearer g17e4umvwYoHuhkG7yCSee.." -X GET "https://192.168.1.1:5665/api/v1/ce?fields=status"

Response Examples

{
  "total_count": 512,
  "list_count": 1,
  "ce_list": [
    {
      "ce_id": "1",
      "ce_href": "/api/v1/ce/1",
      "status": "Normal",
      "detail_status": "Normal",
      "temperature_status": "Normal",
      "temperature": "25"
      "power_1min_avg": 255,
      "power_1hour_avg": 310,
      "cm0_status": "Normal",
      "cm1_status": "Normal",
      "bbu0_status": "Normal",
      "bbu0_charge_rate": 80,
      "bbu0_expiration_date": "2099-12",
      "bbu1_status": "Normal",
      "bbu1_charge_rate": 80,
      "bbu1_expiration_date": "2099-12",
      "psu0_status": "Normal",
      "psu1_status": "Normal",
      "bud0_status": "Normal",
      "bud1_status": "Normal",
      "bud2_status": "Normal",
      "bud3_status": "Normal",
      "cm0_da0_status": "Normal",
      "cm0_da0_type": SAS,
      "cm1_da0_status": "Normal",
      "cm1_da0_type: SAS,
      "cm0_da1_status": "Normal",
      "cm0_da1_type: SAS,
      "cm1_da1_status": "Normal",
      "cm1_da1_type: SAS,
      "drive_href_list": [
        "/api/v1/drive/0000",
        "/api/v1/drive/0001",
        "/api/v1/drive/0002",
        "/api/v1/drive/0003"
      ]
    }
  ]
}

Parameters

QUERY PARAMETERS

fields

Array of strings

Parameter to display.

Only the information of the specified Parameter name (Response Body Parameter) is extracted and obtained.

For details about the specification methods, see Property Filter.

ce_id

Array of strings

CE ID.

Specify the ID of the Controller Enclosure for which you want to obtain information.

Input criteria:

  • You can specify up to 12 values.

status

Array of strings

Status.

Specify the status of the resource for which you want information.
Item Description
Normal Normal state.
Unused Implemented but unused.
Maintenance Maintenance state.
Warning Preventive maintenance is required.
Error An error has occurred and maintenance is required.

Input criteria:

  • You can specify up to 5 values.

Responses

If successful, the HTTP status code is 200 (OK) and the response body is returned.

RESPONSE BODY

total_count

integer

The total number of Resources present in the device.

If a filter is applied, this is the total number of Resources that meet the criteria.

list_count

integer

Number of Lists to respond.

ce_list

Array of objects

The information that can be obtained with GET /ce/ce_id as the number specified for list_count is output. For more information, see "Responses" in Obtaining Controller Enclosure Information.