This is what I get, I am wondring if it is ok ?

ovs-ofctl dump-flows mybridge -O OpenFlow13
OFPST_FLOW reply (OF1.3) (xid=0x2):
 cookie=0x0, duration=47.815s, table=0, n_packets=619, n_bytes=88743,
priority=1 actions=CONTROLLER:65535
 cookie=0x0, duration=46.332s, table=0, n_packets=0, n_bytes=0,
priority=1,in_port=1,vlan_tci=0x0001/0x1fff,dl_src=00:0c:29:7c:b6:8e
actions=goto_table:1
 cookie=0x0, duration=46.330s, table=0, n_packets=0, n_bytes=0,
priority=1,in_port=2,vlan_tci=0x0001/0x1fff,dl_src=10:0c:29:7c:b6:6e
actions=goto_table:1
 cookie=0x0, duration=46.330s, table=0, n_packets=0, n_bytes=0,
priority=1,in_port=3,vlan_tci=0x0001/0x1fff,dl_src=12:0c:29:7c:b6:6e
actions=goto_table:1
 cookie=0x0, duration=46.329s, table=0, n_packets=0, n_bytes=0,
priority=1,in_port=4,vlan_tci=0x0001/0x1fff,dl_src=15:0c:29:7c:b6:8e
actions=goto_table:1
 cookie=0x0, duration=46.327s, table=0, n_packets=0, n_bytes=0,
priority=1,in_port=5,vlan_tci=0x0001/0x1fff,dl_src=12:0c:29:5c:b6:6e
actions=goto_table:1
 cookie=0x0, duration=46.327s, table=0, n_packets=0, n_bytes=0,
priority=1,in_port=6,vlan_tci=0x0001/0x1fff,dl_src=12:0c:33:7c:b6:6e
actions=goto_table:1
 cookie=0x0, duration=46.331s, table=1, n_packets=0, n_bytes=0,
priority=1,in_port=1,vlan_tci=0x0001/0x1fff,dl_src=00:0c:29:7c:b6:8e
*actions=write_metadata*:0x1/0xffffffff,goto_table:2
 cookie=0x0, duration=46.330s, table=1, n_packets=0, n_bytes=0,
priority=1,in_port=2,vlan_tci=0x0001/0x1fff,dl_src=10:0c:29:7c:b6:6e
*actions=write_metadata*:0x3/0xffffffff,goto_table:3


2016-03-01 8:22 GMT-08:00 Ben Pfaff <b...@ovn.org>:

> The error you saw still indicates a bug.  What actions were there?
>
> On Tue, Mar 01, 2016 at 06:22:29AM -0800, David Gabriel wrote:
> > 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 <davidgab...@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****
> > >
> > >
>
> > _______________________________________________
> > discuss mailing list
> > discuss@openvswitch.org
> > http://openvswitch.org/mailman/listinfo/discuss
>
>
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to