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 McCauley <jam...@nau.edu> wrote: > 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, > etc.). > > -- Murphy > > On Sep 28, 2011, at 8:13 AM, Shrutarshi Basu wrote: > > 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 > there something else I need to be doing in order to get matching on port > numbers? > Thanks > Basu > > -- > Shrutarshi Basu > Basus.me > The ByteBaker <http://bytebaker.com/> -- because Computer Science is not > about computers > > _______________________________________________ > nox-dev mailing list > nox-dev@noxrepo.org > http://noxrepo.org/mailman/listinfo/nox-dev > > > -- -- Shrutarshi Basu Basus.me The ByteBaker <http://bytebaker.com> -- because Computer Science is not about computers
_______________________________________________ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev