From: Sapan Bhatia Date: Wed, 28 Oct 2009 01:27:39 +0000 (+0000) Subject: Added a log message for every time a slice is blessed. X-Git-Tag: NodeManager-1.8-19~6 X-Git-Url: http://git.onelab.eu/?p=nodemanager.git;a=commitdiff_plain;h=1916dc2db9cb0a6701df435c5b694743f1c57afd Added a log message for every time a slice is blessed. --- diff --git a/plugins/vsys_privs.py b/plugins/vsys_privs.py index 2dad075..3484a38 100755 --- a/plugins/vsys_privs.py +++ b/plugins/vsys_privs.py @@ -78,7 +78,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 +85,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