From: Anil-Kumar Vengalil Date: Wed, 9 Sep 2009 13:47:15 +0000 (+0000) Subject: netspec contains the slit Rspec X-Git-Tag: sfa-0.9-1~10 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=e089eee3ca203abf5df903dab9faa04397cbc7be;p=sfa.git netspec contains the slit Rspec --- diff --git a/sfa/plc/slices.py b/sfa/plc/slices.py index f9e102b4..1e486a5b 100644 --- a/sfa/plc/slices.py +++ b/sfa/plc/slices.py @@ -342,7 +342,7 @@ class Slices(SimpleStorage): netspecs = spec.getDictsByTagName('NetSpec') for netspec in netspecs: net_hrn = netspec['name'] - resources = {'start_time': start_time, 'end_time': end_time, 'networks': net_hrn} + resources = {'start_time': start_time, 'end_time': end_time, 'networks': netspec} resourceDict = {'Rspec': resources} tempspec.parseDict(resourceDict) rspecs[net_hrn] = tempspec.toxml()