git://git.onelab.eu
/
nodemanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
4065928
)
apparently this is just a bug. we can set both hmac and omf_control tags
author
Baris Metin
<bmetin@verivue.com>
Mon, 9 May 2011 21:50:09 +0000
(17:50 -0400)
committer
Baris Metin
<bmetin@verivue.com>
Mon, 9 May 2011 21:50:09 +0000
(17:50 -0400)
plugins/sliverauth.py
patch
|
blob
|
history
diff --git
a/plugins/sliverauth.py
b/plugins/sliverauth.py
index
300b6b4
..
0798650
100644
(file)
--- a/
plugins/sliverauth.py
+++ b/
plugins/sliverauth.py
@@
-54,7
+54,8
@@
def GetSlivers(data, config, plc):
for chunk in sliver['attributes']:
if chunk['tagname']=='enable_hmac' and not system_slice:
manage_hmac (plc, sliver)
for chunk in sliver['attributes']:
if chunk['tagname']=='enable_hmac' and not system_slice:
manage_hmac (plc, sliver)
- elif chunk['tagname']=='omf_control':
+
+ if chunk['tagname']=='omf_control':
manage_sshkey (plc, sliver)
manage_sshkey (plc, sliver)