Ask Your Question
0

LBaaS Code in Neutron

asked 2017-01-31 12:13:44 -0500

Mohammed Moin gravatar image

Hi.. Where we can find the round robin implementation for LBaaS in neutron

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2017-02-08 19:09:52 -0500

johnsom gravatar image

Hello, I'm not sure I fully understand your question so I will give you a couple of answers...

  1. If you are asking about to specify round robin on a load balancer it is a property of the pool called "lb_algorithm". See https://developer.openstack.org/api-r...

  2. If you are asking about the actual code implementation (which is what I think you are asking about) it is dependent on the LBaaS driver you are using. If you are using the legacy network namespace haproxy driver or the Octavia driver the actual algorithm is implemented inside the HAProxy load balancing package. The algorithm is discussed here: http://cbonte.github.io/haproxy-dconv... but the code would be here: http://git.haproxy.org/?p=haproxy-1.6...

Michael

edit flag offensive delete link more

Your Answer

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

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2017-01-31 12:13:44 -0500

Seen: 82 times

Last updated: Feb 08 '17