[fuel] Add IDF mappings to installer adapter 19/49019/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Tue, 3 Oct 2017 00:41:41 +0000 (02:41 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 14 Dec 2017 23:32:09 +0000 (23:32 +0000)
Change-Id: I3a82ed747d2671510a25e65388c7f73ec760afc3
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit c59931889db99c4fe6fc308123e2085625c18c42)

config/installers/fuel/pod_config.yml.j2

index b412885..890b380 100644 (file)
 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') }}