Red Hat Training

A Red Hat training course is available for Red Hat Virtualization

13.3.5. 使用现有存储连接添加新存储域

使用现有存储连接添加新存储域需要 POST 请求。这仅适用于基于文件的存储域: NFSPOSIX 和本地

例 13.6. 使用现有存储连接添加新存储域

POST /ovirt-engine/api/storagedomains HTTP/1.1
Accept: application/xml
Content-type: application/xml

<storage_domain>
  <name>New_Domain</name>
  <type>data</type>
 <storage id="Storage_Connection_ID"/>
  <host>
    <name>Host_Name</name>
  </host>
</storage_domain>