blob: 5181f949322c9a4576085c5000ae94b48e20376f (
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
heat_template_version: 2013-05-23
description: heat template that creates PCRF Session Manager stack
parameters:
num_instances:
type: comma_delimited_list
label: PCRF SM server names
description: name of the PCRF SM instance
pcrf_psm_server_names:
type: comma_delimited_list
label: PCRF SM server names
description: name of the PCRF SM instance
pcrf_psm_image_name:
type: string
label: PCRF SM image name
description: PCRF SM image name
pcrf_psm_flavor_name:
type: string
label: PCRF SM flavor name
description: flavor name of PCRF SM instance
availabilityzone_name:
type: string
label: availabilityzone name
description: availabilityzone name
pcrf_cps_net_name:
type: string
label: CPS network name
description: CPS network name
pcrf_cps_net_ips:
type: comma_delimited_list
label: CPS network ips
description: CPS network ips
pcrf_cps_net_mask:
type: string
label: CPS network mask
description: CPS network mask
pcrf_security_group_name:
type: string
label: security group name
description: the name of security group
pcrf_vnf_id:
type: string
label: PCRF VNF Id
description: PCRF VNF Id
pcrf_pps_server_names:
type: string
pcrf_pps_image_name:
type: string
pcrf_pps_flavor_name:
type: string
availability_zone_0:
type: string
resources:
resource_with_resources_group_1:
type: OS::Heat::ResourceGroup
properties:
count: { get_param: num_instances }
index_var: { get_param: num_instances }
resource_def:
type: yamlFile.yaml
properties:
pcrf_psm_server_names: { get_param: pcrf_pps_server_names }
pcrf_psm_image_name: { get_param: pcrf_pps_image_name }
index_string: { get_param: num_instances }
index_number: { get_param: num_instances }
resource_with_resources_group_2:
type: OS::Heat::ResourceGroup
properties:
count: { get_param: num_instances }
index_var: myIndex
resource_def:
type: yamlFile.yaml
properties:
pcrf_psm_server_names: { get_param: pcrf_pps_server_names }
pcrf_psm_image_name: { get_param: pcrf_pps_image_name }
index_boolean: myIndex
index_number: myIndex
index_string: myIndex
resource_with_resources_group_3:
type: OS::Heat::ResourceGroup
properties:
count: { get_param: num_instances }
index_var: '%myIndex%'
resource_def:
type: yamlFile.yaml
properties:
pcrf_psm_server_names: { get_param: pcrf_pps_server_names }
pcrf_psm_image_name: { get_param: pcrf_pps_image_name }
index_boolean: "%myIndex%"
index_number: "%index%"
index_string: "%myIndex%"
index_number_v2: "%myIndex%"
resource_with_resources_group_4:
type: OS::Heat::ResourceGroup
properties:
count: { get_param: num_instances }
resource_def:
type: yamlFile.yaml
properties:
pcrf_psm_server_names: { get_param: pcrf_pps_server_names }
pcrf_psm_image_name: { get_param: pcrf_pps_image_name }
index_boolean: "%index%"
index_number: "%index%"
index_string: "%index%"
resource_with_resources_group_5:
type: OS::Heat::ResourceGroup
properties:
count: { get_param: num_instances }
resource_def:
type: yamlFile.yaml
properties:
pcrf_psm_server_names: { get_param: pcrf_pps_server_names }
pcrf_psm_image_name: { get_param: pcrf_pps_image_name }
index_boolean: "%index%_ttt"
index_number: "%index%_ttt"
index_string: "%index%_ttt"
resource_with_resources_group_6:
type: OS::Heat::ResourceGroup
properties:
count: { get_param: num_instances }
index_var: { remote_ip_prefix: '0.0.0.0/0', protocol: tcp, port_range_min: 22, port_range_max: 22, ethertype: IPv4 }
resource_def:
type: yamlFile.yaml
properties:
pcrf_psm_server_names: { get_param: pcrf_pps_server_names }
pcrf_psm_image_name: { get_param: pcrf_pps_image_name }
index_string: { get_param: num_instances }
index_number: { get_param: num_instances }
|