Host:Get Initiators

Search (SHIFT+S)



Get Initiators

GET /compute/hosts/{id}/initiators

Gets the id and name for all the host initiators of a host.

idthe URN of a ViPR Host

Required Roles

This call has no restrictions.


Response Body

A list of initiators that belong to the host

Field Description Type Notes
<initiators>
<initiator>     0-* Elements
<name> The name of the resource String
<id> ViPR ID of the related object URI
<link> A hyperlink to the related object
</initiator>      
</initiators>

Examples

Request
GET https://192.168.0.0:4443/compute/hosts/urn:storageos:Host:0ad4cab1-77b6-4919-bfb5-07e1fc3f3ac5:/initiators HTTP/1.1
 
Content-Type: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK
Content-Type: application/xml
 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<initiators>
  <initiator>
    <id>urn:storageos:Initiator:b27ec8f9-f845-4195-b7bf-a727448851f1:</id>
    <link href="/compute/initiators/urn:storageos:Initiator:b27ec8f9-f845-4195-b7bf-a727448851f1:" rel="self"/>
    <name>50:A4:00:50:56:91:61:C8</name>
  </initiator>
  <initiator>
    <id>urn:storageos:Initiator:d2c7b237-e900-4f78-8911-017410a8f5c8:</id>
    <link href="/compute/initiators/urn:storageos:Initiator:d2c7b237-e900-4f78-8911-017410a8f5c8:" rel="self"/>
    <name>50:D4:00:50:56:91:61:C8</name>
  </initiator>
  <initiator>
    <id>urn:storageos:Initiator:272d8afc-206c-481e-8795-6e4bbc88767e:</id>
    <link href="/compute/initiators/urn:storageos:Initiator:272d8afc-206c-481e-8795-6e4bbc88767e:" rel="self"/>
    <name>50:C4:00:50:56:91:61:C8</name>
  </initiator>
  <initiator>
    <id>urn:storageos:Initiator:a24d08d8-da50-446a-88e6-4bea52e54d7d:</id>
    <link href="/compute/initiators/urn:storageos:Initiator:a24d08d8-da50-446a-88e6-4bea52e54d7d:" rel="self"/>
    <name>50:B4:00:50:56:91:61:C8</name>
  </initiator>
</initiators>
Notes: