def __init__(self, flowbackend, databackend): AnalysisBase.__init__(self, flowbackend, databackend) self.hostInfoDB = hostinfodb.HostInfoDB() self.hiCollectionName = common.HOST_INFORMATION_COLLECTION self.analysisResultDict = { "IP" : ("NUMBER(10)", "PRIMARY"), "LASTSEEN" : ("NUMBER(10)", None), "LASTINFOCHECK" : ("NUMBER(10)", None) } self.dataBackend.prepareCollection(self.hiCollectionName, self.analysisResultDict)
def __init__(self, flowbackend, databackend): AnalysisBase.__init__(self, flowbackend, databackend) self.hostInfoDB = hostinfodb.HostInfoDB() self.hiCollectionName = common.HOST_INFORMATION_COLLECTION self.analysisResultDict = { "IP": ("NUMBER(10)", "PRIMARY"), "LASTSEEN": ("NUMBER(10)", None), "LASTINFOCHECK": ("NUMBER(10)", None) } self.dataBackend.prepareCollection(self.hiCollectionName, self.analysisResultDict)
def __init__(self, flowbackend, databackend): AnalysisBase.__init__(self, flowbackend, databackend)