Hi,

On 2015年08月12日 07:01, Kelvin Yau wrote:
> 
> Hi,
> 
> i'm currently looking ryu through examples from the SimpleSwitch13.py & 
> SimpleSwitchRest13.py. I've gone through the code and understand what is it 
> trying to achieve.
> 
> My question is how would i filter certain mac address to update as in from 
> the "PUT" method i can control a list of MAC address which is reserved or 
> block and can't be updated.
> 
> 1. Could i do a filtering process in the @route(’simpleswitch’, url, 
> methods=[’PUT’], requirements={’dpid’: dpid_lib.DPID_PATTERN})?

The purpose of your App seems to be similar to the firewall App.
This page may be helpful for you.
 http://osrg.github.io/ryu-book/en/html/rest_firewall.html

Thanks,
Iwase

> 
> thanks and regards,
> Kelvin
> 
> 
> 
> ------------------------------------------------------------------------------
> 
> 
> 
> _______________________________________________
> Ryu-devel mailing list
> Ryu-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
> 

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

Reply via email to