Please don't drop the list.

You can avoid the bug by specifying an out_group of OFPP_ANY in your
flow_mod.

On Fri, Dec 06, 2013 at 06:59:49PM +0800, chen zhang wrote:
> thx for your kind reply.so how should i change to make it what i want?
> 
> 
> 2013/12/6 Ben Pfaff <b...@nicira.com>
> 
> > Please don't drop the list.
> >
> > Your flow_mod specifies an out_group other than OFPG_ANY with a command
> > other than OFPFC_DELETE or OFPFC_DELETE_STRICT.  OVS responded with an
> > error.
> >
> > However, I see that the OpenFlow spec says to just ignore out_group in
> > this case.  I'll send out a patch in a minute.
> >
> > On Fri, Dec 06, 2013 at 10:51:03AM +0800, chen zhang wrote:
> > > [image: ???????? 1]
> > > this is the hex dump data of flow_mod(xid:7853fd55) from tcpdump,my
> > > controller is 10.108.145.231,mininet is 10.108.147.28,i use OpenFlow13.
> > >
> > > when this is the error ovs tells
> > > [image: ???????? 2]
> > >
> > >
> > > 2013/12/6 Ben Pfaff <b...@nicira.com>
> > >
> > > > On Thu, Dec 05, 2013 at 07:31:44PM +0800, chen zhang wrote:
> > > > > hello,dear all!
> > > > > look about the flow_table using ovs-ofctl dump-flows s1 -O
> > OpenFlow13:
> > > > >
> > > > >         cookie=0x0, duration=423.001s, table=0, n_packets=9,
> > n_bytes=546,
> > > > >
> > > > > priority=1,in_port=2,dl_dst=00:00:00:00:00:10 actions=output:3
> > > > >
> > > > > i want to delete the flow above using flow_mod,and i definite a
> > method
> > > > like
> > > > > this:
> > > > >
> > > > > def remove_flow(self, datapath, match):
> > > > >         ofproto = datapath.ofproto
> > > > >         parser = datapath.ofproto_parser
> > > > >
> > > > >         mod = parser.OFPFlowMod(datapath=datapath,
> > > > > command=ofproto.OFPFC_DELETE,
> > > > >                match=match)
> > > > >         datapath.send_msg(mod)
> > > > >
> > > > > and i pack the pkts using the method:
> > > > >         match = parser.OFPMatch(eth_dst='00:00:00:00:00:10)
> > > > >         self.remove_flow(datapath, match)
> > > > >
> > > > > but i fail to delete relevant flows,using ovs-ofctl snoop s1,ovs
> > warns
> > > > that:
> > > > >       OFPT_FLOW_MOD (OF1.3) (xid=0xfda9a814): ***decode error:
> > > > > OFPFMFC_UNKNOWN***
> > > > >       OFPT_ERROR (OF1.3) (xid=0xfda9a814): OFPFMFC_UNKNOWN
> > > > >
> > > > > what causes the error?
> > > >
> > > > The flow_mod you're sending message is so badly encoded that OVS can't
> > > > even report what it means.  Can you provide a hex dump?
> > > >
> >
> >
> >
> >
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to