svn:keywords
[nodemanager.git] / plugins / vsys_privs.py
index 2dad075..f30012d 100755 (executable)
@@ -1,3 +1,6 @@
+# $Id$
+# $URL$
+
 """
 vsys sub-configurator.  Maintains configuration parameters associated with vsys scripts.
 All slice attributes with the prefix vsys_ are written into configuration files on the
@@ -78,7 +81,6 @@ def write_privs(cur_privs,privs):
                     and cur_privs[slice].has_key(k)
                     and cur_privs[slice][k] == v):
                 # The binding has not changed
-                print "Binding for %s, %s has not changed"%(slice,k) 
                 pass
             else:
                 v_file = os.path.join(slice_dir, k)
@@ -86,6 +88,7 @@ def write_privs(cur_privs,privs):
                 data = '\n'.join(v)
                 f.write(data)
                 f.close()
+                logger.log("Added vsys attribute %s for %s"%(k,slice))
 
     # Remove files and directories 
     # that are invalid