[ovs-discuss] Reg:Flow deletion

Ganji Kumara-B38525 B38525 at freescale.com
Thu Jun 27 12:10:01 UTC 2013


Oops forgot attachment. Find it now...
________________________________________
From: Ben Pfaff [blp at nicira.com]
Sent: Wednesday, June 26, 2013 5:39 AM
To: Ganji Kumara-B38525
Cc: discuss at openvswitch.org
Subject: Re: [ovs-discuss] Reg:Flow deletion

I think I'll need more information.  Perhaps you could supply the
actual messages sent in each direction?  A .pcap file, for example.
You also didn't mention what version of Open vSwitch or of OpenFlow
this is.

On Tue, Jun 25, 2013 at 08:02:34AM +0000, Ganji Kumara-B38525 wrote:
> Hi Ben,
>    Steps to reproduce:
> 1) First I have added flow with flow-mod message(add command) with following information
>  * priority:10
>  * table-id:2
>  * Match Fields:
>    Type:ethtype value:0x0800
>    Type:dest-ipaddr value:2.2.2.0/24
>  * Intructions:
>    Type:goto-table  value: 03
>    Type:write-meta-data value: 0x02020306
>
> Result:   Flow got added successfully.
>
> 2) Now delete the same with flow-mod delete strict message with the following information
>    * priority:10
>    * table-id:2
>    * Match Fields
>      Type:ethtype value:0x0800
>      Type:dest-ipaddr value:2.2.2.0/24
>    * out-port:OFPP_ZONE
>
> Result: getting flow-mod error with unknown error code.
>
> Note:I am not using ovs-ofctl to add and delete the flow. I have used our own CLI for this.
>      I have verified in wireshark, flow-mod modify message going fine with all given match fields,
>      priority and table-id. I tried the same with Nox switch then it flow got deleted.
>
>
> Thanks & Regards
> Kumarsg
>
> -----Original Message-----
> From: Ben Pfaff [mailto:blp at nicira.com]
> Sent: Friday, June 21, 2013 9:00 PM
> To: Ganji Kumara-B38525
> Cc: discuss at openvswitch.org
> Subject: Re: [ovs-discuss] Reg:Flow deletion
>
> On Fri, Jun 21, 2013 at 11:39:01AM +0000, Ganji Kumara-B38525 wrote:
> >      I have added flow to table 2 in the ovswitch with flow-mod
> > message. When I am trying to delete the same entry With flow-mod message with strict delete command I am getting flow-mod error as follows in wireshark:
> >
> > type:Problem modifying flow entry - OFPET_FLOW_MOD_FAILED (5)
> > Code:Unspecified error - OFPFMFC_UNKNOWN(0x0000)
> >
> > In delete flow-mod message I am sending priority and all match fields of that flow and out-port as OFPP_NONE.
>
> It sounds like a bug.  Can you give instructions for reproducing the problem?
>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: flow-mod.pcap
Type: application/vnd.tcpdump.pcap
Size: 2988 bytes
Desc: flow-mod.pcap
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130627/a5e1632f/attachment-0002.bin>


More information about the discuss mailing list