Beispiel #1
0
 def __init__(self, job_id, parameters, logger):
     self.job_id = job_id
     self.logger = logger
     self.device = None
     self.parameters = parameters
     self.__context__ = PipelineContext()
     self.pipeline = None
     self.connection = None
     self.triggers = []  # actions can add trigger strings to the run a diagnostic
     self.diagnostics = [DiagnoseNetwork]
     self.timeout = None
     self.protocols = []
     self.compatibility = 2
     # Was the job cleaned
     self.cleaned = False
     # override in use
     self.base_overrides = {}
     self.started = False
     self.test_info = {}
Beispiel #2
0
 def __init__(self, job_id, parameters, logger):  # pylint: disable=too-many-arguments
     self.job_id = job_id
     self.logger = logger
     self.device = None
     self.parameters = parameters
     self.__context__ = PipelineContext()
     self.pipeline = None
     self.connection = None
     self.triggers = []  # actions can add trigger strings to the run a diagnostic
     self.diagnostics = [
         DiagnoseNetwork,
     ]
     self.timeout = None
     self.protocols = []
     self.compatibility = 2
     # Was the job cleaned
     self.cleaned = False
     # Root directory for the job tempfiles
     self.tmp_dir = None
     # override in use
     self.base_overrides = {}
     self.started = False