def __init__(self, conf): self.conf = conf if conf.ipc_protocol == 'rpc': self.notifier = rpc.RPCAlarmNotifier(self.conf) else: self.notifier = queue.AlarmNotifier(self.conf) self.storage_conn = None self._ks_client = None self._alarm_change_notifier = None
def __init__(self, conf): self.conf = conf self.notifier = queue.AlarmNotifier(self.conf) self.storage_conn = None self._ks_client = None self._alarm_change_notifier = None