-# $Id$
+# Thierry Parmentelat <thierry.parmentelat@inria.fr>
+# Copyright (C) 2010 INRIA
+#
# wrapper to xmlrpc server, that support dry-run commands
# we dont want to have to depend on PLCAPI, so:
import xmlrpclib
+# the default value is for the dry run mode
server_methods = [ ('GetNodes' , []),
('AddNode' , True),
('SetNodePlainBootstrapfs', True),
('AddPersonKey' , True),
('GetPlcRelease', {'build': {'target-arch':'i386'}}),
('GetSites', []),
+ ('GetSlices', [{'name':'dry_run_slice'}]),
+ ('GetLeaseGranularity', 180),
+ ('AddLeases', True),
+ ('GetLeases', []),
+ ('DeleteLeases',True),
]
class TestApiserver: