Hi, It doesn't work. When I use with OFPFC_DELETE option, it remove all flow entry. I also try remove by ovs-ofctl command on openvswitch.
# ovs-ofctl del-flows s3 "priority=50" -O OpenFlow13 ovs-ofctl: unknown keyword priority It means that openvswitch doesn't support, right? Thank you. On Tue, Aug 30, 2016 at 10:35 AM, IWAMOTO Toshihiro <[email protected]> wrote: > At Tue, 30 Aug 2016 11:49:27 +0900, > Iwase Yusuke wrote: > > > > Hi, > > > > Please CC [email protected] and keep this mailing this. > > > > How about specifying out_port=ofproto.OFPP_ANY and > out_group=ofproto.OFPG_ANY > > to OFPFlowMod message? > > e.g.) > > mod = parser.OFPFlowMod(datapath=datapath, cookie=0, > > priority=priority, > > out_port=ofproto.OFPP_ANY, > > out_group=ofproto.OFPG_ANY, > > command=ofproto.OFPFC_DELETE_STRICT) > > > > Thunks, > > Iwase > > Use OFPFC_DELETE instead of OFPFC_DELETE_STRICT? > > > > > On 2016年08月30日 09:44, Quân Nguyễn Thanh wrote: > > > Hi Iwase Yusuke, > > > > > > Sorry, if I borther you. > > > I'm using OF1.3 with RYU, I would like to remove flow entry basing on > the > > > priority at all. As below function, but it doesn't work, could you > please > > > point out my mistake? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > *def del_flow(self, datapath, priority): ofproto = > > > datapath.ofproto parser = datapath.ofproto_parser #match > = > > > {} mod = parser.OFPFlowMod( datapath=datapath, > cookie=0, > > > priority=priority, command=ofproto.OFPFC_DELETE_STRICT) > > > datapath.send_msg(mod)* > > > > > > Thank you for your help. > > > > > > > ------------------------------------------------------------ > ------------------ > > _______________________________________________ > > Ryu-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/ryu-devel > -- Best regards, Quan Nguyen
------------------------------------------------------------------------------
_______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
