Hi,
On 2015年03月03日 00:05, Lia Lia wrote:
> I´m working in my I´m cheking "RYU SDN Framework, Release 1.0"After
>
> I need your help. I´m trying to use the firewall described in ¨RYU SDN
> Framework¨ chapter 9,these are what I did:
>
> 1.OK /Builded an enviroment in a virtual machine with Mininet 2.1.0 in
> Ubuntu 14.04 server, the remote control is in another virtual machine
> with RYU.
>
> mininet@mininet-vm:~$ sudo mn --topo single,3 --mac --switch ovsk
> --controller remote,ip=192.168.96.2 -x
>
>
> 2.OK /After starting the firewall I changed the initial state.
>
> 3.It wasn´t OK /
> New rule
> root@ryu-vm:~# 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
Please correct from double-byte characters to single-byte characters.
(’is double-byte character.)
[NG]
# 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
[OK]
# 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
>
> When I´m trying to add a new rule, I got this message:
>
> .....Failed to connect to 10.0.0.1 port 80: Network is unreachable
> Could not resolve host: nw_dst
> .....Failed to connect to 10.0.0.2 port 80: Network is unreachable
> Could not resolve host: nw_proto
> ............................................................................Value
> error: No JSON object could be decoded.
>
>
>
> Please, chek this, maybe i have to change any configuration.
> Thaks so much...
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel