Hi,
On 2015年06月16日 00:16, Andre Schütze wrote:
> Hello,
>
> I have a problem with the rest api of Ryu. What I do:
>
> - take mininet image from mininet.org
> - install Ryu (from pip and from git - it is the same problem)
> - run Ryu with: "PYTHONPATH=. ryu-manager --verbose ./app/rest.py"
You want to run ofctl_rest.py?
If so, please try the following command:
$ PYTHONPATH=. ryu-manager --verbose ./app/ofctl_rest.py
^^^^^^
Thanks,
> - start my mininet custom topology
> - run the rest request: "curl -X GET
> http://localhost:8080/stats/switches" (like mentioned in the docu)
>
>
> I get the respond:
>
> <html>
> <head>
> <title>404 Not Found</title>
> </head>
> <body>
> <h1>404 Not Found</h1>
> The resource could not be found.<br /><br />
>
>
>
> </body>
> </html>
>
> What can I do? Is it a bug? Thank you for help.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel