On Thu, Jun 26, 2014 at 8:45 PM, Jarno Rajahalme <jrajaha...@nicira.com> wrote:
>
> On Jun 26, 2014, at 5:32 AM, Nirmalanand Jebakumar <nirmalana...@gmail.com> 
> wrote:
>
>> Hello,
>>
>> I'm running  OVS version 2.1.2 on RHEL 6.5.
>> When I try to add a flow with the goto_table keyword, it fails with the
>> below message:
>> # ovs-ofctl add-flow br0 "table=0,dl_dst=aa:bb:cc:dd:ee:ff,
>> actions=goto_table:1"
>> ovs-ofctl: none of the usable flow formats (OXM,OpenFlow11) is among the
>> allowed flow formats (OpenFlow10,NXM)
>> #
>
> You need to supply the desired protocol version with -O option, like this:
>
> ovs-ofctl -O OpenFlow13 add-flow br0 
> "table=0,dl_dst=aa:bb:cc:dd:ee:ff,actions=goto_table:1”
>
> (ovs-ofctl man page documents this correctly, while `ovs-ofctl —help` seems 
> misleading).
>
>>
>> I have configured OVS for OpenFlow 1.3
>
> You mean something like this:
>
> ovs-vsctl set bridge br0 protocols=OpenFlow10,OpenFlow11,OpenFlow12,OpenFlow13
>
> Regards,
>
>   Jarno
>
>

Thanks for the response Jarno. I do not see the error message I was
facing earlier with your steps.

But goto_table:1 instruction gets treated like a NOOP.
# ovs-vsctl set bridge br0 protocols=OpenFlow10,OpenFlow11,OpenFlow12,OpenFlow13
# ovs-ofctl -O OpenFlow13 add-flow br0
"table=0,dl_dst=aa:bb:cc:dd:ee:ff,actions=goto_table:1"
# ovs-ofctl dump-flows br0
NXST_FLOW reply (xid=0x4):
 cookie=0x0, duration=3.922s, table=0, n_packets=0, n_bytes=0,
idle_age=3, dl_dst=aa:bb:cc:dd:ee:ff actions=drop
#

In other words, rather than goto_table:1 in the dump_flow output, I
see only Drop.
Feel free to correct in case I'm missing something.

Regards,
Nirmal
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to