Syntax fixes: launched a cluster..
This commit is contained in:
parent
5b3e950e70
commit
0796ce6311
@ -20,7 +20,7 @@ parameters:
|
|||||||
type: string
|
type: string
|
||||||
label: Flavor for compute nodes,
|
label: Flavor for compute nodes,
|
||||||
description: Flavor with which to start compute nodes.
|
description: Flavor with which to start compute nodes.
|
||||||
compute_flavor:
|
aux_flavor:
|
||||||
type: string
|
type: string
|
||||||
label: Flavor for auxiliary nodes.
|
label: Flavor for auxiliary nodes.
|
||||||
description: Flavor with which to start auxiliary nodes. (for now only the interface machine)
|
description: Flavor with which to start auxiliary nodes. (for now only the interface machine)
|
||||||
@ -28,27 +28,35 @@ parameters:
|
|||||||
type: string
|
type: string
|
||||||
label: Cidr for internal subnet
|
label: Cidr for internal subnet
|
||||||
description: Cidr for the subnet of the internal user network.
|
description: Cidr for the subnet of the internal user network.
|
||||||
|
internal_net_name:
|
||||||
|
type: string
|
||||||
|
label: Name for the internal network
|
||||||
|
description: Name for the internal network of this cluster.
|
||||||
volume_size:
|
volume_size:
|
||||||
type: string
|
type: string
|
||||||
label: Size (GB)
|
label: Size (GB)
|
||||||
description: Size (GB) of the volume for each compute node
|
description: Size (GB) of the volume for each compute node
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
internal_net:
|
internal_net:
|
||||||
type: OS::Neutron::Net
|
type: OS::Neutron::Net
|
||||||
|
properties:
|
||||||
|
name: { get_param: internal_net_name }
|
||||||
|
|
||||||
internal_subnet:
|
internal_subnet:
|
||||||
type: OS::Neutron::Subnet
|
type: OS::Neutron::Subnet
|
||||||
properties:
|
properties:
|
||||||
network_id: { get_resource: internal_net }
|
network_id: { get_resource: internal_net }
|
||||||
cidr: { get_resource: cidr }
|
cidr: { get_param: cidr }
|
||||||
dns_nameservers: [ "129.125.4.6", "129.125.36.10" ]
|
dns_nameservers: [ "129.125.4.6", "129.125.36.10" ]
|
||||||
ip_version: 4
|
ip_version: 4
|
||||||
|
|
||||||
internal_router:
|
internal_router:
|
||||||
type: OS::Neutron::Router
|
type: OS::Neutron::Router
|
||||||
properties:
|
properties:
|
||||||
external_gateway_info: { network: public_net }
|
external_gateway_info: { network: { get_param: public_net} }
|
||||||
|
|
||||||
internal_interface:
|
internal_interface:
|
||||||
type: OS::Neutron::RouterInterface
|
type: OS::Neutron::RouterInterface
|
||||||
@ -63,7 +71,7 @@ resources:
|
|||||||
image: {get_param: image_name}
|
image: {get_param: image_name}
|
||||||
flavor: {get_param: aux_flavor}
|
flavor: {get_param: aux_flavor}
|
||||||
networks:
|
networks:
|
||||||
- network: internal_net
|
- network: {get_resource: internal_net}
|
||||||
|
|
||||||
admin: # Machine to run slurm and other admin tools on.
|
admin: # Machine to run slurm and other admin tools on.
|
||||||
type: OS::Nova::Server
|
type: OS::Nova::Server
|
||||||
@ -72,12 +80,12 @@ resources:
|
|||||||
image: {get_param: image_name}
|
image: {get_param: image_name}
|
||||||
flavor: {get_param: aux_flavor}
|
flavor: {get_param: aux_flavor}
|
||||||
networks:
|
networks:
|
||||||
- network: internal_net
|
- network: {get_resource: internal_net}
|
||||||
|
|
||||||
vcompute01-volume:
|
vcompute01-volume:
|
||||||
type: OS::Cinder::Volume
|
type: OS::Cinder::Volume
|
||||||
properties:
|
properties:
|
||||||
size: { get_param: volume_size }
|
size: {get_param: volume_size}
|
||||||
|
|
||||||
vcompute01:
|
vcompute01:
|
||||||
type: OS::Nova::Server
|
type: OS::Nova::Server
|
||||||
@ -86,7 +94,7 @@ resources:
|
|||||||
image: {get_param: image_name}
|
image: {get_param: image_name}
|
||||||
flavor: {get_param: compute_flavor}
|
flavor: {get_param: compute_flavor}
|
||||||
networks:
|
networks:
|
||||||
- network: internal_net
|
- network: {get_resource: internal_net}
|
||||||
|
|
||||||
volume_attachment:
|
volume_attachment:
|
||||||
type: OS::Cinder::VolumeAttachment
|
type: OS::Cinder::VolumeAttachment
|
||||||
@ -97,7 +105,7 @@ resources:
|
|||||||
vcompute02-volume:
|
vcompute02-volume:
|
||||||
type: OS::Cinder::Volume
|
type: OS::Cinder::Volume
|
||||||
properties:
|
properties:
|
||||||
size: { get_param: volume_size }
|
size: {get_param: volume_size}
|
||||||
|
|
||||||
vcompute02:
|
vcompute02:
|
||||||
type: OS::Nova::Server
|
type: OS::Nova::Server
|
||||||
@ -106,7 +114,7 @@ resources:
|
|||||||
image: {get_param: image_name}
|
image: {get_param: image_name}
|
||||||
flavor: {get_param: compute_flavor}
|
flavor: {get_param: compute_flavor}
|
||||||
networks:
|
networks:
|
||||||
- network: internal_net
|
- network: {get_resource: internal_net}
|
||||||
|
|
||||||
volume_attachment:
|
volume_attachment:
|
||||||
type: OS::Cinder::VolumeAttachment
|
type: OS::Cinder::VolumeAttachment
|
||||||
|
Loading…
Reference in New Issue
Block a user