コード例 #1
0
 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)
コード例 #2
0
	def __init__ (self, connection):
		LearningSwitch.__init__(self, connection, False)
コード例 #3
0
 def __init__(self, connection):
     #initial rule
     LearningSwitch.__init__(self, connection, False)
コード例 #4
0
ファイル: controller.py プロジェクト: Dowgrim/SDNProject
 def __init__(self,connection):
     LearningSwitch.__init__(self,connection,False)
     log.info("Created Firewall")