Added floating ip for interface machine.
This commit is contained in:
parent
0796ce6311
commit
ca112f6977
@ -38,7 +38,6 @@ parameters:
|
||||
description: Size (GB) of the volume for each compute node
|
||||
|
||||
|
||||
|
||||
resources:
|
||||
internal_net:
|
||||
type: OS::Neutron::Net
|
||||
@ -64,6 +63,21 @@ resources:
|
||||
router_id: {get_resource: internal_router}
|
||||
subnet: {get_resource: internal_subnet}
|
||||
|
||||
public_port:
|
||||
type: OS::Neutron::Port
|
||||
properties:
|
||||
network_id: {get_resource: internal_net}
|
||||
fixed_ips:
|
||||
- subnet_id: {get_resource: internal_subnet}
|
||||
security_groups:
|
||||
- default
|
||||
|
||||
floating_ip:
|
||||
type: OS::Neutron::FloatingIP
|
||||
properties:
|
||||
floating_network_id: {get_param: public_net}
|
||||
port_id: {get_resource: public_port}
|
||||
|
||||
interface: # User-interface for cluster-operation
|
||||
type: OS::Nova::Server
|
||||
properties:
|
||||
@ -71,7 +85,7 @@ resources:
|
||||
image: {get_param: image_name}
|
||||
flavor: {get_param: aux_flavor}
|
||||
networks:
|
||||
- network: {get_resource: internal_net}
|
||||
- port: {get_resource: public_port}
|
||||
|
||||
admin: # Machine to run slurm and other admin tools on.
|
||||
type: OS::Nova::Server
|
||||
|
Loading…
Reference in New Issue
Block a user