def __init__( self, nopull=False, keep=False, date=None, pattern="MPCN", machines=["pds5", "pds6"], sources=["ncp1", "ncp2"], client="wxo-b1", xstats=False, ): Latencies.__init__(self, nopull, keep, date, xstats) # Parent Constructor self.pattern = pattern # Products that we want to match self.machines = machines # Machines were the logs can be found self.sources = sources # Sources for which we will check arrival time of the products self.client = client # Client for which we will check delivery time of the products (A string) self.system = "PX" if not self.nopull: self.obtainFiles() self.start() if not self.keep: self.eraseFiles()
def __init__(self, nopull=False, keep=False, date=None, pattern='MPCN', machines=['pds5', 'pds6'], sources=['ncp1', 'ncp2'], client='wxo-b1', xstats=False): Latencies.__init__(self, nopull, keep, date, xstats) # Parent Constructor self.pattern = pattern # Products that we want to match self.machines = machines # Machines were the logs can be found self.sources = sources # Sources for which we will check arrival time of the products self.client = client # Client for which we will check delivery time of the products (A string) self.system = 'PX' if not self.nopull: self.obtainFiles() self.start() if not self.keep: self.eraseFiles()
def __init__(self, nopull=False, keep=False, date=None, pattern='ACC', machines=['pds1', 'pds2', 'pds3', 'pds4'], sources=['pdschkprod'], client='wxo-b1-oper-ww', xstats=False): Latencies.__init__(self, nopull, keep, date, xstats) # Parent Constructor self.pattern = pattern # Products that we want to match self.machines = machines # Machines were the logs can be found self.sources = sources # Sources for which we will check arrival time of the products self.client = client # Client for which we will check delivery time of the products (ONLY ONE ENTRY in the list) self.system = 'PDS' if not self.nopull: self.obtainFiles() self.start() if not self.keep: self.eraseFiles()