Ejemplo n.º 1
0
def importBlacklist(importFile):
    oList = CPEList(collection, args)
    return oList.importList(importFile)
Ejemplo n.º 2
0
def dropBlacklist():
    oList = CPEList(collection, args)
    oList.dropCollection()
Ejemplo n.º 3
0
def insertWhitelist(cpe, cpeType):
    oList = CPEList(collection, args)
    return oList.insert(cpe,cpeType)
Ejemplo n.º 4
0
def updateWhitelist(cpeOld, cpeNew, cpeType):
    oList = CPEList(collection, args)
    return oList.update(cpeOld, cpeNew, cpeType)
Ejemplo n.º 5
0
def exportWhitelist(exportFile=None):
    oList = CPEList(collection, args)
    return oList.exportList(exportFile)
Ejemplo n.º 6
0
def countWhitelist():
    oList = CPEList(collection, args)
    return oList.countItems()
Ejemplo n.º 7
0
def countBlacklist():
    oList = CPEList(collection, args)
    return oList.countItems()
Ejemplo n.º 8
0
def exportBlacklist(exportFile):
    oList = CPEList(collection, args)
    oList.exportList(exportFile)
Ejemplo n.º 9
0
def exportBlacklist(exportFile):
    oList = CPEList(collection, args)
    oList.exportList(exportFile)
Ejemplo n.º 10
0
def dropBlacklist():
    oList = CPEList(collection, args)
    oList.dropCollection()
Ejemplo n.º 11
0
def importBlacklist(importFile):
    oList = CPEList(collection, args)
    oList.importList(importFile)
Ejemplo n.º 12
0
def updateWhitelist(cpeOld, cpeNew):
    oList = CPEList(collection, args)
    return oList.update(cpeOld, cpeNew)
Ejemplo n.º 13
0
def updateBlacklist(cpeOld, cpeNew):
    oList = CPEList(collection, args)
    return oList.update(cpeOld, cpeNew)
Ejemplo n.º 14
0
def checkBlacklist(cpe):
    oList = CPEList(collection, args)
    amount = oList.check(cpe)
    return amount
Ejemplo n.º 15
0
def removeBlacklist(cpe):
    oList = CPEList(collection, args)
    return oList.remove(cpe)
Ejemplo n.º 16
0
def removeBlacklist(cpe):
    oList = CPEList(collection, args)
    return oList.remove(cpe)
Ejemplo n.º 17
0
def dropBlacklist(user = None):
    oList = CPEList(collection, args)
    oList.dropCollection(user)
Ejemplo n.º 18
0
def importWhitelist(importFile):
    oList = CPEList(collection, args)
    return oList.importList(importFile)
Ejemplo n.º 19
0
def importWhitelist(importFile):
    oList = CPEList(collection, args)
    oList.importList(importFile)
Ejemplo n.º 20
0
def dropWhitelist():
    oList = CPEList(collection, args)
    oList.dropCollection()
Ejemplo n.º 21
0
def exportWhitelist(exportFile):
    oList = CPEList(collection, args)
    oList.exportList(exportFile)
Ejemplo n.º 22
0
def checkWhitelist(cpe):
    oList = CPEList(collection, args)
    amount = oList.check(cpe)
    return amount
Ejemplo n.º 23
0
def dropWhitelist():
    oList = CPEList(collection, args)
    return oList.dropCollection()
Ejemplo n.º 24
0
def removeWhitelist(cpe):
    oList = CPEList(collection, args)
    return oList.remove(cpe)
Ejemplo n.º 25
0
def countWhitelist():
    oList = CPEList(collection, args)
    return oList.countItems()
Ejemplo n.º 26
0
def countBlacklist():
    oList = CPEList(collection, args)
    return oList.countItems()


def checkBlacklist(cpe):
    oList = CPEList(collection, args)
    amount = oList.check(cpe)
    return amount


def insertBlacklist(cpe, cpeType):
    oList = CPEList(collection, args)
    return oList.insert(cpe, cpeType)


def removeBlacklist(cpe):
    oList = CPEList(collection, args)
    return oList.remove(cpe)


def updateBlacklist(cpeOld, cpeNew, cpeType):
    oList = CPEList(collection, args)
    return oList.update(cpeOld, cpeNew, cpeType)


if __name__ == '__main__':
    oList = CPEList(collection, args)
    oList.process()
Ejemplo n.º 27
0
def insertWhitelist(cpe, cpeType, comments=None):
    oList = CPEList(collection, args)
    return oList.insert(cpe, cpeType, comments)
Ejemplo n.º 28
0
def exportBlacklist(exportFile=None):
    oList = CPEList(collection, args)
    return oList.exportList(exportFile)
Ejemplo n.º 29
0
def removeWhitelist(cpe):
    oList = CPEList(collection, args)
    return oList.remove(cpe)
Ejemplo n.º 30
0
def countBlacklist():
    oList = CPEList(collection, args)
    return oList.countItems()
Ejemplo n.º 31
0
def exportWhitelist(exportFile):
    oList = CPEList(collection, args)
    oList.exportList(exportFile)
Ejemplo n.º 32
0
def insertBlacklist(cpe, cpeType):
    oList = CPEList(collection, args)
    return oList.insert(cpe, cpeType)
Ejemplo n.º 33
0

def countWhitelist():
    oList = CPEList(collection, args)
    return oList.countItems()


def checkWhitelist(cpe):
    oList = CPEList(collection, args)
    amount = oList.check(cpe)
    return amount


def insertWhitelist(cpe, cpeType):
    oList = CPEList(collection, args)
    return oList.insert(cpe,cpeType)


def removeWhitelist(cpe):
    oList = CPEList(collection, args)
    return oList.remove(cpe)


def updateWhitelist(cpeOld, cpeNew, cpeType):
    oList = CPEList(collection, args)
    return oList.update(cpeOld, cpeNew, cpeType)

if __name__ == '__main__':
    oList = CPEList(collection, args)
    oList.process()
Ejemplo n.º 34
0
def updateBlacklist(cpeOld, cpeNew, cpeType):
    oList = CPEList(collection, args)
    return oList.update(cpeOld, cpeNew, cpeType)
Ejemplo n.º 35
0
def insertWhitelist(cpe, cpeType, isglobal, user):
    oList = CPEList(collection, args)
    return oList.insert(cpe, cpeType, isglobal, user)