On Fri, Feb 06, 2015 at 04:37:42PM -0500, Krishna Pratap wrote: > ovs-ofctl -O OpenFlow13 add-flow br0 > in_port=9,actions=output:1,mod_nw_src:'192.1.1.1',controller:663 > > > here is the message I get when i try to do it > > ovs-ofctl: none of the usable flow formats (OpenFlow10,NXM) is among the > allowed flow formats (OXM-OpenFlow13)
In OpenFlow 1.0, mod_nw_src is allowed even on non-IP packets. In OpenFlow 1.1 and later, mod_nw_src is only allowed on IP packets, so to make this work with OF1.3, add "ip" to the match: ovs-ofctl -O OpenFlow13 add-flow br0 in_port=9,ip,actions=output:1,mod_nw_src:'192.1.1.1',controller:663 (However, "controller:663" doesn't make much sense. Please make sure that you understand what it means.) _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss