# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1224225063 25200
# Node ID 830cc917812e3dc38483d79713ec6fc14a95d9ee
# Parent 69fe94b1348985a337d385865d7522c78f57e116
[TEST] #2 Update VirtualSystemManagementService/11_define_memrasdunits.py to call new
EnumInstances
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 69fe94b13489 -r 830cc917812e
suites/libvirt-cim/cimtest/VirtualSystemManagementService/11_define_memrasdunits.py
---
a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/11_define_memrasdunits.py Thu
Oct 16 03:14:27 2008 -0700
+++
b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/11_define_memrasdunits.py Thu
Oct 16 23:31:03 2008 -0700
@@ -69,7 +69,7 @@ def try_define(options, vssd, units, val
def check_value(options):
mrasd_cn = get_typed_class(options.virt, rasd.masd_cn)
- rasds = enumclass.enumerate_inst(options.ip, mrasd_cn, options.virt)
+ rasds = enumclass.EnumInstances(options.ip, mrasd_cn, ret_cim_inst=True)
the_rasd = None
mem_kb = mem_bytes >> 10