Hi All,
Please I need help in using firewall because the setting up is working fine 
when I use the command without “actions” and “priority”, but it’s bringing 
invalid rule parameter when I use actions and priority. Please help in looking 
at these. Thank you

root@ade-VirtualBox:~# curl -X PUT 
http://localhost:8080/firewall/module/enable/0000000000000001
[{"switch_id": "0000000000000001", "command_result": {"result": "success", 
"details": "firewall running."}}]root@ade-VirtualBox:~#
root@ade-VirtualBox:~# curl -X POST -d '{"nw_src":"10.0.0.1/32", 
"nw_dst":"10.0.0.2/32", "nw_proto":"ICMP"}' 
http://localhost:8080/firewall/rules/0000000000000001
[{"switch_id": "0000000000000001", "command_result": [{"result": "success", 
"details": "Rule added. : rule_id=1"}]}]root@ade-VirtualBox:~#
root@ade-VirtualBox:~# curl -X POST -d '{"nw_src":"10.0.0.2/32", 
"nw_dst":"10.0.0.1/32", "nw_proto":"ICMP"}' 
http://localhost:8080/firewall/rules/0000000000000001
[{"switch_id": "0000000000000001", "command_result": [{"result": "success", 
"details": "Rule added. : rule_id=2"}]}]root@ade-VirtualBox:~#
root@ade-VirtualBox:~# curl -X POST -d '{"nw_src":"10.0.0.1/32", 
"nw_dst":"10.0.0.2/32", "nw_proto":"ICMP", "actions":"DENY", "priority":"10"}' 
http://localhost:8080/firewall/rules/0000000000000001
Invalid rule parameter.root@ade-VirtualBox:~#
------------------------------------------------------------------------------
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

Reply via email to