Allow the deployer to pick a predefined IP for VIPs
Adds three top-level params to allow the deployer pick a predefined IP for the InternalApi, Storage and StorageMgmt VIPs. We had this already for the External network (PublicVirtualFixedIPs) and the ctlplane network (ControlFixedIPs). Change-Id: I1509e1888774ffa72445ed681dd8107eec703d64
This commit is contained in:
parent
b9e421ec6d
commit
ff33f2a64e
@ -88,6 +88,12 @@ parameters:
|
|||||||
default: 'REBUILD_PRESERVE_EPHEMERAL'
|
default: 'REBUILD_PRESERVE_EPHEMERAL'
|
||||||
description: What policy to use when reconstructing instances. REBUILD for rebuilds, REBUILD_PRESERVE_EPHEMERAL to preserve /mnt.
|
description: What policy to use when reconstructing instances. REBUILD for rebuilds, REBUILD_PRESERVE_EPHEMERAL to preserve /mnt.
|
||||||
type: string
|
type: string
|
||||||
|
InternalApiVirtualFixedIPs:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Control the IP allocation for the InternalApiVirtualInterface port. E.g.
|
||||||
|
[{'ip_address':'1.2.3.4'}]
|
||||||
|
type: json
|
||||||
KeyName:
|
KeyName:
|
||||||
default: default
|
default: default
|
||||||
description: Name of an existing Nova key pair to enable SSH access to the instances
|
description: Name of an existing Nova key pair to enable SSH access to the instances
|
||||||
@ -284,6 +290,18 @@ parameters:
|
|||||||
description: The user password for SNMPd with readonly rights running on all Overcloud nodes
|
description: The user password for SNMPd with readonly rights running on all Overcloud nodes
|
||||||
type: string
|
type: string
|
||||||
hidden: true
|
hidden: true
|
||||||
|
StorageVirtualFixedIPs:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Control the IP allocation for the StorageVirtualInterface port. E.g.
|
||||||
|
[{'ip_address':'1.2.3.4'}]
|
||||||
|
type: json
|
||||||
|
StorageMgmtVirtualFixedIPs:
|
||||||
|
default: []
|
||||||
|
description: >
|
||||||
|
Control the IP allocation for the StorageMgmgVirtualInterface port. E.g.
|
||||||
|
[{'ip_address':'1.2.3.4'}]
|
||||||
|
type: json
|
||||||
TimeZone:
|
TimeZone:
|
||||||
default: 'UTC'
|
default: 'UTC'
|
||||||
description: The timezone to be set on nodes.
|
description: The timezone to be set on nodes.
|
||||||
@ -1246,6 +1264,7 @@ resources:
|
|||||||
properties:
|
properties:
|
||||||
ControlPlaneIP: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
|
ControlPlaneIP: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
|
||||||
PortName: internal_api_virtual_ip
|
PortName: internal_api_virtual_ip
|
||||||
|
FixedIPs: {get_param: InternalApiVirtualFixedIPs}
|
||||||
|
|
||||||
StorageVirtualIP:
|
StorageVirtualIP:
|
||||||
depends_on: Networks
|
depends_on: Networks
|
||||||
@ -1253,6 +1272,7 @@ resources:
|
|||||||
properties:
|
properties:
|
||||||
ControlPlaneIP: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
|
ControlPlaneIP: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
|
||||||
PortName: storage_virtual_ip
|
PortName: storage_virtual_ip
|
||||||
|
FixedIPs: {get_param: StorageVirtualFixedIPs}
|
||||||
|
|
||||||
StorageMgmtVirtualIP:
|
StorageMgmtVirtualIP:
|
||||||
depends_on: Networks
|
depends_on: Networks
|
||||||
@ -1260,6 +1280,7 @@ resources:
|
|||||||
properties:
|
properties:
|
||||||
ControlPlaneIP: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
|
ControlPlaneIP: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
|
||||||
PortName: storage_management_virtual_ip
|
PortName: storage_management_virtual_ip
|
||||||
|
FixedIPs: {get_param: StorageMgmtVirtualFixedIPs}
|
||||||
|
|
||||||
VipMap:
|
VipMap:
|
||||||
type: OS::TripleO::Network::Ports::NetVipMap
|
type: OS::TripleO::Network::Ports::NetVipMap
|
||||||
|
Loading…
Reference in New Issue
Block a user