[Libvirt-cim] [PATCH] [TEST] Resubmit PoolXML class for creating a virtual pool in vxml.py
Kaitlin Rupert
kaitlin at linux.vnet.ibm.com
Wed May 14 18:58:34 UTC 2008
Guo Lian Yun wrote:
> # HG changeset patch
> # User Guolian Yun <yunguol at cn.ibm.com>
> # Date 1210730487 25200
> # Node ID 82e90471b04874cb48a473dd72468be6f784acba
> # Parent 06c87ac466e374f7ca5b7e3dd1923ee32f1ef2ce
> [TEST] Resubmit PoolXML class for creating a virtual pool in vxml.py
>
> Removed source tag and add pool destroy function
> Signed-off-by: Guolian Yun <yunguol at cn.ibm.com>
>
> diff -r 06c87ac466e3 -r 82e90471b048 suites/libvirt-cim/lib/XenKvmLib/const.py
> diff -r 06c87ac466e3 -r 82e90471b048 suites/libvirt-cim/lib/XenKvmLib/vxml.py
> --- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Tue May 13 06:07:27 2008 -0700
> +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Tue May 13 19:01:27 2008 -0700
> @@ -143,12 +143,14 @@ class Virsh:
> self.vuri = 'qemu:///system'
>
> def run(self, ip, vcmd, param):
> - file_arg_cmds = ['define', 'create', 'net-create']
> + file_arg_cmds = ['define', 'create', 'net-create', 'pool-create']
You'll also need to add pool-destroy here as well.
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com
More information about the Libvirt-cim
mailing list