Ask Your Question
0

How to map a queue on a flow configured on OpenvSwitch on OF13 ?

asked 2015-03-04 07:43:25 -0700

Nuno gravatar image

Hello.

So I'm using ODL HeliumSR2 with mininet 2.2 with openvswitch 2.0.2.

I'm able to create a qos and queues on a specific port. After that I try to map it to a flow. However before it was used the action "enqueue" that would specify a port and the queue id. However with OF13 we no longer have "enqueue", but we have a similar thing which is "set-queue". However this command only allow us to specify the queue-id. Where can we specify which port is the queue in order to it be applied ?

I've tested only with the action "set-queue:1" however the rate limiting is not applied.

Is this a bug on openvswitch or I have to add something else in order to correctly map the queue to the flow ?

Help would be much apreciated.

Regards, Nuno B.

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
1

answered 2015-03-19 18:22:24 -0700

Nuno gravatar image

Found the answer. Queue configuration is "external" like OF13 spec says, for example using OVSDB. Using the id of the generated queue you can associate it with a flow and there you go. Hope it helps others that would need it.

Regards, Nuno B.

edit flag offensive delete publish link more

Comments

Hi Nuno Could you please explain me in detail how to map a flow to the queue using set_queue command. Regards Nancy

nancyjuliet.t ( 2017-01-08 01:41:18 -0700 )edit
0

answered 2015-08-14 05:13:46 -0700

karthik330 gravatar image

Hi Nuno,Im new to ODL,In my video QOS usecase i have to control the bandwidth in network, created using Mininet. I am having both Stable-helium integration and controller version.

1.I dont know which version to use . Plz suggest me. 2.Is there any API to control Bandwidth ? 3.How to apply the Queue mechanism to set/control the Bandwidth? 3.can you please share any Document or guide me to achieve it. 4.If it is any API is available for bandwidth control, how to test the performance after changing the Bandwidth? 5.How to see the switch bandwidth details in mininet ?

I am in need of your help..

Thanks in advance .

edit flag offensive delete publish link more

Comments

1. I used a pre-built version of Helium SR2. It depends if you want to change the source code or add a module or not. I had no need for that, therefore I used the pre-built version. 2. You can control the bandwidth using meters or queues. meters only work with CPqD's ofsoftswitch13 while queues work with ovs (I think it also works with ofsoftswitch but never tried). 3. Read the OVSDB document and check the OVSDB API that ODL provides. You can create queues, assign them to flows, defining the priority, minimum and maximum rate. These are postman collections provided by them: https://www.getpostman.com/collections/9b87f95024e9c8a3a415 and https://www.getpostman.com/collections/c7b1c4fa535c08b56f23. 4. I tested with iperf, a tool that mininet already provides. 5. You can fetch interface statistics using ovsdb REST API or of REST API.

Nuno ( 2015-08-14 10:20:58 -0700 )edit

Thanks nuno..I will follow these steps, and I will let you know.. :-)

karthik330 ( 2015-08-16 21:30:39 -0700 )edit

Hi Nuno, Could you tell me how to make a connection between pre-built version lithium ODL and OVSDB in order to use the collection for Queues definitions?

aljoby ( 2016-02-24 01:40:32 -0700 )edit

Hi Nuno and Karthik330, did you manage to create queues and map them to flows using ODL and OVSDB? please could you tell me how or send me some source code,? please I am working on Video QoS usecase as well Thanks

berririasma ( 2016-06-06 06:38:17 -0700 )edit
0

answered 2015-08-17 00:04:37 -0700

balaodl gravatar image

updated 2015-08-17 01:49:53 -0700

Thanks Nuno..

and when i was exploring the above.. i got a doubt...can you please help us...

I am seeing two different REST Api URL's in ODL.

  1. http://localhost:8080/controller/ . . - This URL begins with "Controller" - i got when i was going through the ODL codes(Stable Helium).

    1. http://localhost:8080/restconf/config/. . . - this URL begins with "Restconf/config" i am seeing the ODl UI.

What are the difference between these two URL's? how it is different from each other.. or how it is designed? is there any documents to understand these..

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
2 followers

Stats

Asked: 2015-03-04 07:43:25 -0700

Seen: 1,197 times

Last updated: Aug 17 '15