[ovs-discuss] mod_nw_tos: not a valid TOS

NGUYEN Xuan Nam xuan-nam.nguyen at inria.fr
Fri Mar 15 09:22:59 UTC 2013


Hello,
  I am using OpenVSwitch 1.9 and I use ovs-ofctl to insert my flow 
entries to OpenFlow table

*root at namnx-HP-Z400-Workstation:/home/namnx# ovs-ofctl add-flow 
system at s1 
priority=65535,idle_timeout=50000,dl_type=0x0800,nw_proto=17,in_port=1,actions=output:2 
**
**root at namnx-HP-Z400-Workstation:/home/namnx# ovs-ofctl dump-flows 
system at s1**
**NXST_FLOW reply (xid=0x4):**
** cookie=0x0, duration=153.206s, table=0, n_packets=28, n_bytes=13565, 
idle_timeout=50000, idle_age=7, priority=65535,udp,in_port=1 
actions=output:2*

However I cannot insert a flow entry with mod_nw_tos:
*
**root at namnx-HP-Z400-Workstation:/home/namnx# ovs-ofctl add-flow 
system at s1 
priority=65535,idle_timeout=50000,dl_type=0x0800,nw_proto=17,in_port=1,actions=mod_nw_tos:10,output:2**
**ovs-ofctl: 10: not a valid TOS**
**root at namnx-HP-Z400-Workstation:/home/namnx# ovs-ofctl add-flow 
system at s1 
priority=65535,idle_timeout=50000,dl_type=0x0800,nw_proto=17,in_port=1,actions=mod_nw_tos:2,output:2**
**ovs-ofctl: 2: not a valid TOS**
**root at namnx-HP-Z400-Workstation:/home/namnx# ovs-ofctl add-flow 
system at s1 
priority=65535,idle_timeout=50000,dl_type=0x0800,nw_proto=17,in_port=1,actions=mod_nw_tos:3,output:2**
**ovs-ofctl: 3: not a valid TOS*


In doc file, I see that ToS are between 0 and 255,.
What did I forget ?

Thanks.

Nam


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130315/331f0b45/attachment.html>


More information about the discuss mailing list