Hi Youcef,<div><br></div><div>We call scheduler at pool creation. </div><div><br></div><div>Eugene.<br><br><div class="gmail_quote">On Thu, Jan 24, 2013 at 1:52 AM, Youcef Laribi <span dir="ltr"><<a href="mailto:Youcef.Laribi@eu.citrix.com" target="_blank">Youcef.Laribi@eu.citrix.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Eugene,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks for the update. This looks a good plan for Grizzly.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">One question on the time we select a device. Do we call the scheduler to select a device (given a certain service type) at the time of the pool creation or at the time of the vip creation?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Youcef<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> <u></u><u></u></span></p><p class="MsoNormal"><a name="13c6967814d81c8d__MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></a></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt"><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Eugene Nikanorov [mailto:<a href="mailto:enikanorov@mirantis.com" target="_blank">enikanorov@mirantis.com</a>] <br>
<b>Sent:</b> Tuesday, January 22, 2013 7:21 AM<br><b>To:</b> OpenStack Development Mailing List<br><b>Subject:</b> [openstack-dev] [Quantum][LBaaS] Scheduling & device management for LBaaS<u></u><u></u></span></p></div>
</div><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Hi folks,<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">I'd like to present blueprint <a href="https://blueprints.launchpad.net/quantum/+spec/quantum-service-scheduler" target="_blank">https://blueprints.launchpad.net/quantum/+spec/quantum-service-scheduler</a> which I feel needs to be in grizzly.<u></u><u></u></p>
</div><div><p class="MsoNormal">You can find more detailed description in specification page.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Initially we planned to have comprehensive device management as separate plugin with extension and complicated schedulers.<u></u><u></u></p>
</div><div><p class="MsoNormal">However due to the lack of time and reviewer resources we desided to greatly reduce the scope of this work.<u></u><u></u></p></div><div><p class="MsoNormal">So, currently the code on review ( <a href="https://review.openstack.org/#/c/20225/" target="_blank">https://review.openstack.org/#/c/20225/</a> ) introduces the following:<u></u><u></u></p>
</div><div><p class="MsoNormal">1) Configuration management for service schedulers, e.g. admin can configure particular scheduler for particular service type<u></u><u></u></p></div><div><p class="MsoNormal">2) Simplistic scheduler for lbaas:<u></u><u></u></p>
</div><div><p class="MsoNormal">  - scheduling algorithm that randomly chooses a device from list of devices<u></u><u></u></p></div><div><p class="MsoNormal">  - device manager that reads devices from predefined conf-file (suggestion from Salvatore)<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">I believe this is reasonable minimum that will allow to use LBaaS service at least with some convenience. <u></u><u></u></p></div><div><p class="MsoNormal">
(In fact, I'd provide some more scheduling algorithms)<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">We have also started to integrate this code with code of <a href="https://blueprints.launchpad.net/quantum/+spec/lbaas-agent-and-rpc" title="Agent-based Loadbalancer Plugin" target="_blank"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#0033aa;background:white">lbaas-agent-and-rpc</span></a> according to the call sequence diagram:<u></u><u></u></p>
</div><div><p class="MsoNormal"><a href="http://wiki.openstack.org/Quantum/LBaaS/Architecture/Scheduler" target="_blank">http://wiki.openstack.org/Quantum/LBaaS/Architecture/Scheduler</a><u></u><u></u></p></div><div><p class="MsoNormal">
So we plan that this code will be base patch for <a href="https://blueprints.launchpad.net/quantum/+spec/lbaas-agent-and-rpc" title="Agent-based Loadbalancer Plugin" target="_blank"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#0033aa;background:white">lbaas-agent-and-rpc</span></a>.<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Thanks,<u></u><u></u></p></div><div><p class="MsoNormal">Eugene.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div>
</div></div></div></div></div><br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>