Commit Graph

41 Commits

Author SHA1 Message Date
Adam Harwell f8d023fbfe Retiring neutron-lbaas
Depends-On: https://review.opendev.org/#/c/658493/
Change-Id: Ia4f4b335295c0e6add79fe0db5dd31b4327fdb54
2019-05-11 03:18:03 -07:00
German Eichberger 21ea9cf254 Adds a sample polic.json file
Sometimes the LBaaS V2 policyb targets are hard to infer.
This adds a sample policy file for users to customize with
all the targets.

Change-Id: I105d2e7daf932087632ceb6231b21158f9786335
2017-01-05 16:21:46 -05:00
Martin Hickey d13d53bce7 Remove Neutron LBaaS static example configuration files
Oslo config generator was introduced in patch [1] to
automatically generate the sample Neutron LBaaS configuration
files.

This patch removes the static example configuration files from
the repository as they are now redundant.

[1] https://review.openstack.org/#/c/252981/

Change-Id: Ied6baba264e46aee59fb97f4909df3cbf4d00237
Partially-Implements: blueprint autogen-neutron-conf-file
Partial-bug: #1199963
Depends-On: Iae1e581ec2bea9c0ced700229effcc716d53fe4e
2015-12-10 15:43:49 +00:00
Martin Hickey e719861c00 Automatically generate neutron LBaaS configuration files
This adds a new tox environment, genconfig, which generates sample
neutron LBaaS configuration file using oslo-config-generator.

DocImpact: Update the docs that LBaaS no longer includes static example
configuration files. Instead, use tools/generate_config_file_samples.sh
to generate them and the files generated now end with .sample extension.

Partially-Implements: blueprint autogen-neutron-conf-file

Change-Id: I25507f3bc6e995580aa91a912c2cf4110757df15
Partial-bug: #1199963
2015-12-09 15:14:56 +00:00
Shuquan Huang 0cecf3ef77 Openstack typo
According to the word choice convention in
"http://docs.openstack.org/contributor-guide/writing-style/
word-choice.html"
We should use OpenStack instead of Openstack.

Change-Id: Ifc68e07b8c8f53e8c9ab982413eb94b3190b067f
Closes-bug: #1516634
2015-11-25 11:17:42 +08:00
Dirk Mueller c72f8a078e Fix default device_driver entry in lbaas_agent.ini
Due to the repository splitting the new location should be used
and the old one is only for Juno and older.

Change-Id: I47347818a742805b7da8a18c66bfa6703d10da9a
Closes-Bug: #1507314
2015-10-18 17:09:28 +02:00
Henry Gessau c5fca2f2e4 Remove the embrane driver
Partial-Bug: #1504670

Change-Id: Ic13a101f04086af84251c98d775d75334504007d
2015-10-10 00:16:32 -04:00
Jenkins bf04bce4bf Merge "Registering Barbican consumers" 2015-08-30 03:23:50 +00:00
ptoohill1 f4ebbea9bd Registering Barbican consumers
The patch will register the consumer for the Barbican
service upon validation.

If an error is caught it will also de-reg the consumer.

Change-Id: I0377222c9492185a7b0462eb935179963027ed37
2015-08-27 03:35:22 -05:00
OTSUKA, Yuanying 2cc700c291 Fix loading CertManager method
Currently local_cert_manager is never enabled if 'cert_manager_class'
is set to 'neutron_lbaas.common.cert_manager.local_cert_manager'.
Because due to initialization order of config parameters.
This fixes it to correct order.

Change-Id: I0b60e9034e113160ec8347da52d67c4835c90cbf
2015-08-26 17:30:53 +09:00
Doug Wiegley 0f980425b1 Octavia driver
- Needs CI, which will likely be via a new infra job
- Needs stats method - can be done in a subsequent review
- Needs to update entity status's based on what octavia says it is, but this
will be done in a subsequent review

