From: Andy Bavier Date: Tue, 19 May 2009 19:32:36 +0000 (+0000) Subject: Update for MyPLC 4.3 X-Git-Url: http://git.onelab.eu/?p=nodemanager-topo.git;a=commitdiff_plain;h=f36c89114e23caec5cc8a6342425968278a8a6fb Update for MyPLC 4.3 --- diff --git a/NodeManager-topo.spec b/NodeManager-topo.spec index f1388f3..4391fb7 100644 --- a/NodeManager-topo.spec +++ b/NodeManager-topo.spec @@ -1,8 +1,8 @@ %define url $URL$ Name: NodeManager-topo -Version: 0.4 -Release: 4 +Version: 0.5 +Release: 1 Summary: Plugin supporting creating a default virtual topology. Group: System Environment/Daemons diff --git a/topo.py b/topo.py index a9a9853..e73eb8a 100755 --- a/topo.py +++ b/topo.py @@ -356,7 +356,7 @@ def GetSlivers(data): for sliver in data['slivers']: attrs = {} for attribute in sliver['attributes']: - attrs[attribute['name']] = attribute['value'] + attrs[attribute['tagname']] = attribute['value'] if 'netns' in attrs: netns = int(attrs['netns']) writeConf(sliver['name'], netns)