From 67566f2f8c700f8c4b78bfac557f70721a243834 Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Wed, 2 Mar 2016 13:05:17 -0500 Subject: Adds OpenDaylight HA (OVSDB Clustering) OVSDB Clustering changes include: - Modifications to create an OpenDaylight VIP for communication between Neutron SB <-> ODL NB. - OpenDaylight configured in HA mode in THT via puppet-opendaylight - OVS instances configured with managers pointing to all 3 ODL instances for HA mode - Build now points to latest Beryllium release - Modified puppet-neutron in build to pull latest stable/liberty JIRA: APEX-107 Change-Id: Iab510db922dfcd2fbd4962b9751cd2f7e5724f44 Signed-off-by: Tim Rozet --- build/opnfv-puppet-tripleo.patch | 62 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 build/opnfv-puppet-tripleo.patch (limited to 'build/opnfv-puppet-tripleo.patch') diff --git a/build/opnfv-puppet-tripleo.patch b/build/opnfv-puppet-tripleo.patch new file mode 100644 index 00000000..99d3c742 --- /dev/null +++ b/build/opnfv-puppet-tripleo.patch @@ -0,0 +1,62 @@ +From 9f012bc3e4f23fa756f5435ee69e5d51dd6fc874 Mon Sep 17 00:00:00 2001 +From: Tim Rozet +Date: Thu, 3 Mar 2016 14:36:11 -0500 +Subject: [PATCH] Adds ODL to load balancer + +--- + manifests/loadbalancer.pp | 27 +++++++++++++++++++++++++++ + 1 file changed, 27 insertions(+) + +diff --git a/manifests/loadbalancer.pp b/manifests/loadbalancer.pp +index 2fcfac6..6e13566 100644 +--- a/manifests/loadbalancer.pp ++++ b/manifests/loadbalancer.pp +@@ -247,6 +247,10 @@ + # (optional) Enable or not Redis binding + # Defaults to false + # ++# [*opendaylight*] ++# (optional) Enable or not OpenDaylight binding ++# Defaults to false ++# + class tripleo::loadbalancer ( + $controller_virtual_ip, + $control_virtual_interface, +@@ -299,6 +303,7 @@ class tripleo::loadbalancer ( + $mysql_clustercheck = false, + $rabbitmq = false, + $redis = false, ++ $opendaylight = false, + ) { + + if !$controller_host and !$controller_hosts { +@@ -1044,4 +1049,26 @@ class tripleo::loadbalancer ( + } + } + ++ $opendaylight_api_vip = hiera('opendaylight_api_vip', $controller_virtual_ip) ++ $opendaylight_bind_opts = { ++ "${opendaylight_api_vip}:8081" => [], ++ "${public_virtual_ip}:8081" => [], ++ } ++ ++ if $opendaylight { ++ haproxy::listen { 'opendaylight': ++ bind => $opendaylight_bind_opts, ++ options => { ++ 'balance' => 'source', ++ }, ++ collect_exported => false, ++ } ++ haproxy::balancermember { 'opendaylight': ++ listening_service => 'opendaylight', ++ ports => '8081', ++ ipaddresses => hiera('opendaylight_api_node_ips', $controller_hosts_real), ++ server_names => $controller_hosts_names_real, ++ options => ['check', 'inter 2000', 'rise 2', 'fall 5'], ++ } ++ } + } +-- +2.5.0 + -- cgit 1.2.3-korg