Co-Authored-By: Doug Wiegley <dougw@a10networks.com>
Co-Authored-By: Brandon Logan <brandon.logan@rackspace.com>
Co-Authored-By: Trevor Vardeman <trevor.vardeman@rackspace.com>
Co-Authored-By: Phillip Toohill <phillip.toohill@rackspace.com>
Co-Authored-By: Banashankar K Veerad <bkalebe@us.ibm.com>

Change-Id: I651fb3aeac56d7abfca7625e087c97941670e193
2015-08-14 22:41:33 +00:00
Jenkins 75331b2346 Merge "Add a new lbaas agent Scheduler, LeastPoolAgentScheduler" 2015-06-04 19:56:29 +00:00
Jenkins d441df65cc Merge "Implement KEMPtechnologies lbaas driver v2 shim" 2015-06-03 06:40:50 +00:00
Sungjin Yook 96afcd6879 Add a new lbaas agent Scheduler, LeastPoolAgentScheduler
LeastPoolAgentScheduler assigns a pool to an lbaas-agent
with the least number of pools. When there are multiple
lbaas-agents on multiple nodes, pools will be evenly
distributed over the agents. Thus this scheduler helps
the scalability of lbaas-agents serving large number of pools.
At the moment only available lbaas-agent scheduler is ChanceScheduler.

Co-Authored-By: Adam Harwell <flux.adam@gmail.com>
Change-Id: I0b920a8bb5b2918dd5f47ef2a81d3009896af47d
2015-06-03 01:20:14 +00:00
Shane McGough 46348c918f Implement KEMPtechnologies lbaas driver v2 shim
Added the passthrough shim driver for KEMP appliances.
Updated the config file with the KEMP path to the driver.
Added unit tests to test the shim.

Change-Id: Ib429c8ebde4d2cbb54ad37f4bfe6e4255706479b
Closes-bug: 1436781
2015-04-02 07:32:44 +01:00
Jenkins 5807d747d3 Merge "VMWare Edge loadbalancer v1 driver" 2015-03-27 23:45:21 +00:00
Kobi Samoray bda3f44cc3 VMWare Edge loadbalancer v1 driver
Adds support for VMWare NSX-v Edge loadbalancer appliance.
The support is for lbaasv1 API.

Change-Id: I6f65aa053fd131e0b17757fda1a483c6f5a25a11
Partially-Implements: blueprint vmware-nsx-v
2015-03-26 17:05:22 +02:00
Jenkins 6f227f8ba2 Merge "Neutron LBaaS v2 Radware driver implementation" 2015-03-24 21:00:09 +00:00
Evgeny Fedoruk 442ad83097 Neutron LBaaS v2 Radware driver implementation
Change-Id: I4af1ef5390bc70692ce363a73bd899fb3add6db3
Implements: blueprint radware-lbaas-driver
2015-03-24 11:00:30 -07:00
Jenkins 4bb45e733c Merge "Brocade Driver for lbaas v2 data model" 2015-03-19 03:38:12 +00:00
Pattabi Ayyasami fb34fdbfc0 Brocade Driver for lbaas v2 data model
Change-Id: I38721a91d8c365dfadf09535c50463fa634ef7e4
2015-03-17 21:53:40 -04:00
Trevor Vardeman e52be929cb Change default cert manager to barbican
Modify cert manager init to load cert manager config of barbican
Modify default neutron conf file to be barbican cert manager

Change-Id: I92f15e50749839573194e37cc417b46566ffe298
2015-03-17 10:24:28 -05:00
Jenkins 030ad63898 Merge "A10 Networks LBaaS v2 Driver" 2015-03-13 17:47:59 +00:00
Toshiaki Higuchi 7e76a00e46 Error correction of neutron_lbaas.conf.
Error correction of neutron_lbaas.conf.
Remove unnecessary word.

