Пример #1
0
    def bootstrap(self, **kw):
        self.info('---------------------------------------------')
        self.info('----------- Bootstrapping Firmware -----------')
        self.info('---------------------------------------------')

        from pychron.furnace.firmware.manager import FirmwareManager
        from pychron.furnace.firmware.server import FirmwareServer
        self.manager = FirmwareManager()
        self.manager.bootstrap(**kw)
        self.server = FirmwareServer(manager=self.manager)
        self.server.bootstrap(**kw)
Пример #2
0
class Firmware(HeadlessLoggable):
    manager = None
    server = None

    def bootstrap(self, **kw):
        self.info('---------------------------------------------')
        self.info('----------- Bootstrapping Firmware -----------')
        self.info('---------------------------------------------')

        from pychron.furnace.firmware.manager import FirmwareManager
        from pychron.furnace.firmware.server import FirmwareServer
        self.manager = FirmwareManager()
        self.manager.bootstrap(**kw)
        self.server = FirmwareServer(manager=self.manager)
        self.server.bootstrap(**kw)