On Wed, 25 Jun 2014 14:59:45 +0800
Jason Huang <royalk...@gmail.com> wrote:
> Hi All,
> 
> There are two flows in our flow table of an OF switch:
> 
> flow #1 : match{ in_port: 2} action{[output:3]}
> flow #2 : match{ in_port: 2, src_mac:11:22:33:44:55:66} action{[output:4]}
> 
> when I use REST API of Ryu 3.9 to delete flow #1 by using following rest api 
> of ofctl_rest.py:
> 
> http://{controller-ip:port}/stats/flowentry/delete (POST Method)
> {
> "dpid": {switch-dpid},
> "match": {
> "in_port": "2"
> }
> }
> 
> BUT the flow#2 is deleted concurrently.
> 
> How can I delete the flow #1 and retain the flow #2 in the flow table.

ofctl_rest.py does not support that operation.
I will make a patch. Please wait for a while.

> 
> Highly appreciate your helps.
> 
> Sincerely,
> KCH
> 
> 
> 
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> 
> 
> 
> _______________________________________________
> Ryu-devel mailing list
> Ryu-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
> 


 

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to