4 # Connect to the node manager
5 # Author: acb@cs.princeton.edu/sapanb@cs.princeton.edu
9 from xmlrpclib import ServerProxy
11 if (len(sys.argv)!=2):
12 print "[FAILED] Please pass the name of the slice this script runs in as the first argument.\n";
14 nodemanager = ServerProxy('http://127.0.0.1:812/')
16 nodemanager.SetLoans(sys.argv[1], [])
18 print "[FAILED] SetLoans didn't work, probably because the packets of this connection are not getting tagged.\n";