Skip to content
Snippets Groups Projects
Commit ee742133 authored by Martin Čuchran's avatar Martin Čuchran
Browse files

Update infrastructure_init.yaml

parent 621a94ea
No related branches found
No related tags found
No related merge requests found
heat_template_version: '2016-04-08'
parameters:
flavor:
type: string
default: m1.large
resources:
internal_net:
type: OS::Neutron::Net
properties:
name: PV176-private-network
internal_subnet:
type: OS::Neutron::Subnet
properties:
......@@ -21,19 +18,16 @@ resources:
ip_version: 4
enable_dhcp: false
name: PV176-private-subnet
internal_router:
type: OS::Neutron::Router
properties:
external_gateway_info: { network: public-float-21 }
name: PV176-router
internal_interface:
type: OS::Neutron::RouterInterface
properties:
router_id: { get_resource: internal_router }
subnet: { get_resource: internal_subnet }
full_access_secgroup:
type: OS::Neutron::SecurityGroup
properties:
......@@ -47,19 +41,6 @@ resources:
remote_ip_prefix: 10.0.0.0/8
port_range_min: 1
port_range_max: 65000
instance_port_1:
......@@ -70,12 +51,10 @@ resources:
security_groups:
- default
- { get_resource: full_access_secgroup }
floating_ip_1:
type: OS::Nova::FloatingIP
properties:
pool: public-float-21
Server_1:
type: OS::Nova::Server
properties:
......@@ -99,9 +78,6 @@ resources:
floating_ip: { get_resource: floating_ip_1 }
server_id: { get_resource: Server_1 }
instance_port_2:
type: OS::Neutron::Port
properties:
......@@ -110,12 +86,10 @@ resources:
security_groups:
- default
- { get_resource: full_access_secgroup }
floating_ip_2:
type: OS::Nova::FloatingIP
properties:
pool: public-float-21
Server_2:
type: OS::Nova::Server
properties:
......@@ -141,12 +115,10 @@ resources:
security_groups:
- default
- { get_resource: full_access_secgroup }
floating_ip_3:
type: OS::Nova::FloatingIP
properties:
pool: public-float-21
Server_3:
type: OS::Nova::Server
properties:
......@@ -160,5 +132,4 @@ resources:
type: OS::Nova::FloatingIPAssociation
properties:
floating_ip: { get_resource: floating_ip_3 }
server_id: { get_resource: Server_3 }
\ No newline at end of file
server_id: { get_resource: Server_3 }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment