Good Morning,
I am currently using a MININET simple python script that creates a custom
topology and I use RYU with ryu.app.rest_conf_switch, ryu.app.ofctl_rest and
ryu.app.rest_qos to make some simulations.
Before I send any flow rules or set up any queues through the rest apps I open
an xterm for switch 1, and try to add a qdisc manually with,
tc qdisc add dev s1-eth1 handle 1 root drr
-> Console Repsonse: RTNETLINK answers: File exists
and when I add classes (or queues) with this command:
tc class add dev s1-eth1 parent 1: classid 1:1 drr quantum 1000
-> Console Response: RTNETLINK answers: No such file or directory
I am a complete beginner for app programming so I couldn't understand why this
is happening!
Any thoughts?
More IMPORTANTLY
Anyone know if I can (and HOW) set up queues/qos manually with linux tc (here
tc-drr) so they would still be visible in the list resulting the command "sh
ovs-vsctl list QOS" on mininet.. I am asking this because I still would like to
use ofctl_rest to send packets to queues on ports. With a command like,
curl -H "Content-Type: application/json" -X POST -d '{"dpid": 1, "cookie": 42,
"priority": 44993, "match":
{"nw_src":"10.0.0.150","nw_dst":"10.0.0.110","dl_type": 2048}, "actions":
[{"type":"OUTPUT", "port": 1}, {"type":"SET_QUEUE", "queue_id": 1}]}'
http://localhost:8080/stats/flowentry/add
With queue_id being the queue_id in the ovs-vsctl QOS list!
Thank you in advance,
Sherif
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel