How do I send of-Pkt-out message from controller?

asked 2015-05-21 06:18:05 -0700

kjain gravatar image

How can I send a packet-out message with the port field defined as controller_port? I am receiving packets in receiveDataPackets() and then I build a response with a test message. I see the packet with my test message in wireshark. however, the OUTPUT ACTIONS are already there. How can I change the port of the OUTPUT ACTION.

Seems that the controller sends the OUTPUT PACKET automatically in response to the PACKET IN message. Or controller takes the port value from the setOutGoingConnector() routine?

I would appreciate your help



edit retag flag offensive close merge delete