New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting queues on ports #120
Comments
do I simply add the lines to add the queue in i want to set 2 queues on the ports with different priorities. |
Hi, You have to make queue objects and attach them to port objects. The queue objects can be attached by using "-queue" of port objects as mentioned in the lagopus-book Then you can use the set-queue action of OpenFlow to select the queue. But actually the queue function have not been tested well and it may have bugs. Thank you! |
@hirokazutakahashi Thanks for the reply. I do everything as mentioned by you and the link you have provided. but as soon as I add the lines to create the queue object to the l Any idea why that might be happening? |
Can you check or paste the console log and syslog by using "-d" option for lagopus? |
hi @hirokazutakahashi thanks for the reply. everything works fine with mininet and onos and lagopus, unitl I configure the file to add queues.
Attached below are my With these setting in place, mininet won't start anymore and fail at starting switches
I have tried both the methods, writing directly to the dsl file as well as using the lagosh shell to configure->edit->commit->save to the same result. One thing to note though is that when I commit my conf file, it throws an error saying |
Hi @pjpradeepjha, Please try to edit the DSL file as follows.
The lagopus-l.txt seems to indicate multiple starts, another lagopus process was already running. |
oh great. thanks @hirokazutakahashi It just that the instructions on the lagopus-book says otherwise. Maybe we should update it accordingly. Also, is there any way we can check if the queues have actually been created and attached to a port. Like, is there any Lagosh CLI command that would confirm that. I created a flow on the switch and pointed it to the queue using ONOS. The pings are going through, but for some reason the iperf tcp test is unable to connect the client with the server. and iperf udp test is not sending any server statistics. FYI, I am using the lagopus version of mininet. The tests works fine with the OVS switch and rate limiting queues. |
At now, there are no commands related to queues in the lagosh.
At now, I have no idea for the iperf problem. |
thank you so much @hirokazutakahashi you have been extremely helpful throughout. I tried everything as you directed and got the following output on telnet
Looks like the queues are successfully created and bound to the ports. I'll now try to test them with iperf and let you know the results. Thanks again. |
Hi,
I am new to the whole SDN thing and I am exploring QoS with ONOS controller and Openflow 1.3 enabled switch using Queues and Meters. I have setup a simple network using 1 Lagopus switch and 2 virtual hosts.
I want to set 2 queues on each port with high and low priority. I do not know how to set queues on the Lagopus switch. I have done it previously on Open vSwitch but then found out that it does not support meters yet.
This guide gives a brief hint
http://www.lagopus.org/lagopus-book/en/html/datastore.html?highlight=queue#queue-object
do I need to add these lines to the
lagopus.dsl
file? If someone could point me to any guide or example, it would be great help. @kishiguro @falcon8823 @cl4u2 @hidetai @ynkjmThanks
Pradeep Jha
The text was updated successfully, but these errors were encountered: