lbaas: use stevedore entrypoint for service plugin

Using full python import names is not recommended or supported. It's
also error prone since any original python module rename will break
setups relying on internal python paths.

Instead of it, use stevedore alias:

https://git.openstack.org/cgit/openstack/neutron-lbaas/tree/setup.cfg#n47

Change-Id: I6f9522031b4cbe373fea0032f8e7fb1fcaf9e910
This commit is contained in:
Ihar Hrachyshka 2016-03-03 16:44:01 +01:00
parent 2c6aad62ee
commit ca8950ef67

View File

@ -350,16 +350,14 @@ For the back end, use either Octavia or Haproxy. This example uses Octavia.
.. code-block:: ini
service_plugins = neutron_lbaas.services.loadbalancer.plugin.
LoadBalancerPluginv2
service_plugins = lbaasv2
If this option is already defined, add the load-balancing plug-in to
the list using a comma as a separator. For example:
.. code-block:: ini
service_plugins = [already defined plugins],
neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2
service_plugins = [already defined plugins],lbaasv2