Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 3
0
 def __init__(self, ident, ofmsg):
     Flowlet.__init__(self, ident)
     self.ofmsg = ofmsg
     self.bytes = len(ofmsg)
Exemplo n.º 4
0
 def __init__(self, ident):
     Flowlet.__init__(self, ident)
     self.origpkt = None
Exemplo n.º 5
0
 def __init__(self, ident, ofmsg):
     Flowlet.__init__(self, ident)
     self.ofmsg = ofmsg
     self.bytes = len(ofmsg)
Exemplo n.º 6
0
 def __init__(self, ident):
     Flowlet.__init__(self, ident)
     self.origpkt = None