Пример #1
0
 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()
Пример #2
0
 def stop(self):
     self.cred_server.join()
     AgentLogicBase.stop(self)
Пример #3
0
 def run(self):
     self.cred_server.start()
     AgentLogicBase.run(self)