예제 #1
0
    def run(self):

        self.logging_server = APP.LoggingServer()
        self.logger = APP.LoggingClient(name="MAIN")
        logger = self.logger

        logger("-=<" + ("-" * 70) + ">=-")
        logger("Provisioning v0.01, started.")

        self.controllers = {}
        for (cname, cpath) in APP.BE.CONTROLLER:
            self.controllers[cname] = cpath

        self.processes = {}
        self.start_services()
        self.cli = APP.CLIServer()
        self.cli.serve()
        self.exit()