Hello.

I've been experimenting with QOS, using he REST API, with the help of this 
tutorial: https://osrg.github.io/ryu-book/en/html/rest_qos.html
Now, I got to the point where the switch is recognized by the scripts:

$ ryu-manager ryu.app.rest_qos ryu.app.qos_simple_switch_13 
ryu.app.rest_conf_switch

loading app ryu.app.rest_qos
loading app ryu.app.qos_simple_switch_13
loading app ryu.app.rest_conf_switch
loading app ryu.controller.ofp_handler
instantiating app None of DPSet
creating context dpset
instantiating app None of ConfSwitchSet
creating context conf_switch
creating context wsgi
instantiating app ryu.app.rest_qos of RestQoSAPI
instantiating app ryu.app.qos_simple_switch_13 of SimpleSwitch13
instantiating app ryu.app.rest_conf_switch of ConfSwitchAPI
instantiating app ryu.controller.ofp_handler of OFPHandler
(784) wsgi starting up on http://0.0.0.0:8080
[QoS][INFO] dpid=00000800277958c2: Join qos switch.      # right here


However, from this point, even though I've "set-manager" manually in the switch 
(port 6632) and also created its system-id (which is the same has the datapath 
value shown on Ryu), all "curls" show the following message:

$ curl -X PUT -d '"tcp:172.16.1.100:6632"' 
http://localhost:8080/v1.0/conf/switches/8796755286210/ovsdb_addr

<html>
 <head>
  <title>404 Not Found</title>
 </head>
 <body>
  <h1>404 Not Found</h1>
  The resource could not be found.<br /><br />

 </body>

$ curl -X POST -d '{"port_name": "eth3", "type": "linux-htb", "max_rate": "10", 
"queues": [{"max_rate": "50"}, {"min_rate": "80"}]}' 
http://localhost:8080/qos/queue/8796755286210

<html>
 <head>
  <title>404 Not Found</title>
 </head>
 <body>
  <h1>404 Not Found</h1>
  The resource could not be found.<br /><br />

 </body>


Why is this happening?

Also, in the controller, this message appears everytime I execute each curl:

(784) accepted ('127.0.0.1', 55198)
127.0.0.1 - - [12/Feb/2020 22:37:14] "PUT 
/v1.0/conf/switches/8796755286210/ovsdb_addr HTTP/1.1" 404 278 0.000777

I've checked the flow entries of the switch, and no new flow entry appears... 
So why does this message says "accepted"?


Thank you for your time,
Ines
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to