Update for MyPLC 4.3
[nodemanager-topo.git] / topo.py
diff --git a/topo.py b/topo.py
index a9a9853..e73eb8a 100755 (executable)
--- 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)