<div dir="ltr"><div>On 16 November 2015 at 09:46, Qiao,Liyong <span dir="ltr"><<a href="mailto:liyong.qiao@intel.com" target="_blank">liyong.qiao@intel.com</a>></span> wrote:<br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
hi, I have some questions about neutorn LBaas.<br>
<br>
seen from the wiki, the load balancer only support:<br>
<br>
<p style="margin:0px 0px 10px;color:rgb(51,51,51);font-family:'Arial Unicode MS',Arial,sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:20px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><b>Table 4.6. Load Balancing Algorithms</b></p>
<table border="1" cellpadding="2" cellspacing="0">
<tbody>
<tr>
<td><b>Name</b></td>
</tr>
<tr>
<td>LEAST_CONNECTIONS</td>
</tr>
<tr>
<td>ROUND_ROBIN</td>
</tr>
</tbody>
</table>
<br>
<a href="https://wiki.openstack.org/wiki/Neutron/LBaaS/API" target="_blank">https://wiki.openstack.org/wiki/Neutron/LBaaS/API</a><br>
<br>
think about if I have a A-P mode HA<br>
<br>
VIP : 192.168.0.10<br>
<br>
master-1 192.168.0.100 (A)<br>
master-2 192.168.0.101 (P)<br>
<br>
if I want to use VIP to alway connect with master-1(since it is A
mode),<br>
only switch to master-2 when master-1 down. what should I do?<br>
any plan to support more algorithms for neutron lbaas?<br>
<br>
BTW, the usage is from heat:<br>
<br>
etcd_pool:<br>
type: OS::Neutron::Pool<br>
properties:<br>
protocol: HTTP<br>
monitors: [{get_resource: etcd_monitor}]<br>
subnet: {get_resource: fixed_subnet}<br>
<b> lb_method: ROUND_ROBIN</b><br>
vip:<br>
protocol_port: 2379<br>
<br>
<br>
<br>
thanks,<br>
Eli.<span class=""><font color="#888888"><br>
<pre cols="72">--
BR, Eli(Li Yong)Qiao</pre>
</font></span></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div>Hi, <span style="font-size:12.8000001907349px">Qiao,Liyong</span><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">I can not say about LBaaS team plans for supporting some additional algorithms :)</span></div><div><span style="font-size:12.8000001907349px">AFAIK, they do not plan add it to v1 API.</span></div><div><span style="font-size:12.8000001907349px">As I understand it may be discussed as part of v2 API [1]</span></div><div><br></div><div>In the Heat we have related BP [2], with several patches on review. So if it will be implemented on Neutron side, we may add such functionality too.</div><div><br></div><div>[1] <a href="http://developer.openstack.org/api-ref-networking-v2-ext.html#lbaas-v2.0">http://developer.openstack.org/api-ref-networking-v2-ext.html#lbaas-v2.0</a><br></div><div>[2] <a href="https://blueprints.launchpad.net/heat/+spec/lbaasv2-suport">https://blueprints.launchpad.net/heat/+spec/lbaasv2-suport</a></div></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Regards,<div>Sergey.</div></div></div>
</div></div>