diff --git a/Openstack/infrastructure_init.yaml b/Openstack/infrastructure_init.yaml index cd79cefa36d05c58167e19a2a717d8cfc3937a19..b8a21fe9c712fc63ab9b745302d7f5d9182898ac 100644 --- a/Openstack/infrastructure_init.yaml +++ b/Openstack/infrastructure_init.yaml @@ -1,17 +1,14 @@ 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