Re: [nox-dev] Matching on NW_TOS doesn't seem to work?

2010-11-21 Thread Aaron Rosen
Hmm, It seems like if I'm having trouble getting this to match as well? flow[core.NW_DST] = ipstr_to_int(192.168.2.99) The flow entry still becomes cookie=0, duration_sec=15s, duration_nsec=23900s, table_id=1, priority=32768, n_packets=15, n_bytes=1470,

Re: [nox-dev] Matching on NW_TOS doesn't seem to work?

2010-11-21 Thread Murphy McCauley
Do you have the OpenFlow wireshark plugin? I'd suggest monitoring the OpenFlow traffic from the controller to the switch and seeing if the match data in the flow mod looked right. -- Murphy On Nov 21, 2010, at 11:12 AM, Aaron Rosen wrote: Hmm, It seems like if I'm having trouble

Re: [nox-dev] Matching on NW_TOS doesn't seem to work?

2010-11-21 Thread Romain Lenglet
Hi Aaron If you are using Open vSwitch, you should use ovs-ofctl instead of ovs-dpctl to lookup your flow table. Also, since nw_tos and nw_dst are valid only for IP flows, you should add: flow[core.DL_TYPE] = 0x0800 to match only IP flows. I think that if you don't do that OVS may just ignore

Re: [nox-dev] Matching on NW_TOS doesn't seem to work?

2010-11-21 Thread Aaron Rosen
Thanks Romain, That did the trick. Aaron On Sun, Nov 21, 2010 at 5:48 PM, Romain Lenglet rom...@midokura.jp wrote: Hi Aaron If you are using Open vSwitch, you should use ovs-ofctl instead of ovs-dpctl to lookup your flow table. Also, since nw_tos and nw_dst are valid only for IP flows,