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


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

Reply via email to