Ask Your Question
0

Adding flows in batches

asked 2015-07-30 10:49:31 -0700

dipayan102 gravatar image

Hi,

So, I created this app in ODL-Hydrogen to install flows in Openflow switches. As per the specs of my app, it is installing about 1130 rules in 20 switches in 20-node complete topology. As is evident, this takes around 8 seconds with a single threaded version of my app and 6 seconds with a multithreaded version. I was hoping to bring down the time further to around 2-3 seconds. Is there any other neat trick that I can use to install flows quickly?

Currently, I am using sal.flowprogrammer function addflow(node,flow) to install flows. Is there some way to install a group of flows in some sort of batching mode?

Please note that I already used addFlowAsync() and it doesn't help.

Thanks in advance for your time.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-08-05 13:16:08 -0700

Hi,

I do not think it is a good idea to use the sal service to add flows as ADSAL has been deprecated in Lithium and will be removed from Beryllium.

As for the threaded stuff, I am not sure how it is going to scale with MDSAL. You might be able to do it very fast by adding flows programmatically. I'm interested to see if anyone has something to add to this question.

Cheers

edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

Asked: 2015-07-30 10:49:31 -0700

Seen: 247 times

Last updated: Aug 05 '15