You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by re...@apache.org on 2015/10/29 20:16:59 UTC
[2/2] git commit: updated refs/heads/master to c03956e
Merge pull request #848 from iwebhosting/lbprotocol
Pass LbProtocol down to the HAProxyConfiguratorThis will let us specify a new load balancer protocol (tcp-proxy) which enables HAProxy's `send-proxy` functionality.
`send-proxy` / [the PROXY protocol][1] will send the real connection origin IP through to the servers behind HAProxy, without requiring any protocol specific changes (such as HTTP header rewriting).
[1]: http://www.haproxy.org/download/1.5/doc/proxy-protocol.txt
This is also inline with what [Amazon ELB now supports][2].
[2]: http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/enable-proxy-protocol.html
* pr/848:
Pass LbProtocol down to the HAProxyConfigurator
Signed-off-by: Remi Bergsma <gi...@remi.nl>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/c03956eb
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/c03956eb
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/c03956eb
Branch: refs/heads/master
Commit: c03956ebecb633db271faa1439fa5f233c4f86f1
Parents: 093cccf cacac14
Author: Remi Bergsma <gi...@remi.nl>
Authored: Thu Oct 29 20:15:19 2015 +0100
Committer: Remi Bergsma <gi...@remi.nl>
Committed: Thu Oct 29 20:15:20 2015 +0100
----------------------------------------------------------------------
.../com/cloud/agent/api/to/LoadBalancerTO.java | 4 ++++
.../com/cloud/network/HAProxyConfigurator.java | 3 +++
.../cloud/network/HAProxyConfiguratorTest.java | 22 ++++++++++++++++++++
.../network/element/VirtualRouterElement.java | 2 +-
.../network/router/CommandSetupHelper.java | 2 ++
5 files changed, 32 insertions(+), 1 deletion(-)
----------------------------------------------------------------------