[pox-dev] help: PacketIn and ConnectionUp event
Murphy McCauley
murphy.mccauley at gmail.com
Sat Apr 26 17:46:36 PDT 2014
I've modified the wiki to try to clarify this.
The PacketIn event is raised in response to an ofp_packet_in message from the switch. The meaning of this is defined in the OpenFlow specification, but basically it's what happens when a packet arriving at a switch port does not match any table entry, or when the matching table entry includes an action to explicitly send the packet to the controller.
The ConnectionUp event is not raised in response to any specific OpenFlow message from a switch -- it's raised when a switch connects to the controller. Meaning, for example, that you won't be getting *any* other events from a particular switch until you've gotten a ConnectionUp from it.
-- Murphy
On Apr 26, 2014, at 3:09 PM, k102090 Sarim Javaid Khan <k102090 at nu.edu.pk> wrote:
> Hello all,
> Hope you are doing fine.
>
> I am new to SDNs and POX development.
> I have been surfing out the pox wiki and tried to understand the basics of pox but I could not understand the difference between the "ConnectionUp" and "PacketIn" events in the poxAPI.
> I searched all over the internet but no answer I got.
>
> Please help me out with a basic definition and an illustration if you feel easy.
>
> Regards,
> Sarim Javaid Khan
More information about the pox-dev
mailing list