On Sat, 01 Sep 2018 10:03:15 +0900,
liuwei huo wrote:
> 
> [1  <multipart/alternative (7bit)>]
> [1.1  <text/plain; UTF-8 (7bit)>]
> Hi everybody,
>      I'm a new one about the Ryu controller and would like to clarify a
> basic issuse. I'm working with the mininet 2.2 and Ryu 4.24 with the
> openflow 1.3.
>      I have installed flow entries in switches successfuly, but now I want
> to delete the flow entries whose action is  out_port=port_no in one
> datapath, when a link is down in the mininet topology. Unfortunely,
> anything happens. Could you give me some suggestions about how to delete
> the specific flow entries in Ryu with the OFPFC_DELETE? Thanks a lot!

1. There is two types of delete commands. OFPFC_DELETE and
   OFPFC_DELETE_STRICT.
2. The OpenFlow message you use is OFPFlowMod, which you used to
   install flows. Look at the OpenFlow spec for how to construct those
   messages. I think you can use the out_port field in this case.
3. Grep for OFPFC_DELETE under ryu/app. You'll see some examples.

--
IWAMOTO Toshihiro

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to