[SDC-29] Amdocs OnBoard 1707 initial commit.
[sdc.git] / openecomp-be / lib / openecomp-sdc-validation-lib / openecomp-sdc-validation-impl / src / test / resources / org / openecomp / validation / validators / heat_validator / shared_resources / input / hot-nimbus-pps_v1.0.yaml
1 heat_template_version: 2013-05-23
2
3 description: heat template that creates PCRF Policy Server stack
4
5 parameters:
6   pcrf_pps_server_names:
7     type: comma_delimited_list
8     label: PCRF PS server names
9     description: PCRF PS server names
10   pcrf_pps_image_name:
11     type: string
12     label: PCRF PS image name
13     description: PCRF PS image name
14   pcrf_pps_flavor_name:
15     type: string
16     label: PCRF PS flavor name
17     description: flavor name of PCRF PS instance
18   availabilityzone_name:
19     type: string
20     label: availabilityzone name
21     description: availabilityzone name
22   pcrf_cps_net_name:
23     type: string
24     label: CPS network name
25     description: CPS network name
26   pcrf_cps_net_ips:
27     type: comma_delimited_list
28     label: CPS network ips
29     description: CPS network ips
30   pcrf_cps_net_mask:
31     type: string
32     label: CPS network mask
33     description: CPS network mask
34   pcrf_security_group_name:
35     type: string
36     label: security group name
37     description: the name of security group
38   pcrf_vnf_id:
39     type: string
40     label: PCRF VNF Id
41     description: PCRF VNF Id
42
43 resources:
44   used_security_group:
45     type: OS::Neutron::SecurityGroup
46     properties:
47       pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 0] }
48       pcrf_pps_image_name: { get_param: pcrf_pps_image_name }
49
50   not_used_security_group:
51     type: OS::Neutron::SecurityGroup
52     properties:
53       pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 0] }
54       pcrf_pps_image_name: { get_param: pcrf_pps_image_name }
55
56   shared_security_group:
57     type: OS::Neutron::SecurityGroup
58     properties:
59       pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 0] }
60       pcrf_pps_image_name: { get_param: pcrf_pps_image_name }
61
62   shared_server_group:
63     type: OS::Nova::ServerGroup
64     properties:
65       pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 0] }
66       pcrf_pps_image_name: { get_param: pcrf_pps_image_name }
67
68   server_pcrf_network:
69     type: OS::Contrail::VirtualNetwork
70     properties:
71       pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 0] }
72       pcrf_pps_image_name: { get_param: pcrf_pps_image_name }
73
74   attach_policy_resource:
75     type: OS::Neutron::Port
76     properties:
77       security_groups: [{ get_resource: used_security_group }]
78
79
80 outputs:
81   output_shrared_resource_1:
82     description:  uuid of the security group
83     value: {get_resource: shared_security_group }
84
85   output_shrared_resource_2:
86     description:  uuid of the security group
87     value: {get_resource: shared_server_group }
88
89
90