def __init__(self, connection): self.tcprules = {} self.udprules = {} self.icmprules = {} self.arprules = {} self.DNSpool = (IPAddr('100.0.0.25'), ) self.Webpool = (IPAddr('100.0.0.45'), ) self.Publicpool = (IPAddr('100.0.0.12'), IPAddr('100.0.0.11')) self.Privatepool = (IPAddr('100.0.0.1'), ) LearningSwitch.__init__(self, connection, False)
def __init__ (self, connection): LearningSwitch.__init__(self, connection, False)
def __init__(self, connection): #initial rule LearningSwitch.__init__(self, connection, False)
def __init__(self,connection): LearningSwitch.__init__(self,connection,False) log.info("Created Firewall")