From: Tony Mack Date: Sun, 20 May 2012 19:35:31 +0000 (-0400) Subject: ensure urn has sliver type X-Git-Tag: sfa-2.1-8~20^2~1 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=46732f1aa649a4c4e061bda49582e2f8f265411b;p=sfa.git ensure urn has sliver type --- diff --git a/sfa/client/sfaadmin.py b/sfa/client/sfaadmin.py index a19e1893..1e1d6758 100755 --- a/sfa/client/sfaadmin.py +++ b/sfa/client/sfaadmin.py @@ -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