Continue LB support
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
		| @@ -117,9 +117,14 @@ class os_params { | ||||
|   # Neutron | ||||
|   $external_int = 'eth1' | ||||
|   $ks_neutron_admin_host = 'os-ci-test3.enovance.com' | ||||
|   $ks_neutron_admin_port = '9696' | ||||
|   $ks_neutron_admin_proto = 'http' | ||||
|   $ks_neutron_internal_host = 'os-ci-test3.enovance.com' | ||||
|   $ks_neutron_internal_port = '9696' | ||||
|   $ks_neutron_internal_proto = 'http' | ||||
|   $ks_neutron_password = 'AJJTg2fSWrE4X4L1rhKJI74njLpFB0' | ||||
|   $ks_neutron_public_host = 'os-ci-test3.enovance.com' | ||||
|   $ks_neutron_public_port = '9696' | ||||
|   $ks_neutron_public_proto = 'http' | ||||
|   $neutron_allowed_hosts = ['os-ci-test%', '10.60.0.%'] | ||||
|   $neutron_db_host = '10.68.0.47' | ||||
|   | ||||
| @@ -16,11 +16,11 @@ | ||||
| # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||||
| # License for the specific language governing permissions and limitations | ||||
| # under the License. | ||||
|  | ||||
| # | ||||
| # HAproxy nodes | ||||
| # | ||||
|  | ||||
|  | ||||
| class os_role_loadbalancer( | ||||
| class os_lb_server( | ||||
|   $keepalived_localhost_ip = $ipaddress_eth0, | ||||
|   $keepalived_interface = 'eth0', | ||||
|   $keepalived_ipvs = [], | ||||
| @@ -35,14 +35,16 @@ class os_role_loadbalancer( | ||||
|   $horizon = false, | ||||
|   $heat_api = false, | ||||
|   $local_ip = $ipaddress_eth0, | ||||
|   $keepalived_smtp = os_params::keepalived_smtp, | ||||
|   $keepalived_email = os_params::keepalived_email, | ||||
| ){ | ||||
|  | ||||
|   class { 'haproxy': } | ||||
|   class { 'keepalived': | ||||
|     notification_email_to => [ $os_params::keepalived_email ], | ||||
|     smtp_server           => $os_params::keepalived_smtp, | ||||
|   } | ||||
|  | ||||
|   class { 'keepalived': | ||||
|     notification_email_to => $keepalived_email, | ||||
|     smtp_server           => $keepalived_smtp, | ||||
|   } | ||||
|  | ||||
|   $monitors_data = inline_template(' | ||||
| <%- if @swift_api -%> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Emilien Macchi
					Emilien Macchi