On Mon, Jun 29, 2015 at 09:59:14AM +0000, Abhijit Bhadra wrote: > Hi, > I am using ovs-ofctl to test addition/modification/deletion of OF 1.3 flows. > I was using the following command to do the actions=mod_nw_tos for OF 1.0, > ovs-ofctl add-flow tcp:10.130.177.160 > dl_vlan=128,in_port=12,table=60,priority=100,actions=mod_nw_tos:4,output:24 > > Now I am using ovs-ofctl -O openflow13 add-flow tcp:10.130.177.160 > dl_vlan=128,in_port=12,table=60,priority=100,actions=mod_nw_tos:4,output:24. > But I get the following error: > "ovs-ofctl: none of the usable flow formats > (OpenFlow10+table_id,NXM+table_id) is among the allowed flow formats > (OXM-OpenFlow13)". > How do I achieve the same actions=mod_nw_tos for OF 1.3 using ovs-ofctl?
In OF1.3, the set_field action that mod_nw_tos gets translated into requires the flow to match on a field that ensures that a nw_tos field is present. That is, if you add "ip" or "ipv6" to your match, it will work. _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
