ensure urn has sliver type
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Sun, 20 May 2012 19:35:31 +0000 (15:35 -0400)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Sun, 20 May 2012 19:35:31 +0000 (15:35 -0400)
sfa/client/sfaadmin.py

index a19e189..1e1d675 100755 (executable)
@@ -286,7 +286,8 @@ class AggregateCommands(Commands):
 or the resources allocated by a slice"""  
         options = {'geni_rspec_version': rspec_version}
         if xrn:
-            options['geni_slice_urn'] = xrn
+            options['geni_slice_urn'] = Xrn(xrn, 'slice').get_urn()
+        print options
         resources = self.api.manager.ListResources(self.api, [], options)
         print resources