blob: 072a8ba934089964255096c3bb58a4be398fb398 (
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
|
heat_template_version: 2013-05-23
description: heat template that creates PCRF Policy Server stack
parameters:
pcrf_pps_server_names:
type: comma_delimited_list
label: PCRF PS server names
description: PCRF PS server names
pcrf_pps_image_name:
type: string
default: True
label: PCRF PS image name
description: PCRF PS image name
pcrf_pps_flavor_name:
type: string
label: PCRF PS flavor name
description: flavor name of PCRF PS 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
availability_zone_1:
type: string
label: PCRF VNF Id
description: PCRF VNF Id
pcrf_images:
type: string
label: PCRF VNF Id
description: PCRF VNF Id
pcrf_network_v0_ips:
type: string
label: PCRF VNF Id
description: PCRF VNF Id
network_net_id:
type: string
label: PCRF VNF Id
description: PCRF VNF Id
resources:
server_pcrf_pps_001:
type: nested-pps_v1.0.yaml
properties:
pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 0] }
pcrf_pps_image_name: { get_param: pcrf_pps_image_name }
pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name }
availabilityzone_name: { get_param: availabilityzone_name }
pcrf_security_group_name: { get_param: pcrf_security_group_name }
pcrf_cps_net_name: { get_param: pcrf_cps_net_name }
pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] }
pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask }
pcrf_vnf_id: {get_param: pcrf_vnf_id}
resource_illegal_image:
type: OS::Nova::Server
properties:
name: { get_param: [pcrf_pps_server_names, 0] }
image: {get_param: pcrf_images}
flavor: {get_param: pcrf_flavor_11}
metadata:
vnf_id: { get_param: pcrf_vnf_id }
vf_module_id: { get_param: pcrf_vnf_module_id }
resource_illegal_network_1:
type: OS::Neutron::Port
properties:
name: { get_param: [pcrf_pps_server_names, 0] }
network: {get_param: network_net_id}
resource_illegal_network_2:
type: OS::Neutron::Port
properties:
name: { get_param: [pcrf_pps_server_names, 0] }
network: {get_param: network_net_id}
fixed_ips:
- ip_address: {get_param: pcrf_network_v0_ips}
availability_zone_illegal_name_2:
type: OS::Nova::Server
properties:
name: { get_param: [pcrf_pps_server_names, 0] }
availability_zone: {get_param: availability_zone}
metadata:
vnf_id: { get_param: pcrf_vnf_id }
vf_module_id: { get_param: pcrf_vnf_module_id }
|