blob: 44a945b8812933574489a9ad373f56c1e488f273 (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
heat_template_version: ocata
parameters:
network_name:
type: string
default: public
physical_network_name:
type: string
default: ovsnet
vlan_id:
type: string
default: 1153
subnet_name:
type: string
default: public
subnet_cidr:
type: string
default: 10.10.155.0/24
subnet_gateway:
type: string
default: 10.10.155.1
subnet_pool_start:
type: string
default: 10.10.155.29
subnet_pool_end:
type: string
default: 10.10.155.99
resources:
public_net:
type: OS::Neutron::ProviderNet
properties:
admin_state_up: true
name:
get_param: network_name
network_type: vlan
physical_network:
get_param: physical_network_name
segmentation_id:
get_param: vlan_id
port_security_enabled: true
router_external: false
shared: true
private_subnet:
type: OS::Neutron::Subnet
properties:
name:
get_param: subnet_name
network:
get_resource: public_net
cidr:
get_param: subnet_cidr
gateway_ip:
get_param: subnet_gateway
enable_dhcp: true
allocation_pools:
- start:
get_param: subnet_pool_start
end:
get_param: subnet_pool_end
dns_nameservers:
- 10.10.155.20
|