コード例 #1
0
 def __init__(self, pkt, in_port, data, datapath, controller, federazione,
              public_to_private_a, public_to_private_b):
     PacketHandler.__init__(self, pkt)
     self._pkt = pkt
     self._datapath = datapath
     self._in_port = in_port
     self._data = data
     self._controller = controller
     self._federation = federazione
     self._public_to_private_a = public_to_private_a
     self._public_to_private_b = public_to_private_b
コード例 #2
0
ファイル: dns_handler.py プロジェクト: mostafaei/SD-Fedenet
 def __init__(self, pkt, in_port, data, datapath, controller, federazione,
              public_to_private_a, public_to_private_b, pkt_dns):
     PacketHandler.__init__(self, pkt)
     self._pkt = pkt
     self._pkt_dns = pkt_dns
     self._datapath = datapath
     self._in_port = in_port
     self._data = data
     self._controller = controller
     self._federation = federazione
     self._public_to_private_a = public_to_private_a
     self._public_to_private_b = public_to_private_b
     print '--------DNSResponseHandler-Alg1-----'
コード例 #3
0
ファイル: ip_handler.py プロジェクト: mostafaei/SDNS
 def __init__(self, pkt, dp_to_customer, in_port, data, datapath,
              controller, federazione, public_to_private_a,
              public_to_private_b):
     PacketHandler.__init__(self, pkt)
     self._pkt = pkt
     self._dp_to_customer = dp_to_customer
     self._federazione = federazione
     self._controller = controller
     self._in_port = in_port
     self._datapath = datapath
     self._data = data
     self._public_to_private_a = public_to_private_a
     self._public_to_private_b = public_to_private_b
     self._public_address_src = None
     self._public_address_dst = None
コード例 #4
0
 def __init__(self, pkt, datapath, in_port, controller):
     PacketHandler.__init__(self, pkt)
     self._pkt = pkt
     self._datapath = datapath
     self._in_port = in_port
     self._controller = controller