def __init__(self, command): LustreEH.__init__(self) self.command = command # Name of action to be supported by components (used with filter()) self.fs_action = command.NAME self.verbose = self.command.options.verbose self.fs = None
def __init__(self, hostname, nids, hdlr=None): assert isinstance(nids, list) self.nids = nids self.hostname = NodeSet(hostname) self.modules = dict() self.action_enabled = True self.hdlr = hdlr or EventHandler() self._running_actions = []
def __init__(self, fs_name, event_handler=None): self.fs_name = fs_name self.hdlr = event_handler or EventHandler() self.proxy_errors = MsgTree() # All FS components (MGT, MDT, OST, Clients, ...) self.components = ComponentGroup() # file system MGT self.mgt = None # Local server reference self.local_server = None self.debug = False self.logger = self._setup_logging()
def __init__(eh): EventHandler.__init__(eh) eh.event = None
def __init__(self): EventHandler.__init__(self) self.evlist = dict() self.msglist = []