From f36c89114e23caec5cc8a6342425968278a8a6fb Mon Sep 17 00:00:00 2001 From: Andy Bavier Date: Tue, 19 May 2009 19:32:36 +0000 Subject: [PATCH] Update for MyPLC 4.3 --- NodeManager-topo.spec | 4 ++-- topo.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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) -- 2.43.0