CreateSliver() should return an xml string
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Tue, 3 May 2011 21:01:36 +0000 (17:01 -0400)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Tue, 3 May 2011 21:01:36 +0000 (17:01 -0400)
sfa/managers/slice_manager_pl.py

index 24b6e89..596ae31 100644 (file)
@@ -103,7 +103,7 @@ def CreateSliver(api, xrn, creds, rspec, users, call_id):
     rspec = SfaRSpec()
     for result in results:
         rspec.merge(result)     
-    return rspec
+    return rspec.toxml()
 
 def RenewSliver(api, xrn, creds, expiration_time, call_id):
     if Callids().already_handled(call_id): return True