[ovs-discuss] Reg:Flow deletion
Ganji Kumara-B38525
B38525 at freescale.com
Tue Jun 25 08:02:34 UTC 2013
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?
More information about the discuss
mailing list