git://git.onelab.eu
/
nodemanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
logs for when PLC is unreachable
[nodemanager.git]
/
plugins
/
vsys_privs.py
diff --git
a/plugins/vsys_privs.py
b/plugins/vsys_privs.py
index
f30012d
..
5cd40a2
100755
(executable)
--- a/
plugins/vsys_privs.py
+++ b/
plugins/vsys_privs.py
@@
-23,6
+23,9
@@
def GetSlivers(data, config=None, plc=None):
privs = {}
# Parse attributes and update dict of scripts
+ if 'slivers' not in data:
+ logger.log_missing_data("vsys_privs.GetSlivers",'slivers')
+ return
for sliver in data['slivers']:
slice = sliver['name']
for attribute in sliver['attributes']: