[ovs-discuss] Flow entry not deleted on the basis of out_port when specified in write_actions

neeraj mehta mehtaneeraj07 at gmail.com
Thu Sep 17 16:41:22 UTC 2015


sorry,I forgot to mention that I am using OVS-2.3.2.

Regards
Neeraj

On Thu, Sep 17, 2015 at 10:08 PM, neeraj mehta <mehtaneeraj07 at gmail.com>
wrote:

> Hi Team,
>
> I want to delete the flow entries from the flow table on the basis of
> out_port.
> But I am not able to delete them when output port is specified in write
> actions
>
> I am using then RYU controller. Below is the procedure for your reference.
>
> ovs-ofctl -O Openflow13 add-flow br0 'table=2 action=output:2'(Only one
> entry is added in table)
>
> curl -X POST -d '{
>      "out_port":2
> }' http://localhost:8080/stats/aggregateflow/52236564475
> {"52236564475": [{"packet_count": 0, "byte_count": 0, "flow_count": 1}]}
> (related flow count is 1 So its working fine)
>
> [Using write_actions]
>
> ovs-ofctl -O Openflow13 add-flow br0 'table=2
> action=write_actions:output:2'(Only one entry is added in table)
>
> curl -X POST -d '{
>      "out_port":2
> }' http://localhost:8080/stats/aggregateflow/52236564475
> {"52236564475": [{"packet_count": 0, "byte_count": 0, "flow_count": 0}]}
> (Flow_count is 0 in this case)
>
> Is this the right behavior?
>
> Regards
> Neeraj
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150917/d41bd1da/attachment-0002.html>


More information about the discuss mailing list