Hi,
I tried to create a new Fibre Channel Direct LUN with the API. But it doesn't 
work. My command is:

curl -s \
--cacert '/etc/pki/ovirt-engine/ca.pem' \
--request POST \
--header 'Version: 4' \
--header 'Accept: application/xml' \
--user 'admin@internal:XXXXXXXXXX' \
--data '
<disk>
  <alias>DX600RZ2_OLVM_Test</alias>
  <name>DX600RZ2_OLVM_Test</name>
  <lun_storage>
    <type>fcp</type>
    <logical_units>
      <logical_unit id="3600000e00d2a0000002a0d15034d0000">
      </logical_unit>
    </logical_units>
  </lun_storage>
</disk>
' \
https://olvmmanager/ovirt-engine/api/disks

I think there are parameter missing. But I can't find a working example.
Please help.

Best Regards,
Michael
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/HYJ2JENVIVQY3QQGVII7IFEYLA3MB5DF/

Reply via email to