|
|
|
@ -5,6 +5,9 @@ description: >
|
|
|
|
|
The IP address will be chosen automatically if FixedIPs is empty. |
|
|
|
|
|
|
|
|
|
parameters: |
|
|
|
|
RootStackName: |
|
|
|
|
description: The name of the stack/plan. |
|
|
|
|
type: string |
|
|
|
|
ServiceName: # Here for compatibility with from_service.yaml |
|
|
|
|
description: Name of the service to lookup |
|
|
|
|
default: '' |
|
|
|
@ -45,6 +48,9 @@ parameters:
|
|
|
|
|
[{'ip_address':'1.2.3.4'}] |
|
|
|
|
default: [] |
|
|
|
|
type: json |
|
|
|
|
IsVirtualIP: # Here for compatibility |
|
|
|
|
type: boolean |
|
|
|
|
default: false |
|
|
|
|
|
|
|
|
|
conditions: |
|
|
|
|
network_is_ctlplane: |
|
|
|
@ -74,7 +80,15 @@ resources:
|
|
|
|
|
- [{subnet: {get_param: ControlPlaneSubnet}}] |
|
|
|
|
- get_param: FixedIPs |
|
|
|
|
replacement_policy: AUTO |
|
|
|
|
|
|
|
|
|
tags: |
|
|
|
|
- str_replace: |
|
|
|
|
template: tripleo_service_vip=$SERVICE_NAME |
|
|
|
|
params: |
|
|
|
|
$SERVICE_NAME: {get_param: ServiceName} |
|
|
|
|
- str_replace: |
|
|
|
|
template: tripleo_stack_name=$STACK_NAME |
|
|
|
|
params: |
|
|
|
|
$STACK_NAME: {get_param: RootStackName} |
|
|
|
|
outputs: |
|
|
|
|
ip_address: |
|
|
|
|
description: Virtual IP network IP |
|
|
|
|