10.6. Methods
10.6.1. 创建集群 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
创建新集群需要
名称、cpu id= 和 datacenter 元素。使用 id 属性或 name 元素识别 数据中心。
例 10.3. 创建集群
POST /ovirt-engine/api/clusters HTTP/1.1
Accept: application/xml
Content-type: application/xml
<cluster>
<name>cluster1</name>
<cpu id="Intel Penryn Family"/>
<data_center id="00000000-0000-0000-0000-000000000000"/>
</cluster>