The quick answer is “enable_service q-lbaasv2”.

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.

More details are at 
https://chapter60.wordpress.com/2015/04/14/sample-scripts-to-automatically-set-up-lbaas-v2-loadbalancers-in-devstack/

Al


On Jul 18, 2015, at 5:13 PM, 姚威 
<wilence....@gmail.com<mailto:wilence....@gmail.com>> wrote:

Hi all,
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?

Wilence Yao
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: 
openstack-dev-requ...@lists.openstack.org<mailto:openstack-dev-requ...@lists.openstack.org>?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to