X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plugins%2Fvsys_privs.py;h=1a3e4b24bf1d5ec814a7bd2fbe53fcb3d7b6f8c8;hb=74a8cfb9d2eac39ae02e5323e1fb5b1d33297981;hp=62b84a0047538c27da248c91a2e906a1d07b220b;hpb=1cb0bbb1b6f7e998769011ff47c31f8e4cf63169;p=nodemanager.git diff --git a/plugins/vsys_privs.py b/plugins/vsys_privs.py index 62b84a0..1a3e4b2 100755 --- a/plugins/vsys_privs.py +++ b/plugins/vsys_privs.py @@ -14,10 +14,10 @@ from sets import Set VSYS_PRIV_DIR = "/etc/planetlab/vsys-attributes" def start(options, conf): - logger.log("vsys_privs plugin v0.1") + logger.log("vsys_privs: plugin starting") if (not os.path.exists(VSYS_PRIV_DIR)): os.makedirs(VSYS_PRIV_DIR) - logger.log("Created vsys attributes dir") + logger.log("vsys_privs: Created vsys attributes dir") def GetSlivers(data, config=None, plc=None): @@ -97,7 +97,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)) + logger.log("vsys_privs: added vsys attribute %s for %s"%(k,slice)) # Remove files and directories # that are invalid