Hello
I was just wondering if anyone would be able to help me figure out if there is a way to login to an ISCSI target (EqualLogic) and add its associated volume as a Direct LUN via the REST api.
I have figured out how to add an existing Direct LUN to a vm.
I have created a volume on the SAN and then I am attempting to upload some xml to the API:
cat disk.xml
<alias>direct_lun</alias>
<interface>virtio</interface>
<address>10.0.0.1</address>
<target>iqn.2001-05.com.equallogic:0-1cb196-cff1c713e-e2a004dfcc65357b-dev-directlun</target>
At the moment the API is returning with a HTTP 400:
<fault>
<reason>Incomplete parameters</reason>
<detail>Disk [provisionedSize|size] required for add</detail>
</fault>
Is it possible to achieve my goal via the API ?
Thanks
Gary Lloyd----------------------------------
IT Services
Keele University
-----------------------------------