[ovs-discuss] ovs-ofctl dump-flows command error : ***parse error***

David Gabriel davidgab283 at gmail.com
Tue Mar 1 14:22:29 UTC 2016


I fixed this issue.
In fact I have to use the -O option to specify the openflow version
ovs-ofctl dump-flows mybridge

*-O OpenFlow13*
Thanks.

2016-03-01 2:15 GMT-08:00 David Gabriel <davidgab283 at gmail.com>:

> Dears
>
> I have an issue when I use ovs-ofctl dump-flows command to display flows.
> In fact I am using ryu controller to set writing metadata instruction.
> From the controller side all is fine but when I try to display the flows
> basing on the aformentionned command I get the following error but I
> disable the writing metadata instruction, the display is fine.
> Please advise how to fix this issue ?
>
> Best regards
>
> ovs-ofctl dump-flows mybridge
> 2016-03-01T10:03:56Z|00001|ofp_actions|WARN|invalid instruction ordering:
> apply_actions must appear before write_metadata, for OpenFlow 1.1+
> compatibility
> 2016-03-01T10:03:56Z|00002|ofp_util|WARN|OFPST_FLOW reply bad instructions
> NXST_FLOW reply (xid=0x4):
>  cookie=0x0, duration=36.821s, table=0, n_packets=393, n_bytes=45952,
> idle_age=0, priority=1 actions=CONTROLLER:65535
>  cookie=0x0, duration=31.338s, table=0, n_packets=0, n_bytes=0,
> idle_age=31,
> priority=1,in_port=1,vlan_tci=0x0001/0x1fff,dl_src=00:0c:29:7c:b6:8e
> actions=resubmit(,1)
>  cookie=0x0, duration=31.337s, table=0, n_packets=0, n_bytes=0,
> idle_age=31,
> priority=1,in_port=2,vlan_tci=0x0001/0x1fff,dl_src=10:0c:29:7c:b6:6e
> actions=resubmit(,1)
>  cookie=0x0, duration=31.336s, table=0, n_packets=0, n_bytes=0,
> idle_age=31,
> priority=1,in_port=3,vlan_tci=0x0001/0x1fff,dl_src=12:0c:29:7c:b6:6e
> actions=resubmit(,1)
>  cookie=0x0, duration=31.334s, table=0, n_packets=0, n_bytes=0,
> idle_age=31,
> priority=1,in_port=4,vlan_tci=0x0001/0x1fff,dl_src=15:0c:29:7c:b6:8e
> actions=resubmit(,1)
>  cookie=0x0, duration=31.331s, table=0, n_packets=0, n_bytes=0,
> idle_age=31,
> priority=1,in_port=5,vlan_tci=0x0001/0x1fff,dl_src=12:0c:29:5c:b6:6e
> actions=resubmit(,1)
>  cookie=0x0, duration=31.330s, table=0, n_packets=0, n_bytes=0,
> idle_age=31,
> priority=1,in_port=6,vlan_tci=0x0001/0x1fff,dl_src=12:0c:33:7c:b6:6e
> actions=resubmit(,1) ****parse error****
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160301/148cc8f3/attachment-0002.html>


More information about the discuss mailing list