summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-21 17:45:29 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-21 17:45:29 -0400
commit51c125269630afa95cb00a9850c32bee16108753 (patch)
treea4b8fb73b172d4a388a18adbe56cd1f319909d99 /client
parentc0f0adba8b5a8139e30769408c290f2d6e762189 (diff)
downloadthird_party-func-51c125269630afa95cb00a9850c32bee16108753.tar.gz
third_party-func-51c125269630afa95cb00a9850c32bee16108753.tar.xz
third_party-func-51c125269630afa95cb00a9850c32bee16108753.zip
Added a smolt-based hardware profiler module.
Diffstat (limited to 'client')
-rw-r--r--client/test_func.py6
1 files changed, 5 insertions, 1 deletions
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: