def __init__(self): super(MEMPlugin, self).__init__() self._pool = eventlet.GreenPool() self.boot_wait = cfg.CONF.apmec.boot_wait self.vim_client = vim_client.VimClient() self._mea_manager = driver_manager.DriverManager( 'apmec.apmec.mem.drivers', cfg.CONF.apmec.infra_driver) self._mea_action = driver_manager.DriverManager( 'apmec.apmec.policy.actions', cfg.CONF.apmec.policy_action) self._mea_monitor = monitor.MEAMonitor(self.boot_wait) self._mea_alarm_monitor = monitor.MEAAlarmMonitor()
def __init__(self): super(MeoPlugin, self).__init__() self._pool = eventlet.GreenPool() self._vim_drivers = driver_manager.DriverManager( 'apmec.meo.vim.drivers', cfg.CONF.meo_vim.vim_drivers) self.vim_client = vim_client.VimClient()
def __init__(self, boot_wait, check_intvl=None): self._monitor_manager = driver_manager.DriverManager( 'apmec.apmec.monitor.drivers', cfg.CONF.apmec.monitor_driver) self.boot_wait = boot_wait if check_intvl is None: check_intvl = cfg.CONF.monitor.check_intvl self._status_check_intvl = check_intvl LOG.debug('Spawning MEA monitor thread') threading.Thread(target=self.__run__).start()
def __init__(self): super(MEMMgmtMixin, self).__init__() self._mgmt_manager = driver_manager.DriverManager( 'apmec.apmec.mgmt.drivers', cfg.CONF.apmec.mgmt_driver)
def __init__(self): self._alarm_monitor_manager = driver_manager.DriverManager( 'apmec.apmec.alarm_monitor.drivers', cfg.CONF.apmec.alarm_monitor_driver)