Inventory service data

Information about the Storage Subsystems managed by the HMC can be optionally included in the inventory data provided by the Inventory Service.

Inventory entries for storage subsystem objects are included in the response to the Inventory Service's Get Inventory operation when the request specifies (explicitly by class, implicitly through a containing category, or by default) that objects of class "storage-subsystem" are to be included. Information for a particular storage subsystem is included only if the API user has access permission to that object as described in the Get Storage Subsystem Properties operation.

For each storage subsystem to be included, the inventory response array includes the following:

  • An array entry for the storage subsystem object. This entry is a JSON object with the same contents as is specified in the Response body contents section for Get Storage Subsystem Properties. That is, the data provided is the same as would be provided if a Get Storage Subsystem Properties operation were requested targeting this object.

Sample inventory data

The following fragment is an example of the JSON object that would be included in the Get Inventory response to describe a storage subsystem. This object would appear as one array entry in the response array:

Figure 1. Storage Subsystem object: Sample inventory data - Response
{
   "class":"storage-subsystem",
   "connection-endpoints":[
      {
         "endpoint-class":"storage-switch",
         "endpoint-uri":"/api/storage-switches/0e261690-9438-11e8-8ffe-fa163e27d492",
         "port-id":"00"
      },
      {
         "endpoint-class":"storage-switch",
         "endpoint-uri":"/api/storage-switches/fdc68064-9437-11e8-8ffe-fa163e27d492",
         "port-id":"00"
      }
   ],
   "description":"",
   "name":"DS8886 B",
   "object-id":"9b15669a-943e-11e8-8ffe-fa163e27d492",
   "object-uri":"/api/storage-subsystems/9b15669a-943e-11e8-8ffe-fa163e27d492",
   "parent":"/api/console",
   "storage-control-unit-uris":[],
   "storage-site-uri":"/api/storage-sites/0336a208-9434-11e8-9c43-fa163e27d492"
}