+# $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
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)
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