Hi, Thanks for your reply, and the informations from RyuBook, it has helped me a lot. And it works, thank you.
Kiyonari Harigae <[email protected]> 於 2014/7/17 下午7:55 寫道: > Hi, > > You must register the ovsdb_addr. > Please start a rest_conf_switch and rest_qos as follows. > > # ryu-manager ryu.app.rest_qos > > And register the ovsdb_addr. > Specify the value that you set in the set-manager command address and port > number that you specify. > > curl -X PUT -d '"tcp:127.0.0.1:6632"' > http://localhost:8080/v1.0/conf/switches/00000800270a6a5c/ovsdb_addr > > Specify the values that you set in the set-manager command address and port > number that you specify. > > In addition, please refer to the RyuBook for operation example. > http://osrg.github.io/ryu-book/ja/html/rest_qos.html > (Sorry, Japanese only) > > Thank you. > > Kiyonari Harigae > >> 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 [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
