Merge "Rename external network VIP, drop special case"

This commit is contained in:
Zuul 2020-09-21 22:13:01 +00:00 committed by Gerrit Code Review
commit a101df372b
1 changed files with 3 additions and 6 deletions

View File

@ -1026,13 +1026,10 @@ resources:
- ctlplane_subnet_cidr_set
- {get_param: ControlPlaneSubnetCidr}
- {str_split: ['/', {get_attr: [ControlVirtualIP, subnets, 0, cidr]}, 1]}
{%- if network.name == 'External' %}
PortName: public_virtual_ip
DnsName: {str_split: ['.', {get_param: CloudName}, 0]}
{%- else %}
PortName: {{network.name_lower}}_virtual_ip
{%- endif %}
{%- if network.name == 'InternalApi' %}
{%- if network.name == 'External' %}
DnsName: {str_split: ['.', {get_param: CloudName}, 0]}
{%- elif network.name == 'InternalApi' %}
DnsName: {str_split: ['.', {get_param: CloudNameInternal}, 0]}
{%- elif network.name == 'StorageMgmt' %}
DnsName: {str_split: ['.', {get_param: CloudNameStorageManagement}, 0]}