apparently this is just a bug. we can set both hmac and omf_control tags
authorBaris Metin <bmetin@verivue.com>
Mon, 9 May 2011 21:50:09 +0000 (17:50 -0400)
committerBaris Metin <bmetin@verivue.com>
Mon, 9 May 2011 21:50:09 +0000 (17:50 -0400)
plugins/sliverauth.py

index 300b6b4..0798650 100644 (file)
@@ -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)
-            elif chunk['tagname']=='omf_control':
+
+            if chunk['tagname']=='omf_control':
                 manage_sshkey (plc, sliver)