Dmytro Dovbii f683ec34b3 Initial commit for lbaas library
* adds lbaas interfaces
* adds HAProxy implementation

This commit makes refactoring for old python-based version
of LbaaS and makes LbaaS-interface library and haproxy-based-lbaas
packages deprecated.

Change-Id: I93e0fbb59959a04b11adaf8fb13e901f3dfa61a4
2016-06-08 13:25:39 +00:00

14 lines
277 B
Bash
Executable File

sudo add-apt-repository ppa:vbernat/haproxy-1.5 -y
sudo apt-get update
sudo apt-get install -y haproxy
# Enabling HAProxy.
sudo sed -i 's/^ENABLED=.*/ENABLED=1/' /etc/default/haproxy
sudo chown -R $USER:$USER /etc/haproxy
# Starting HAProxy.
#sudo service haproxy restart