[Libvirt-cim] [PATCH] [TEST] Add test for hypervisor version string
Kaitlin Rupert
kaitlin at linux.vnet.ibm.com
Tue Jul 29 20:18:58 UTC 2008
> +
> + try:
> + service = vsms.enumerate_instances(options.ip, options.virt)[0]
> + except Exception, details:
> + logger.error("Did not find VSMS instance")
> + logger.error(details)
> + return FAIL
You'll want to check to make sure None was not returned from the
enumerate call. It's possible the call returned CMPI_RC_OK and no
instances.
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com
More information about the Libvirt-cim
mailing list