CreateSliver uses format of incomming rspec to determine format of resulting rspec
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Tue, 3 May 2011 12:13:14 +0000 (08:13 -0400)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Tue, 3 May 2011 12:13:14 +0000 (08:13 -0400)
sfa/managers/aggregate_manager_pl.py

index 75fdc8b..7bb94ed 100644 (file)
@@ -203,7 +203,7 @@ def CreateSliver(api, slice_xrn, creds, rspec_string, users, call_id):
             api.plshell.BindObjectToPeer(api.plauth, 'slice', slice.id, peer, 
                                          slice.peer_id)
 
-    return aggregate.get_rspec(slice_xrn=slice_xrn)
+    return aggregate.get_rspec(slice_xrn=slice_xrn, version=RSpecVersion("pg"))
 
 
 def RenewSliver(api, xrn, creds, expiration_time, call_id):