# HG changeset patch
# User Sharad Mishra <snmishra(a)us.ibm.com>
# Date 1286428013 14400
# Node ID dac5cb514b9a7668b7717ac07bf02b9fcdf3a78d
# Parent 96d09403ca73d1416c08f631899a4a99fa680b4d
Removing check for sblim host.
We are not using the sblim host in libvirt-cim.
Signed-off-by: Sharad Mishra <snmishra(a)us.ibm.com>
diff -r 96d09403ca73 -r dac5cb514b9a suites/libvirt-cim/lib/XenKvmLib/common_util.py
--- a/suites/libvirt-cim/lib/XenKvmLib/common_util.py Fri Aug 06 05:45:50 2010 -0700
+++ b/suites/libvirt-cim/lib/XenKvmLib/common_util.py Thu Oct 07 01:06:53 2010 -0400
@@ -153,9 +153,12 @@
def get_host_info(server, virt):
try:
- status, linux_cs = check_sblim(server)
- if status == PASS:
- return status, linux_cs
+ # Commenting out sblim check as libvirt-cim is not supporting it anymore.
+ # Leaving them commented, in case we add support for sblim at later time.
+
+ # status, linux_cs = check_sblim(server)
+ # if status == PASS:
+ # return status, linux_cs
hs_class = get_typed_class(virt, 'HostSystem')
host_info = enumclass.EnumInstances(server, hs_class)