aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/salt-formulas/salt-formula-opendaylight
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-11-23 15:55:54 +0100
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-11-26 11:36:56 +0000
commit7def8805687caef0fedc34fe0c27ce7a01b110bc (patch)
treee6e81f98bded14fc06f7c314f8370067b7c10eb0 /mcp/salt-formulas/salt-formula-opendaylight
parent22028ac4a1518aadf665996de16ca1a4e9f40ccb (diff)
[ha] odl: Set _param:cluster_vip_address
Fix an undefined parameter reference: root@cfg01:~# reclass-salt -p odl01.mcp-odl-ha.local -> odl01.mcp-odl-ha.local Cannot resolve ${_param:cluster_vip_address}, at _param:keepalived_vip_address, in yaml_fs:///srv/salt/reclass/classes/service/keepalived/cluster/single.yml Change-Id: Ie653b80f2ba0f2c9664b36e23f8e95793ba0e198 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp/salt-formulas/salt-formula-opendaylight')
-rw-r--r--mcp/salt-formulas/salt-formula-opendaylight/metadata/service/server/cluster.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcp/salt-formulas/salt-formula-opendaylight/metadata/service/server/cluster.yml b/mcp/salt-formulas/salt-formula-opendaylight/metadata/service/server/cluster.yml
index a310fa3e8..3b57ea332 100644
--- a/mcp/salt-formulas/salt-formula-opendaylight/metadata/service/server/cluster.yml
+++ b/mcp/salt-formulas/salt-formula-opendaylight/metadata/service/server/cluster.yml
@@ -14,8 +14,8 @@ classes:
parameters:
_param:
opendaylight_version: fluorine
+ cluster_vip_address: ${_param:opendaylight_service_host}
keepalived_vip_virtual_router_id: 199
- keepalived_vip_address: ${_param:opendaylight_service_host}
keepalived_vip_password: ${_param:opnfv_main_password}
keepalived_vip_interface: ${_param:single_nic}
haproxy_odl_api_check_params: check inter 20s fastinter 2s