Merge "Add deployed-server backwards compatible template"
This commit is contained in:
commit
6998edc64a
28
deployed-server/ctlplane-port.yaml
Normal file
28
deployed-server/ctlplane-port.yaml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
heat_template_version: ocata
|
||||||
|
|
||||||
|
parameters:
|
||||||
|
network:
|
||||||
|
type: string
|
||||||
|
default: ctlplane
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
replacement_policy:
|
||||||
|
type: string
|
||||||
|
default: AUTO
|
||||||
|
|
||||||
|
resources:
|
||||||
|
|
||||||
|
ControlPlanePort:
|
||||||
|
type: OS::Neutron::Port
|
||||||
|
properties:
|
||||||
|
network: ctlplane
|
||||||
|
name:
|
||||||
|
list_join:
|
||||||
|
- '-'
|
||||||
|
- - {get_param: name}
|
||||||
|
- port
|
||||||
|
replacement_policy: AUTO
|
||||||
|
|
||||||
|
outputs:
|
||||||
|
fixed_ips:
|
||||||
|
value: {get_attr: [ControlPlanePort, fixed_ips]}
|
@ -106,7 +106,7 @@ resources:
|
|||||||
config: {get_resource: HostsEntryConfig}
|
config: {get_resource: HostsEntryConfig}
|
||||||
server: {get_resource: deployed-server}
|
server: {get_resource: deployed-server}
|
||||||
|
|
||||||
ControlPlanePortImpl:
|
ControlPlanePort:
|
||||||
type: OS::TripleO::DeployedServer::ControlPlanePort
|
type: OS::TripleO::DeployedServer::ControlPlanePort
|
||||||
properties:
|
properties:
|
||||||
network: ctlplane
|
network: ctlplane
|
||||||
@ -123,6 +123,6 @@ outputs:
|
|||||||
networks:
|
networks:
|
||||||
value:
|
value:
|
||||||
ctlplane:
|
ctlplane:
|
||||||
- {get_attr: [ControlPlanePortImpl, fixed_ips, 0, ip_address]}
|
- {get_attr: [ControlPlanePort, fixed_ips, 0, ip_address]}
|
||||||
name:
|
name:
|
||||||
value: {get_attr: [HostsEntryDeployment, hostname]}
|
value: {get_attr: [HostsEntryDeployment, hostname]}
|
||||||
|
@ -10,3 +10,6 @@ Contents
|
|||||||
|
|
||||||
**update-from-publicvip-on-ctlplane.yaml**
|
**update-from-publicvip-on-ctlplane.yaml**
|
||||||
To be used if the PublicVirtualIP resource was deployed as an additional VIP on the 'ctlplane'.
|
To be used if the PublicVirtualIP resource was deployed as an additional VIP on the 'ctlplane'.
|
||||||
|
|
||||||
|
**update-from-deloyed-server-newton.yaml**
|
||||||
|
To be used when updating from the deployed-server template from Newton.
|
||||||
|
@ -0,0 +1,2 @@
|
|||||||
|
resource_registry:
|
||||||
|
OS::TripleO::DeployedServer::ControlPlanePort: ../../deployed-server/ctlplane-port.yaml
|
Loading…
Reference in New Issue
Block a user