<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Just to add a little flavor and a slightly different twist from what Stephen wrote:<div class=""><br class=""></div><div class="">- The logging noop driver is indeed a good first place to start.</div><div class=""><br class=""></div><div class="">- The haproxy reference driver is the *only* driver that utilizes the lbaas-agent, and it’s being deprecated soon, so…</div><div class=""><br class=""></div><div class="">Most vendor implementations have some sort of outside agent/daemon of their own that can be interacted with directly. So unless you need to make async driver calls and you have no mechanism to do that yourself, I would avoid doing things the way the current haproxy driver is doing them.</div><div class=""><br class=""></div><div class="">For a driver that transforms neutron objects into REST calls and then converts the responses, I’d suggest taking a look at the octavia driver after the logging noop driver.</div><div class=""><br class=""></div><div class="">Please don’t hesitate to hop into #openstack-lbaas with any questions, in addition to here.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">doug</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Sep 10, 2015, at 7:53 PM, Stephen Balukoff <<a href="mailto:sbalukoff@bluebox.net" class="">sbalukoff@bluebox.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Srikumar--<div class=""><br class=""></div><div class="">I'm not aware of any particular write-up. The best advice I have is to start with the logging noop driver and refer to the reference haproxy namespace driver to see what these are doing to implement the functionality of LBaaS v2.</div><div class=""><br class=""></div><div class="">Sorry! I wish I had better news for you.</div><div class=""><br class=""></div><div class="">Stephen</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Fri, Sep 4, 2015 at 10:36 AM, Srikumar Chari <span dir="ltr" class=""><<a href="mailto:srikumar@appcito.net" target="_blank" class="">srikumar@appcito.net</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><div class="gmail_extra">Hello,<br class=""><br class="">I am trying to write an custom lbaas v2.0 driver. Was wondering if there's a document on how to go about that. I see a number of implementations as part of the source code but they all seem to be different. For instance HAProxy is completely different when compared to the other vendors. I am assuming that HAProxy is the "standard" as it is the default load balancer for OpenStack. Is there a design doc or some kinda write up?</div><div class="gmail_extra"><br class="">This thread was the closest I could get to a write-up: <a href="https://openstack.nimeyo.com/21628/openstack-dev-neutron-lbaas-need-help-with-lbaas-drivers" target="_blank" class="">https://openstack.nimeyo.com/21628/openstack-dev-neutron-lbaas-need-help-with-lbaas-drivers</a>.<br class=""><br class="">I guess I could reverse engineering the HAProxy namespace driver but I am probably going to miss some of the design elements. Any help/pointers/links would be great.</div><div class="gmail_extra"><br class=""><div class="">thanks</div><div class="">Sri</div>
</div></div>
<br class="">__________________________________________________________________________<br class="">
OpenStack Development Mailing List (not for usage questions)<br class="">
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org/?subject:unsubscribe" rel="noreferrer" target="_blank" class="">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br class="">
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br class="">
<br class=""></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><span class=""></span><div class="">Stephen Balukoff</div><div class="">Principal Technologist</div><div class="">Blue Box, An IBM Company</div><div class=""><a href="http://www.blueboxcloud.com/" target="_blank" class="">www.blueboxcloud.com</a></div><div class=""><a href="mailto:sbalukoff@blueboxcloud.com" target="_blank" class="">sbalukoff@blueboxcloud.com</a></div><div class="">206-607-0660 x807</div></div></div></div></div></div>
</div>
__________________________________________________________________________<br class="">OpenStack Development Mailing List (not for usage questions)<br class="">Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org" class="">OpenStack-dev-request@lists.openstack.org</a>?subject:unsubscribe<br class=""><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br class=""></div></blockquote></div><br class=""></div></body></html>