On Tue, 14 Jan 2014 17:26:46 +0900
Yuichi Ito <[email protected]> wrote:

> this patch gets rest_firewall to support IPv6 match conditions.
> 
> 'ipv6_src' and 'ipv6_dst' are allowed as key.
> 'ICMPv6' is allowed as the value of 'nw_proto'.
> 
> e.g.)
> 
>   curl -X POST -d '{"ipv6_src": "10::/64"}' 
> http://localhost:8080/firewall/rules/0000000000000001
> 
>   curl http://localhost:8080/firewall/rules/0000000000000001
> 
>   [
>     {
>       "access_control_list": [
>         {
>           "rules": [
>             {
>               "priority": 1,
>               "dl_type": "IPv6",
>               "ipv6_src": "10::/64",
>               "rule_id": 1,
>               "actions": "ALLOW"
>             }
>           ]
>         }
>       ],
>       "switch_id": "0000000000000001"
>     }
>   ]
> 
> Signed-off-by: Yuichi Ito <[email protected]>
> ---
>  ryu/app/rest_firewall.py |  141 
> ++++++++++++++++++++++++++++++++++++++--------
>  1 file changed, 119 insertions(+), 22 deletions(-)

Applied, thanks.

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to