X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=topo.py;h=e73eb8a414e137e909f98721d05670029fff2095;hb=f36c89114e23caec5cc8a6342425968278a8a6fb;hp=a9a9853ef9b5c91577f8d95050429b62089d5a79;hpb=f6ed4fcd49097356b5f23143e1df6fc7eb20dcb4;p=nodemanager-topo.git 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)