[SDC-29] Amdocs OnBoard 1707 initial commit.
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / heat / nested / reusenestedfrommultibase / inputs / hot-nimbus-pcm_v0.4.yaml
1 heat_template_version: 2013-05-23
2
3 description: heat template that creates PCRF Cluman stack
4
5 parameters:
6   pcm_server_names:
7     type: comma_delimited_list
8     label: PCRF CM server names
9     description: name of the PCRF CM instance
10   pcm_image_name:
11     type: string
12     label: PCRF CM image name
13     description: PCRF CM image name
14   pcm_flavor_name:
15     type: string
16     label: PCRF CM flavor name
17     description: flavor name of PCRF CM instance
18   availabilityzone_name:
19     type: string
20     label: availabilityzone name
21     description: availabilityzone name
22   cps_net_name:
23     type: string
24     label: CPS network name
25     description: CPS network name
26   cps_net_ips:
27     type: comma_delimited_list
28     label: CPS network ips
29     description: CPS network ips
30   cps_net_mask:
31     type: string
32     label: CPS network mask
33     description: CPS network mask
34   oam_net_name:
35     type: string
36     label: OAM network name
37     description: OAM network name
38   oam_net_ips:
39     type: comma_delimited_list
40     label: OAM network ips
41     description: OAM network ips
42   oam_net_gw:
43     type: string
44     label: CPS network gateway
45     description: CPS network gateway
46   oam_net_mask:
47     type: string
48     label: CPS network mask
49     description: CPS network mask
50   pcm_volumes:
51     type: comma_delimited_list
52     label: CPS Cluman Cinder Volume
53     description: CPS Cluman Cinder Volume
54   security_group_name:
55     type: string
56     label: security group name
57     description: the name of security group
58
59 resources:
60   server_pcm_001:
61     type: nested-pcm_v0.1.yaml
62     properties:
63       availabilityzone_name: { get_param: availabilityzone_name }
64       security_group_name: { get_param: security_group_name }
65       pcm_vol: { get_param: [pcm_volumes, 0] }
66       cps_net_name: { get_param: cps_net_name }
67       cps_net_ip: { get_param: [cps_net_ips, 0] }
68       cps_net_mask: { get_param: cps_net_mask }
69       oam_net_name: { get_param: oam_net_name }
70       oam_net_ip: { get_param: [oam_net_ips, 0] }
71       oam_net_mask: { get_param: oam_net_mask }
72       oam_net_gw: { get_param: oam_net_gw }
73       user_data_format: { get_attr: [server_pcm_002 , pcm_vol] }
74
75   server_pcm_002:
76       type: nested-pcm_v0.1.yaml
77       properties:
78         pcm_server_name: { get_param: [pcm_server_names, 0] }
79         pcm_image_name: { get_param: pcm_image_name }
80         pcm_flavor_name: { get_param: pcm_flavor_name }
81         availabilityzone_name: { get_param: availabilityzone_name }
82         security_group_name: { get_param: security_group_name }
83         pcm_vol: { get_param: [pcm_volumes, 0] }
84         metadata: { get_attr: [server_pcm_001]}
85
86   packet_mirror_network:
87     type: OS::Neutron::Net
88     depends_on:
89       - server_pcm_001
90     properties:
91       name:
92         get_param: cps_net_name
93
94 outputs:
95     output_attr_1:
96       value: {get_attr: [server_pcm_001 , pcm_vol] }
97
98     output_attr_2:
99           value: {get_attr: [server_pcm_002 , oam_net_ip] }