Actor Adapter Requests and Responses

Home  Previous  Next

Typical Adapter Request

The typical adapter request specifies the operations to be performed with the operation-name property of the emc-storage-request object. Additional information for the operation to be performed can be optionally specified in the arguments collection.

<emc-storage-request>

  <operation-name>get-disk</operation-name>

  <arguments>

    <argument>

.....

    </argument>

  </arguments>

</emc-storage-request>

Typical Adapter Response

The typical adapter response contains a metadata object reporting the success or failure of the request. It also contains a single output object which itself contains various objects depending of the request.

<emc-storage-response>

  <metadata>

    <status >success</status > 

   <response-count>12</response-count>

  </metadata>

  <responses>

    <response>

      <metadata>

        <status />

        <execution-milliseconds />

        <line-count />

        <target />

        <config-name />

      </metadata>

      <output>

       .....

      </output>

    </response>

  </responses>

</emc-storage-response>

importantAll parameters are case sensitive.