18.3. Methods
18.3.1. 创建新虚拟机池 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
新池需要
名称、cluster 和 template 元素。使用 id 属性或 name 元素识别 集群和 模板。
例 18.2. 创建虚拟机池
POST /ovirt-engine/api/vmpools HTTP/1.1
Accept: application/xml
Content-type: application/xml
<vmpool>
<name>VM_Pool_A</name>
<cluster href="/ovirt-engine/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95"/>
id="99408929-82cf-4dc7-a532-9d998063fa95"
<template href="/ovirt-engine/api/templates/00000000-0000-0000-0000-000000000000"/>
id="00000000-0000-0000-0000-000000000000"
</vmpool>