예제 #1
0
 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
예제 #2
0
 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
예제 #3
0
    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 = []
예제 #4
0
    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()
예제 #5
0
파일: ProxyTest.py 프로젝트: thiell/shine
 def __init__(eh):
     EventHandler.__init__(eh)
     eh.event = None
예제 #6
0
 def __init__(self):
     EventHandler.__init__(self)
     self.evlist = dict()
     self.msglist = []
예제 #7
0
 def __init__(self):
     EventHandler.__init__(self)
     self.evlist = dict()
     self.msglist = []
예제 #8
0
 def __init__(eh):
     EventHandler.__init__(eh)
     eh.event = None