Hi,
On 2016年02月08日 20:55, David Gabriel wrote: > Thanks Iwase > I am thinking to get this entry with its information (the actions) then I > delete it and add new one. > So I am wondering how to get an entry basing a match using the destination > address. > Then I want to know if it is possible to get the corresponding actions, so I > can create new entry by enhancing the action by adding new port ? > Please tell me how to get the entry basing the destination address filter and > how to get the corresponding action ? For retrieving the corresponding flow entries, you can use OFPFlowStatsRequest and OFPFlowStatsReply message. The usage and data structures are described here. http://ryu.readthedocs.org/en/latest/ofproto_v1_3_ref.html#ryu.ofproto.ofproto_v1_3_parser.OFPFlowStatsRequest http://ryu.readthedocs.org/en/latest/ofproto_v1_3_ref.html#ryu.ofproto.ofproto_v1_3_parser.OFPFlowStatsReply Thanks, Iwase > > Thanks in advance. > Regards > > 2016-02-08 2:30 GMT+01:00 Yusuke Iwase <[email protected] > <mailto:[email protected]>>: > > Hi, > > > On 2016年02月06日 01:58, David Gabriel wrote: > > Dears > > > > Is it possible to update/modify one entry by adding new action ? > > Please tell me the how to ? > > AFAIK, it is NOT possible. > > OpenFlow Spec 1.3.5 says: > --- > 6.4 Flow Table Modification Messages > ... > For modify requests (OFPFC_MODIFY or OFPFC_MODIFY_STRICT), if a > matching entry exists in the table, > the instructions field of this entry is replaced with the value from > the request, whereas its > cookie, idle_timeout, hard_timeout, flags, counters and duration fields > are left unchanged. > ... > --- > > So, FlowMod messages will replace the entire actions(instructions) in the > matching entry with the > value from the request. > > If you want to "append" new actions into the existing entry, just an idea, > How about getting the existing entry by FlowStats messages first, then > creating FlowMod messages > using the actions from FlowStats reply body. > > Thanks, > Iwase > > > > > Thanks in advance. > > Regards > > > > > > > ------------------------------------------------------------------------------ > > Site24x7 APM Insight: Get Deep Visibility into Application Performance > > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > > Monitor end-to-end web transactions and take corrective actions now > > Troubleshoot faster and improve end-user experience. Signup Now! > > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > > > > > > > > _______________________________________________ > > Ryu-devel mailing list > > [email protected] <mailto:[email protected]> > > https://lists.sourceforge.net/lists/listinfo/ryu-devel > > > > > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > > > > _______________________________________________ > Ryu-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ryu-devel > ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
