iscsilogin action enables a host to login to an iSCSI target. Logging into a target makes the LUNs it contains available in the host_storage collection. See Section 13.4, “ Storage Sub-Collection ”.
POST /rhevm-api/hosts/2ab5e1da-b726-4274-bbf7-0a42b16a0fc3/iscsilogin HTTP/1.1
Content-Type: application/xml
Accept: application/xml
<action>
<iscsi>
<address>mysan.example.com</address>
<target>iqn.2009-08.com.example:mysan.foobar</target>
<username>jimmy</username>
<password>s3kr37</password>
</iscsi>
</action>