Example 15.13. Creating a new direct LUN disk device on a virtual machine
curl --cacert '/etc/pki/ovirt-engine/ca.pem' \
--request POST \
--header "Content-type: application/xml" \
--header "Accept: application/xml" \
--user "admin@internal:xxzzyy" \
--data "
<disk>
<interface>virtio_scsi</interface>
<lun_storage>
<type>fcp</type>
<logical_units>
<logical_unit id="3624a937054c59fab85624844000117f0">
</logical_unit>
</logical_units>
</lun_storage>
<shareable>true</shareable>
</disk>
" \
https://cmanager/ovirt-engine/api/vms/9a779f03-3f0c-442e-83a2-8b9d4b450c76/disks