5.0
[nodemanager.git] / vsys.py
diff --git a/vsys.py b/vsys.py
index 17b3b59..a1558bd 100644 (file)
--- a/vsys.py
+++ b/vsys.py
@@ -24,7 +24,7 @@ def GetSlivers(data):
     # Parse attributes and update dict of scripts
     for sliver in data['slivers']:
         for attribute in sliver['attributes']:
-            if attribute['name'] == 'vsys':
+            if attribute['tagname'] == 'vsys':
                 if sliver['name'] not in slices:
                     # add to conf
                     slices.append(sliver['name'])