[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:38:21 UTC 2015


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/discuss/attachments/20150917/8b2552be/attachment.html>


More information about the discuss mailing list