Commit Graph

8 Commits (d568fee34be36ca17a9124fe6539f62d702d6359)

Author SHA1 Message Date
Oleg Bondarev bf8949defc 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
10 years ago
Yong Sheng Gong 9c21ae2c41 sync some configuration items with codes
Bug #1210173

Change-Id: I3622a45f0907e49391156322553665845978a551
10 years ago
ZhiQiang Fan 3313448f2d Avoid overwrite value of deprecated name in conf.
See bug/1194064 #2 Mark McLoughlin's comment

Fixes: Bug #1194064

Change-Id: I421d2decfa8829796fe7b6c14f954f3cccc17215
10 years ago
Eugene Nikanorov 078a73c616 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
10 years ago
Mark McClain ee3fe4e836 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
10 years ago
Eugene Nikanorov 358975281f Rename agent_loadbalancer directory to loadbalancer
Fix missing path changes

Fixes bug 1179276

Change-Id: I889eeac8013de67fccbac9bfa745a56e7f859756
10 years ago
Gary Kotton 9c0c158cbc Enable HA proxy to work with fedora
Fixes bug 1142133

Change-Id: I0dc02c96efa8d5f8ab693480e510dbbefcc6a674
10 years ago
Mark McClain f8de8c4450 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
10 years ago