blob: f0e4761e187a890b1edd8a88808a42a2265d3fed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
heat_template_version: 2014-10-16
parameters:
public_network:
type: string
label: Publi_N_ID
description: Public
default: 'net04_ext'
private_net_name:
type: string
default: 'private_network'
availability_zone:
type: string
description: The AvailZone.
default: compute1
resources:
private_network:
type: OS::Neutron::Net
private_subnet:
type: OS::Neutron::Subnet
properties:
network_id: { get_resource: private_network }
cidr: '10.10.17.0/24'
dns_nameservers: [ '8.8.8.8' ]
gateway_ip: '10.10.17.1'
allocation_pools: [ {"start":'10.10.17.2', "end": '10.10.17.200'} ]
router_1:
type: OS::Neutron::Router
properties:
external_gateway_info:
network: { get_param: public_network }
router_interface:
type: OS::Neutron::RouterInterface
properties:
router_id: { get_resource: router_1 }
subnet: { get_resource: private_subnet }
outputs:
description: 'none'
|