Revert "Only add internal_api_virtual_ip if InternalApi is in network_data"
This reverts commit 8cfaf354d2
.
Change-Id: Ib8ff69a4bc869de21ad838b3bc6c38a8676036c6
This commit is contained in:
parent
8cfaf354d2
commit
3b81a45281
@ -176,6 +176,8 @@ resources:
|
||||
get_param: [NetVipMap, {get_param: [ServiceNetMap, keystone_public_api_network]}]
|
||||
public_virtual_ip: {get_param: [NetVipMap, {get_param: ExternalNetName}]}
|
||||
controller_virtual_ip: {get_param: [NetVipMap, ctlplane]}
|
||||
# the internal_api_virtual_ip is needed for contrail only
|
||||
internal_api_virtual_ip: {get_param: [NetVipMap, {get_param: InternalApiNetName}]}
|
||||
network_virtual_ips:
|
||||
{%- for network in networks if network.vip|default(false) %}
|
||||
# External virtual ip is currently being handled separately as public_virtual_ip.
|
||||
@ -185,10 +187,6 @@ resources:
|
||||
ip_address: {get_param: [NetVipMap, {get_param: {{network.name}}NetName}]}
|
||||
index: {{loop.index}}
|
||||
{%- endif %}
|
||||
{%- if network.name == 'InternalApi' %}
|
||||
# the internal_api_virtual_ip is needed for contrail only
|
||||
internal_api_virtual_ip: {get_param: [NetVipMap, {get_param: InternalApiNetName}]}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
redis_vip: {get_param: RedisVirtualIP}
|
||||
{%- for network in networks if network.name == 'StorageNFS' %}
|
||||
|
Loading…
Reference in New Issue
Block a user