def start(options, config): pass
-def GetSlivers(data, plc = None, config = None):
+def GetSlivers(plc, data, config = None):
logger.log("conf_files: Running.")
cf = conf_files()
cf.run_once(data)
def start(options, conf):
logger.log("net plugin starting up...")
-def GetSlivers(plc, data, conf):
+def GetSlivers(plc, data, config):
logger.verbose("net:GetSlivers called.")
InitInterfaces(plc, data) # writes sysconfig files.
if 'OVERRIDES' in dir(config):
start_requested = False # set to True in order to request that all slivers be started
@database.synchronized
-def GetSlivers(data, plc = None, config = None, fullupdate=True):
+def GetSlivers(plc, data, config = None, fullupdate=True):
"""This function has two purposes. One, convert GetSlivers() data
into a more convenient format. Two, even if no updates are coming
in, use the GetSlivers() heartbeat as a cue to scan for expired