Change-Id: Ia56a1d3c6134dd8b5c6f39e91fd372de1347b68b
2015-03-10 13:33:02 +09:00
Doug Wiegley 6fa0839dd9 A10 Networks LBaaS v2 Driver
Change-Id: I05fc66493b3fc9f9a4f2048c86c0b1ff01319d61
Implements: blueprint a10-lbaas-v2-driver
2015-03-07 20:31:35 -07:00
Phillip Toohill ce05376126 Haproxy Namespace Driver
This adds the haproxy namespace driver based on the lbaas
v2 object model.  It has been retrofitted to work with the
new object model and new device driver interface.  Everything
else has been shamelessly copied from the v1 haproxy namespace
driver.

Change-Id: Icf34a215e094d27270a5f64df2d1cb995f505370
Partially-implements: blueprint lbaas-refactor-haproxy-namespace-driver-to-new-driver-interface
Co-Authored-By: Brandon Logan <brandon.logan@rackspace.com>
2015-03-03 23:00:44 +00:00
Phillip Toohill 697bbd69a1 Finish Agent Scheduler and LB Agent Driver Piece
Implements the agent scheduler to choose which agent will host
the loadbalancer.  Only a random scheduling algorithm implemented.

Exposed two API calls that allows an admin user to get a list of
loadbalancers hosted by an agent and get the agent that is hosting
a particular loadbalancer.

Implemented the loadbalancer driver classes and methods for the agent
driver.  These will call the agent scheduler to host the load balancer
and then send the data to a queue.

Depends-On: Ic9179ef0a95b91d1b7662537fffeb0a949efc925
Partially-implements: blueprint lbaas-refactor-haproxy-namespace-driver-to-new-driver-interface
Co-Authored-By: Brandon Logan <brandon.logan@rackspace.com>

Change-Id: Ic4a83ef255aed0474eebb73f28d67e09f35666b7
2015-02-26 22:49:29 -06:00
Evgeny Fedoruk f733feaf57 Moving base driver code to a new location
Moving base lbaas v2 driver modules to their new location - drivers/
instead of the old one - services/loadbalancer/drivers/

This change set is a preparation for next-coming new lbaas v2 drivers
implementations

Change-Id: I9a629fbed69ae8149feb1a761d83114779717fc1
2015-02-26 09:40:56 -08:00
Adam Harwell 51bc96cd3d Certificate Management Interface + Implementations
Includes a Barbican and a Local (insecure) implementation.

Change-Id: I435189b2637e32803a13ebd4951e61fac4ab234d
Partially-Implements: blueprint lbaas-tls
2015-02-06 13:44:04 -06:00
Brandon Logan 31eb058c1d Implement synchronous haproxy driver methods
Methods deploy the actual haproxy process when called.
Includes a service that periodically runs to collect stats.
Added quotas to the neutron.conf

Partially-implements: blueprint lbaas-api-and-objmodel-improvement
Partially-implements: blueprint lbaas-refactor-haproxy-namespace-driver-to-new-driver-interface

Change-Id: I98c67346b75619b9cc64f68c3c2f7329123f1e3c
Co-authored-by: Brandon Logan <brandon.logan@rackspace.com>
Co-authored-by: Phillip Toohill <phillip.toohill@rackspace.com>
2015-02-02 20:38:45 -06:00
Doug Wiegley c10dd7ed1b Move config and extensions to service repo
Depends on neutron change I16b5e5b2bb70717166da14faa975fa2ab9129049

Change-Id: I25b38747af1d41834ccb340f069acce0aa5aee8f
Partially-Implements: blueprint services-split
Co-Authored-By: Brandon Logan <brandon.logan@rackspace.com>
2015-01-30 23:01:39 -06:00
Ihar Hrachyshka ed35d86a6e Moved lbaas-haproxy.filters from main neutron repo
This file belongs to lbaas service and hence should be maintained in
neutron-lbaas repository.

