From 940067c8e812d0349965a9e8a683bee6e23604f4 Mon Sep 17 00:00:00 2001 From: shaofeng_cheng Date: Fri, 5 May 2017 15:13:11 +0800 Subject: [PATCH] Add lbaas support to vsphere by vmware-nsx plugin Add lbaas support to vsphere by vmware-nsx plugin in neutron. Depends-On: I6b92b946667ebbbd2721a99fd299981cfc99693f Change-Id: I350d242c5b2df19970d75529c1b7ad8c405d4848 Partially-implements: blueprint kolla-ansible-support-vsphere --- ansible/roles/neutron/templates/neutron_lbaas.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible/roles/neutron/templates/neutron_lbaas.conf.j2 b/ansible/roles/neutron/templates/neutron_lbaas.conf.j2 index 98c9045c87..a62c745906 100644 --- a/ansible/roles/neutron/templates/neutron_lbaas.conf.j2 +++ b/ansible/roles/neutron/templates/neutron_lbaas.conf.j2 @@ -2,6 +2,8 @@ [service_providers] {% if enable_octavia | bool %} service_provider = LOADBALANCERV2:Octavia:neutron_lbaas.drivers.octavia.driver.OctaviaDriver:default +{% elif neutron_plugin_agent == 'vmware_nsx' %} +service_provider = LOADBALANCERV2:VMWareEdge:neutron_lbaas.drivers.vmware.edge_driver_v2.EdgeLoadBalancerDriverV2:default {% else %} service_provider = LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default {% endif %}