#NEWLINE# def dp_packet_out( dp , port_no , data ) : #NEWLINE# #INDENT# ofproto = dp . ofproto #NEWLINE# ofproto_parser = dp . ofproto_parser #NEWLINE# actions = [ ofproto_parser . OFPActionOutput ( port_no , ofproto . OFPCML_NO_BUFFER ) ] #NEWLINE# packet_out = ofproto_parser . OFPPacketOut ( dp , 4294967295 , ofproto . OFPP_CONTROLLER , actions , data ) #NEWLINE# dp . send_msg ( packet_out )