I have installed Ryu(3.11) and Open vSwitch(2.3.90, also 2.1.2).
Running with ryu-manager ryu.app.rest_qos, and get OVS bridge
protocols=OpenFlow13.

I use the following REST API to get dpid:
*curl -X GET http://localhost:8080/qos/queue/all
<http://localhost:8080/qos/queue/all>*
the result is:
*[{"switch_id": "00000800270a6a5c", "command_result": {"result": "failure",
"details": "Queue is not exists."}}]*

And then I sent REST API as following:
*curl -X POST -d '{"type":"linux-htb","queues":[{"max_rate":10000}]}'
http://localhost:8080/qos/queue/
<http://localhost:8080/qos/queue/>00000800270a6a5c*
the return msg is:
*[{"switch_id":"00000800270a6a5c", "command_result": {"result":"failure",
"details":"ovs_bridge is not exists"}}]*

I can add qos in OVS node directly, but I cannot create from Ryu to OVS, I
don't know what happened.
Would you please tell me how to figure it out? Thanks.
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to