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

*root@namnx-HP-Z400-Workstation:/home/namnx# ovs-ofctl add-flow system@s1 priority=65535,idle_timeout=50000,dl_type=0x0800,nw_proto=17,in_port=1,actions=output:2 ** **root@namnx-HP-Z400-Workstation:/home/namnx# ovs-ofctl dump-flows system@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@namnx-HP-Z400-Workstation:/home/namnx# ovs-ofctl add-flow system@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@namnx-HP-Z400-Workstation:/home/namnx# ovs-ofctl add-flow system@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@namnx-HP-Z400-Workstation:/home/namnx# ovs-ofctl add-flow system@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


_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to