-from geni.util.geniclient import *
-from geni.util.credential import *
from pprint import pprint
+from sfa.util.client import *
+from sfa.trust.credential import *
+
cred = Credential(filename = 'tmack.pl.sa.cred')
slicehrn = 'planetlab.us.pl.tmack'
print cred.get_privileges().save_to_string()
pprint(tmack_components)
#print "removing %(slicehrn)s from all nodes" % locals()
-#a.delete_slice(cred, slicehrn)
+#a.DeleteSliver(cred, slicehrn)
print "adding %(slicehrn)s back to its original nodes" % locals()
a.list_resources(cred, slicehrn)
-a.create_slice(cred, slicehrn, components)
+a.CreateSliver(cred, slicehrn, components)
a.list_resources(cred, slicehrn)