fixed broken slice-creation
[nodemanager.git] / plugins / vsys.py
index dad1b75..f33d11b 100644 (file)
@@ -10,11 +10,10 @@ from sets import Set
 VSYSCONF="/etc/vsys.conf"
 VSYSBKEND="/vsys"
 
-def start(options, config):
-    pass
+def start(options, conf):
+    logger.log("vsys plugin starting up...")
 
-
-def GetSlivers(data, plc = None, config = None):
+def GetSlivers(data, config=None, plc=None):
     """For each sliver with the vsys attribute, set the script ACL, create the vsys directory in the slice, and restart vsys."""
     # Touch ACLs and create dict of available
     scripts = {}
@@ -138,5 +137,5 @@ def parseConf():
             (path, slice) = line.split()
             slicesinconf.append(slice)
         f.close()
-    except: logger.log_exc()
+    except: logger.log_exc("failed vsys.parseConf")
     return slicesinconf