fuel-plugin-contrail/deployment_scripts/puppet/modules/contrail/templates/ESXiToVRouterIp.map.erb
Vitalii Kovalchuk 8a845de8aa Fix ESXiToVRouterIp.map in case when we delete contrail-vmware
- Fix notice in contrail-compute-vmware-pkg.pp
- Fix settings description for internal DVS name

Change-Id: Ie7b081a0d20bfee627a18c7ce58694652f9a1bb5
2016-09-17 14:00:56 +00:00

11 lines
361 B
Plaintext

<%-
network_metadata=scope.lookupvar('contrail::network_metadata')
contrail_esxi_info=scope.lookupvar('contrail::contrail_esxi_info')
-%>
<%- contrail_esxi_info.each do | host | -%>
<%- private_ip=scope.function_get_node_private_ip([network_metadata, host['admin_ip']]) -%>
<%- if private_ip -%>
<%= host['host_ip'] %>:<%= private_ip %>
<%- end -%>
<%- end -%>