Re: [nox-dev] Matching flows on port numbers

2011-09-29 Thread Shrutarshi Basu
Hi, I was using the rules on packets that were being generated by the UNIX ping application. The port data gets translated into ICMP codes as per the spec. It works as expected with TCP data. I think a closer look at the spec is in order. Thanks, Basu On Wed, Sep 28, 2011 at 9:57 PM, Murphy

[nox-dev] Matching flows on port numbers

2011-09-28 Thread Shrutarshi Basu
Hi, I'm trying to install a flow that matches on IP as well as port numbers. I'm using the flow provided by calling extract_flow() on a packet as the argument to install_datapath_flow() but if I use 'dpctl dump-flows' on a switch the flow displayed does not have entries for tp_dst or tp_src. Is

Re: [nox-dev] Matching flows on port numbers

2011-09-28 Thread Murphy McCauley
I'd suggest that the first thing you do is examine the traffic from the controller to the switch. Wireshark with the OpenFlow dissector is the easiest way to do this. Take a look at the flow_mod on the wire and see if it looks like you think it should (whether tp_src and tp_dst are set right,