From 51c125269630afa95cb00a9850c32bee16108753 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Fri, 21 Sep 2007 17:45:29 -0400 Subject: Added a smolt-based hardware profiler module. --- client/test_func.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'client') diff --git a/client/test_func.py b/client/test_func.py index 38ae977..57cf5d7 100644 --- a/client/test_func.py +++ b/client/test_func.py @@ -5,8 +5,9 @@ import xmlrpclib -TEST_VIRT = True +TEST_VIRT = False TEST_SERVICES = True +TEST_HARDWARE = True # get a connecton (to be replaced by client lib logic) s = xmlrpclib.ServerProxy("http://127.0.0.1:51234") @@ -18,6 +19,9 @@ print s.test.add(1, 2) if TEST_SERVICES: print s.service.restart("httpd") +if TEST_HARDWARE: + print s.hardware.info() + # this is so I can remember how the virt module works if TEST_VIRT: -- cgit