On Mon, Jul 12, 2021 at 03:13:13PM +0800, LIU Yulong wrote: > Recently, I tested OpenStack Neutron with DSCP marking functions. But, I > met some errors related to the action "mod_nw_tos:<tos>", the command line > input is: > > """ > ovs-ofctl add-flow -O OpenFlow13 br-int > "hard_timeout=0,idle_timeout=0,priority=65535,cookie=17142212024999476593,in_port=2,table=0,reg2=0,actions=mod_nw_tos:64,load:55->NXM_NX_REG2[0..5],resubmit(,0)" > """ > > The error output is: > """ > ovs-ofctl: none of the usable flow formats (NXM+table_id) is among the > allowed flow formats (OXM-OpenFlow13) > """ > Action "mod_nw_tos:<tos>" is causing the error here. > > So, I would ask which action for OPENFLOW13 is to do same work of > "mod_nw_tos:<tos>" for OPENFLOW10? These is no doc mentioned such action > for OPENFLOW13.
OpenFlow 1.3 replaced all of the individual actions for setting fields with the more general "set_field" action. You should be able to use that. You will need to shift the TOS values two bits right to match the OF1.3 format, I believe. _______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