Change-Id: Ide7dafafa3e43b3f27ec3d2dfdb3591ae7328f21
2015-01-05 12:20:12 +01:00
LipingMao 4ced71a260 LBaaS VIP doesn't work after delete and re-add
When delete and re-add the same vip, we need to send gratuitous ARP
to flush the ARP cache in the Router.

Change-Id: Id97088abb95f4433a100abdae8c8726b3be42ed2
Closes-Bug: 1301165
2014-05-12 01:14:58 +00:00
Oleg Bondarev 2e9d1b173b LBaaS: unify haproxy-on-host plugin driver and agent
Unifies haproxy reference implementation to make common agent based plugin driver
which is suitable for all vendors who wants to use async mechanism.

 - Agent API as well as device driver API changed to handle
   loadbalancer objects individually;
 - Agent loads device drivers according to config;
 - LogicalDeviceCache class was removed from agent as it was used only
   as a list - to put and remove entries ant check whether entry is in or not.
   It was replaced with instance_mapping dict in agent to store known instances and
   corresponding device_drivers;
 - Agent reports which device drivers are supported (needs for scheduling on plugin side);
 - Agent-to-plugin API was extended to provide an ability for agent to update
   statuses of pools/vips/members/health_monitors;
 - Vendor should only implement device driver; plugin driver just needs
   to inherit AgentBasedPluginDriver and override device_driver member;
 - This patch doesn't move files to make review easier;
   all rename/replace will be done in a subsequent patch;

DocImpact

NOTE: Since the change in the agent RPC API is backward-incompatible
(major RPC version change), LBaaS server-agent communications will be
completely broken until both sides are upgraded so users will be unable to
create new or update existing HAProxy loadbalancer instances during upgrade

Implements blueprint lbaas-common-agent-driver

Change-Id: I9fd90a1321611d202ef838681273081fa6c1686a
2013-12-10 12:08:03 +04:00
Yong Sheng Gong a8ab991522 sync some configuration items with codes
Bug #1210173

Change-Id: I3622a45f0907e49391156322553665845978a551
2013-08-09 08:31:32 +08:00
ZhiQiang Fan bea7e806ab Avoid overwrite value of deprecated name in conf.
See bug/1194064 #2 Mark McLoughlin's comment

Fixes: Bug #1194064

Change-Id: I421d2decfa8829796fe7b6c14f954f3cccc17215
2013-08-05 21:31:06 +08:00
Eugene Nikanorov 8ff66737e2 Remove use_namespaces option from etc/lbaas_agent.ini
fixes bug 1201249

Remove option from ini file since it is nor registered nor used
in lbaas agent.

Change-Id: I611f794279fea4a4155309cd0668e3b9718221b1
2013-07-16 19:37:15 +00:00
Mark McClain ddf221b92a Rename Quantum to Neutron
This change renames everything to Neutron while providing backwards
compatible adjustments for Grizzly configuration files.

implements blueprint: remove-use-of-quantum

Change-Id: Ie7d07ba7c89857e13d4ddc8f0e9b68de020a3d19
2013-07-06 15:02:43 -04:00
Eugene Nikanorov 09aab65208 Rename agent_loadbalancer directory to loadbalancer
Fix missing path changes

Fixes bug 1179276

Change-Id: I889eeac8013de67fccbac9bfa745a56e7f859756
2013-06-14 19:52:52 +04:00
Gary Kotton 0d5d3ceeb0 Enable HA proxy to work with fedora
Fixes bug 1142133

Change-Id: I0dc02c96efa8d5f8ab693480e510dbbefcc6a674
2013-03-03 16:34:47 +00:00
Mark McClain 4b4681c42a LBaaS Agent Reference Implementation
implements blueprint lbaas-namespace-agent

This a reference implemention of the Quantum load balancing service
using HAProxy.  The implemention is designed for vendors, developers,
and deployers to become familiar with the API and service workflow.

This change also adds some constraint checks for data integrity.

Change-Id: I10a67da11840477ccf063b98149f4f77248802a1
2013-02-27 21:49:57 -05:00