Deepti B. Kalakeri wrote:
# HG changeset patch
# User Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
# Date 1243430368 25200
# Node ID 30ce5799fb9abed46b528e70ad81b4242a801f05
# Parent e5fd77170913c3819d667e240c9873efa3bf0d07
[TEST] Modifying ResourcePool/01_enum.py to accomodate verifying Parent DiskPool and
NetworkPool.
Tested with KVM on F10 with current sources.
Signed-off-by: Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
diff -r e5fd77170913 -r 30ce5799fb9a suites/libvirt-cim/cimtest/ResourcePool/01_enum.py
+ if virt != 'LXC':
+ dp = get_typed_class(virt, dp_cn)
+ np = get_typed_class(virt, np_cn)
+ cn_list.append(dp)
+ cn_list.append(np)
Even though containers don't have disks associated with them, you can
create a diskpool with the lxc://system uri.
And containers guests can have a network interface (and network pool) if
the kernel supports it.
Otherwise, this looks good!
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin(a)linux.vnet.ibm.com