faucetsdn / ryu

Ryu component-based software defined networking framework
https://ryu-sdn.org
Apache License 2.0
1.51k stars 1.16k forks source link

ovs-ofctl queue-stats not show queues after adding link bandwidth on mininet #147

Open joe820912boy opened 3 years ago

joe820912boy commented 3 years ago

The problem is that after adding the link bandwidth on mininet, like that, net.addLink(s1,s2,1,1,cls=TCLink,bw=1000) that I tried to check queue-stats but there was not queue on switch port, but ovs-vsctl list qos and ovs-vsctl list queue these two commands still worked

If I delete the bandwidth on mininet, like that, net.addLink(s1,s2,1,1) that ovs-ofctl queue-stats is working again

I tried google this problem on mininet-discuss but seem to be no answer on it, was there someone facing this problem before?

joe820912boy commented 3 years ago

https://mailman.stanford.edu/pipermail/mininet-discuss/2016-May/006868.html

I found that this problem post about adding delay on link configuration, but it seemed that this problem also on link bandwidth setup

joe820912boy commented 3 years ago

https://github.com/mininet/mininet/pull/132

I found this pull

I followed this instruction, adding the code on node.py in mininet, and re-installed again, but the problem still occurred.

Did someone use this instruction and solve the problem before? plz let me know, ths

tongyao111111 commented 1 month ago

Hi, I'm also facing such a problem. Can you tell me how to solve it? Thank you!