[pox-dev] Raise event for ofp_packet_out
Murphy McCauley
murphy.mccauley at gmail.com
Fri Jul 10 20:40:46 PDT 2015
If you wanted to try to do it for arbitrary unmodified components, I don't see too much alternative to Connection.send(). Unfortunately, there's no requirement that it gets passed message objects instead of raw bytes, and if it's passed raw bytes, there's no requirement that they be complete messages, etc., so doing this very reliably will be difficult. On the other hand, catching a large percentage of cases should be pretty easy.
-- Murphy
On Jul 10, 2015, at 8:35 PM, Dylan Thomas <gth44331 at gmail.com> wrote:
> Hi all,
>
> I want to add a component which can either read or intercept ofp_packet_out messages sent by other POX components.
> Where would the most appropriate place to raise an event? Connection.send() seems like a good spot, maybe?
>
> Thanks,
> Dylan
More information about the pox-dev
mailing list