[ovs-discuss] Flow format not supported for OF1.3 (ovs2.1)
Ben Pfaff
blp at nicira.com
Fri Feb 6 22:05:26 UTC 2015
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.)
More information about the discuss
mailing list