Hi Juan,
According to REST API reference of rest_firewall.py, you can set IP network
address with mask.
http://osrg.github.io/ryu-book/en/html/rest_firewall.html#id10
e.g.) "DENY" action matching IP destination to "192.168.1.0/24".
curl -X POST -d '{"nw_dst": "192.168.1.0/24", "actions": "DENY"}'
http://localhost:8080/firewall/rules/0000000000000001
Thanks,
Iwase
On 2017年02月12日 01:27, Juan Francisco Guano wrote:
> Hi everybody,
>
> I wanna know if the ryu app REST FIREWALL can set an IP address of all
> network in order to set
> the rules to allow or deny traffic, for example the IP network address:
> 192.168.1.0/24 <http://192.168.1.0/24>.
>
> Any suggestion?
>
> Regards
>
> Juan
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>
>
>
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel