[Libvirt-cim] [PATCH] [TEST] Updating 02_reverse.py of HostedService to also verify the association with CRS

Deepti B. Kalakeri deeptik at linux.vnet.ibm.com
Thu Oct 23 10:23:51 UTC 2008


# HG changeset patch
# User Deepti B. Kalakeri<deeptik at linux.vnet.ibm.com>
# Date 1224757317 25200
# Node ID c177b3f78ae1fe0b3405f9bcad8b69316f78badf
# Parent  2c77be4e041a0a8669d234d6219e1f207b6d4ed5
[TEST] Updating 02_reverse.py of HostedService to also verify the association with CRS.

Tested on KVM with current sources.

Signed-off-by: Deepti B. Kalakeri <deeptik at linux.vnet.ibm.com>

diff -r 2c77be4e041a -r c177b3f78ae1 suites/libvirt-cim/cimtest/HostedService/02_reverse.py
--- a/suites/libvirt-cim/cimtest/HostedService/02_reverse.py	Thu Oct 23 00:48:48 2008 -0700
+++ b/suites/libvirt-cim/cimtest/HostedService/02_reverse.py	Thu Oct 23 03:21:57 2008 -0700
@@ -41,7 +41,8 @@
     
     servicelist = {"ResourcePoolConfigurationService" : "RPCS", 
                    "VirtualSystemManagementService" : "Management Service",
-                   "VirtualSystemMigrationService" : "MigrationService"}
+                   "VirtualSystemMigrationService" : "MigrationService",
+                   "ConsoleRedirectionService" : "ConsoleRedirectionService" }
 
     status, host_name, host_ccn = get_host_info(options.ip, virt)
     if status != PASS:
@@ -72,9 +73,10 @@
             logger.error("CreationClassName Error")
             return FAIL
 
-        elif name != host_name:
+        if name != host_name:
             logger.error("CCN Error")
             return FAIL
+    return PASS
      
         
 if __name__ == "__main__":




More information about the Libvirt-cim mailing list