On Mon, 05 Nov 2018 04:39:18 +0900,
Munim Shabir wrote:
> Hi all,
> 
> I am trying to add a flow entry to drop all packets sourced from specific 
> mac. any leads on that?

A flow entry with an empty action causes packets to be dropped.
Something like this should work. Just make sure to put it in a correct
table with high priority.

ofpp.OFPFlowMod(dp, ..., match=ofpp.OFPMatch(eth_src="..."), ...,
                instructions=[])

--
IWAMOTO Toshihiro


_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to