aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/patches/pharos/0001-Add-IDF-mappings-to-installer-adapter.patch
blob: 383b702f300a42a4a9e268fc78bd66332e5e0058 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
: Copyright (c) 2017 Mirantis Inc., Enea AB and others.
:
: All rights reserved. This program and the accompanying materials
: are made available under the terms of the Apache License, Version 2.0
: which accompanies this distribution, and is available at
: http://www.apache.org/licenses/LICENSE-2.0
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Date: Tue, 3 Oct 2017 02:41:41 +0200
Subject: [PATCH] Add IDF mappings to installer adapter

Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
---
 config/installers/fuel/pod_config.yml.j2 | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/config/installers/fuel/pod_config.yml.j2 b/config/installers/fuel/pod_config.yml.j2
index 99434f9..676ead3 100644
--- a/config/installers/fuel/pod_config.yml.j2
+++ b/config/installers/fuel/pod_config.yml.j2
@@ -26,6 +26,13 @@
 parameters:
   _param:

+{%- if conf.idf is defined %}
+    opnfv_jump_bridge_admin: {{ conf['idf']['fuel']['jumphost']['bridges']['admin'] }}
+    opnfv_jump_bridge_mgmt: {{ conf['idf']['fuel']['jumphost']['bridges']['mgmt'] }}
+    opnfv_jump_bridge_private: {{ conf['idf']['fuel']['jumphost']['bridges']['private'] }}
+    opnfv_jump_bridge_public: {{ conf['idf']['fuel']['jumphost']['bridges']['public'] }}
+{%- endif %}
+
     opnfv_infra_config_address: {{ net_mgmt | ipaddr_index('100') }}
     opnfv_infra_maas_node01_address: {{ net_mgmt | ipaddr_index('3') }}
     opnfv_infra_maas_node01_deploy_address: {{ net_admin | ipaddr_index('3') }}