def __init__(self, config): AgentLogicBase.__init__(self, config) self.dr = LinuxDataRetriver() self.dr.app_list = config.get("general", "applications_list") self.dr.ignored_fs = set(config.get("general", "ignored_fs").split()) self.commandHandler = CommandHandlerLinux(self) self.cred_server = RhevCredServer()
def stop(self): self.cred_server.join() AgentLogicBase.stop(self)
def run(self): self.cred_server.start() AgentLogicBase.run(self)