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)
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)
def __init__(self, ident, ofmsg): Flowlet.__init__(self, ident) self.ofmsg = ofmsg self.bytes = len(ofmsg)
def __init__(self, ident): Flowlet.__init__(self, ident) self.origpkt = None