push addional code
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / heat / nested / resourceGroupMDNS / inputs / dns_az_01.yaml
1 heat_template_version: 2014-10-16
2
3 description: DNS master template
4
5 parameters:
6   dns_image_name:
7     type: string
8     description: operative system image
9   dns_flavor_name:
10     type: string
11     description: resources to by appplied on instances
12   dns_key:
13     type: string
14     description: creator's ssh public key
15   node_count:
16     type: number
17     description: the number of DNS nested instances
18   oam_protected_net_name:
19     type: string
20     description: OAM network where instaces will connect
21   int_bearer_net_name:
22     type: string
23     description: Bearer network where instaces will connect
24   dns_oam_protected_ips:
25     type: comma_delimited_list
26     description: DNS OAM IP list
27   dns_int_bearer_ips:
28     type: comma_delimited_list
29     description: DNS Bearer IP list
30   dns_int_bearer_ipv6_ips:
31     type: comma_delimited_list
32     description: fixed IP assignment for VM's on the Bearer network
33   dns_server_names:
34     type: comma_delimited_list
35     description: DNS VM server name list
36   route_eth0:
37     type: string
38     description: OAM network routes 
39   DNS_shared_sec_grp_id:
40     type: string
41     description: security group UUID
42   availability_zone_0:
43     type: string
44     description: availability zone ID or Name
45   vnf_name:
46     type: string
47     description: Unique name for this VF instance
48 #   For manual spinups, value must be in the ENV file. Must be removed from ENV before uploading to ASDC
49   vnf_id:
50     type: string
51     description: Unique ID for this VF instance
52 #   For manual spinups, value must be in the ENV file. Must be removed from ENV before uploading to ASDC
53   vf_module_id:
54     type: string
55     description: Unique ID for this VF module instance
56 #   For manual spinups, value must be in the ENV file. Must be removed from ENV before uploading to ASDC
57     
58
59 resources:
60   dns_server_group_az:
61     type: OS::Heat::ResourceGroup
62     properties:
63       count: { get_param: node_count }
64       index_var: index
65       resource_def:
66         type: dns_nested_01.yaml
67         properties:
68           index: index
69           name_with_index: name_index
70           dns_image_name: { get_param: dns_image_name }
71           dns_flavor_name: { get_param: dns_flavor_name }
72           dns_key: { get_param: dns_key }
73           availability_zone_0: { get_param: availability_zone_0 }
74           security_group: { get_param: DNS_shared_sec_grp_id }
75           oam_protected_net_name: { get_param: oam_protected_net_name }
76           int_bearer_net_name: { get_param: int_bearer_net_name }   
77           dns_oam_protected_ips: { get_param: dns_oam_protected_ips }
78           dns_int_bearer_ips: { get_param: dns_int_bearer_ips }
79           dns_int_bearer_ipv6_ips: { get_param: dns_int_bearer_ipv6_ips }
80           dns_names: { get_param: dns_server_names }
81           route_eth0: { get_param: route_eth0 }
82           vnf_name: { get_param: vnf_name }
83           vnf_id: { get_param: vnf_id }
84           vf_module_id: {get_param: vf_module_id}
85
86 #outputs:
87 #  vm_name:
88 #    description: VM name
89 #    value: { get_attr: [ dns_server_group_az, vm_name ] }
90 #  networks:
91 #    description: networks
92 #    value: { get_attr: [ dns_server_group_az, networks ] } 
93
94