[Libvirt-cim] [PATCH] [TEST] #2 Update ElementSettingData.03 for XenFV support

yunguol at cn.ibm.com yunguol at cn.ibm.com
Wed Jul 30 05:34:04 UTC 2008


# HG changeset patch
# User Guolian Yun <yunguol at cn.ibm.com>
# Date 1217396027 25200
# Node ID f5e68364070e684580fadf659592aac5565f8b69
# Parent  2efc46fd30f33e06c20ca8c771abed65725a3fdb
[TEST] #2 Update ElementSettingData.03 for XenFV support

Updates from 1 to 2:
When Xen guest creation finish, set options.virt to 'Xen'

Signed-off-by: Guolian Yun <yunguol at cn.ibm.com>

diff -r 2efc46fd30f3 -r f5e68364070e suites/libvirt-cim/cimtest/ElementSettingData/03_esd_assoc_with_rasd_errs.py
--- a/suites/libvirt-cim/cimtest/ElementSettingData/03_esd_assoc_with_rasd_errs.py	Wed Jul 23 17:42:47 2008 -0700
+++ b/suites/libvirt-cim/cimtest/ElementSettingData/03_esd_assoc_with_rasd_errs.py	Tue Jul 29 22:33:47 2008 -0700
@@ -60,7 +60,7 @@ from XenKvmLib.classes import get_typed_
 from XenKvmLib.classes import get_typed_class
 from CimTest.ReturnCodes import PASS, FAIL
 
-sup_types = ['Xen', 'KVM', 'LXC']
+sup_types = ['Xen', 'KVM', 'XenFV', 'LXC']
 
 test_dom = "hd_domain1"
 test_mac = "00:11:22:33:44:55"
@@ -91,6 +91,8 @@ def main():
         logger.error("Failed to Create the dom: %s" % test_dom)
         status = FAIL
         return status
+    if options.virt == "XenFV":
+        options.virt = "Xen"
     try:
         instid = '%s:%s' % (options.virt, test_dom)
         rasd_list = assoc.Associators(options.ip, vssdc_cn, vssd_cn,




More information about the Libvirt-cim mailing list