[sdc] docker file fix for cassandra
[sdc.git] / openecomp-be / lib / openecomp-sdc-validation-lib / openecomp-sdc-validation-impl / src / test / resources / org / openecomp / validation / validators / heat_validator / one_nova_points_to_one_port / negative_test / input / hot-nimbus-psm_v1.0.yaml
1 heat_template_version: 2013-05-23
2
3 description: heat template that creates PCRF Session Manager stack
4
5 parameters:
6   pcrf_psm_server_names:
7     type: comma_delimited_list
8     label: PCRF SM server names
9     description: name of the PCRF SM instance
10   pcrf_psm_image_name:
11     type: string
12     label: PCRF SM image name
13     description: PCRF SM image name
14   pcrf_psm_flavor_name:
15     type: string
16     label: PCRF SM flavor name
17     description: flavor name of PCRF SM 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   vnf_id:
43     type: string
44
45 resources:
46   nova_server_2:
47     type: OS::Nova::Server
48     properties:
49       pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 0] }
50       image: { get_param: pcrf_psm_image_name }
51       flavor: { get_param: pcrf_psm_flavor_name }
52       availabilityzone_name: { get_param: availabilityzone_name }
53       networks:
54         - port: { get_resource: oam1_int_port }
55           fixed_ip: 10.0.0.0
56           floating_ip: 10.0.0.1
57           network: 100_1000_0011
58           port_extra_properties: {admin_state_up: true , allowed_address_pairs: 10}
59           subnet: 10.0.0.2
60         - port: { get_resource: oam1_mgmt_port }
61       metadata:
62         vnf_id: { get_param: vnf_id }
63
64   nova_server_3:
65       type: OS::Nova::Server
66       properties:
67         pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 0] }
68         image: { get_param: pcrf_psm_image_name }
69         flavor: { get_param: pcrf_psm_flavor_name }
70         availabilityzone_name: { get_param: availabilityzone_name }
71         networks:
72           - port: { get_resource: oam1_int_port }
73             fixed_ip: 10.0.0.0
74             floating_ip: 10.0.0.1
75             network: 100_1000_0011
76             port_extra_properties: {admin_state_up: true , allowed_address_pairs: 10}
77             subnet: 10.0.0.2
78         metadata:
79           vnf_id: { get_param: vnf_id }
80
81   oam1_int_port:
82     type: OS::Neutron::Port
83     properties:
84       network: {get_param: pcrf_psm_server_names}
85       fixed_ips: [{"ip_address": {get_param: [pcrf_psm_image_name, 0]}}]
86       security_groups: [{get_param: pcrf_psm_image_name}]
87       replacement_policy: AUTO
88
89   oam1_mgmt_port:
90     type: OS::Neutron::Port
91     properties:
92       network: {get_param: pcrf_psm_server_names}
93       fixed_ips: [{"ip_address": {get_param: [pcrf_psm_image_name, 0]}}]
94       security_groups: [{get_param: pcrf_psm_image_name}]
95       replacement_policy: AUTO