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:
9b3ae65
)
Added a log message for every time a slice is blessed.
author
Sapan Bhatia
<sapanb@cs.princeton.edu>
Wed, 28 Oct 2009 01:27:39 +0000
(
01:27
+0000)
committer
Sapan Bhatia
<sapanb@cs.princeton.edu>
Wed, 28 Oct 2009 01:27:39 +0000
(
01:27
+0000)
plugins/vsys_privs.py
patch
|
blob
|
history
diff --git
a/plugins/vsys_privs.py
b/plugins/vsys_privs.py
index
2dad075
..
3484a38
100755
(executable)
--- 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