4 # Connect to the node manager
5 # Author: acb@cs.princeton.edu/sapanb@cs.princeton.edu
10 from xmlrpclib import ServerProxy
12 homedir=os.environ['HOME']
13 slice_name = homedir.rsplit('/')[0]
15 nodemanager = ServerProxy('http://127.0.0.1:812/')
17 nodemanager.SetLoans(slice_name, [])
19 print "[FAILED] SetLoans didn't work, probably because the packets of this connection are not getting tagged.\n";