From 3838f8841c23dc0bdd9c938be41460f79f3299be Mon Sep 17 00:00:00 2001 From: Anoop Date: Sun, 23 Sep 2018 01:00:26 -0400 Subject: [PATCH] Few Changes --- xen_api.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xen_api.py b/xen_api.py index 8167e09..6b07267 100755 --- a/xen_api.py +++ b/xen_api.py @@ -6,7 +6,6 @@ import sys import ConfigParser import logging -import requests import zmq import json @@ -309,7 +308,7 @@ def get_dom_details(self): lists all vms in the server (output of xentop) :return List of VirtualMachine with name, state, cpu, memory and network details """ - logger.debug('Listing Xentop..') + # logger.debug('Listing Xentop..') cmd = 'xentop -b -i1' p = Popen(cmd.split(), stdout=PIPE, stderr=PIPE) out, err = p.communicate()