From 46732f1aa649a4c4e061bda49582e2f8f265411b Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Sun, 20 May 2012 15:35:31 -0400 Subject: [PATCH] ensure urn has sliver type --- sfa/client/sfaadmin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.47.0