<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="">
<div class="">The quick answer is “enable_service q-lbaasv2”.</div>
<div class=""><br class="">
</div>
<div class="">A longer answer is that the neutron-lbaas repository contains sample local.con and local.sh files that set up a working loadbalancer devstack setup using LBaaS V2.  They are in neutron-lbaas/devstack/samples.   Putting those files, along with
 webserver.sh into your devstack directory and running stack.sh will set up a V2 loadbalancer with two member instances.</div>
<div class=""><br class="">
</div>
<div class="">More details are at <a href="https://chapter60.wordpress.com/2015/04/14/sample-scripts-to-automatically-set-up-lbaas-v2-loadbalancers-in-devstack/" class="">https://chapter60.wordpress.com/2015/04/14/sample-scripts-to-automatically-set-up-lbaas-v2-loadbalancers-in-devstack/</a></div>
<div class=""><br class="">
</div>
<div class="">Al</div>
<div class=""><br class="">
</div>
<br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On Jul 18, 2015, at 5:13 PM, 姚威 <<a href="mailto:wilence.yao@gmail.com" class="">wilence.yao@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">Hi all,<br class="">
To enable lbaas on devstack with haproxy, I added `enabled_service q-lbaas` in devstack/loacl.conf. ButI find that lbaas api is v1, which means I could use `neutron lb-xxx` instead of  `neutron lbaas-xxx`. If I want to use api v2, what should I do with devstack/local.conf?<br class="">
<br class="">
Wilence Yao<br class="">
__________________________________________________________________________<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="">
</body>
</html>