示例#1
0
 def __init__(self, flowid, message_type, **kargs):
     Flowlet.__init__(self, flowid)
     # Creating class object of the message_type
     self.message = ofp_pox_messages(message_type, **kargs) # e.g., ofp_packet_out, ofp_flow_mod, 
     self.message_type = message_type
     self.data = None
     self.context = (None,None,None)
示例#2
0
 def __init__(self, flowid, message_type, **kargs):
     Flowlet.__init__(self, flowid)
     # Creating class object of the message_type
     self.message = ofp_pox_messages(
         message_type, **kargs)  # e.g., ofp_packet_out, ofp_flow_mod,
     self.message_type = message_type
     self.data = None
     self.context = (None, None, None)
示例#3
0
 def __init__(self, ident, ofmsg):
     Flowlet.__init__(self, ident)
     self.ofmsg = ofmsg
     self.bytes = len(ofmsg)
示例#4
0
 def __init__(self, ident):
     Flowlet.__init__(self, ident)
     self.origpkt = None
示例#5
0
文件: pox_bridge.py 项目: qyang18/fs
 def __init__(self, ident, ofmsg):
     Flowlet.__init__(self, ident)
     self.ofmsg = ofmsg
     self.bytes = len(ofmsg)
示例#6
0
文件: pox_bridge.py 项目: qyang18/fs
 def __init__(self, ident):
     Flowlet.__init__(self, ident)
     self.origpkt = None