83a2eaf23ac8a7207e61309c86f626485a318162
[sdc.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Main
4 imports:
5 - openecomp_heat_index:
6     file: openecomp-heat/_index.yml
7 - GlobalSubstitutionTypes:
8     file: GlobalSubstitutionTypesServiceTemplate.yaml
9 topology_template:
10   inputs:
11     dummy_net_name_1:
12       label: csb ineternal cidr
13       hidden: false
14       immutable: false
15       annotations:
16         source:
17           type: org.openecomp.annotations.Source
18           properties:
19             vf_module_label:
20             - hot-mog-0108-bs1271
21             source_type: HEAT
22             param_name: dummy_net_name_1
23       type: string
24       description: csb internal cidr
25       default: packet-net-1
26     availabilityzone_name:
27       label: availabilityzone name
28       hidden: false
29       immutable: false
30       annotations:
31         source:
32           type: org.openecomp.annotations.Source
33           properties:
34             vf_module_label:
35             - hot-mog-0108-bs1271
36             source_type: HEAT
37             param_name: availabilityzone_name
38       type: string
39       description: availabilityzone name
40       default: nova
41     pd_image_name:
42       label: image name
43       hidden: false
44       immutable: false
45       annotations:
46         source:
47           type: org.openecomp.annotations.Source
48           properties:
49             vf_module_label:
50             - hot-mog-0108-bs1271
51             source_type: HEAT
52             param_name: pd_image_name
53       type: string
54       description: PD image name
55       default: MOG_BASE_8.0
56     pd_server_names:
57       label: PD server names
58       hidden: false
59       immutable: false
60       annotations:
61         source:
62           type: org.openecomp.annotations.Source
63           properties:
64             vf_module_label:
65             - hot-mog-0108-bs1271
66             source_type: HEAT
67             param_name: pd_server_names
68       type: list
69       description: name of the PD instance
70       default:
71       - ZRDM1MOGX01MPD001
72       - ZRDM1MOGX01MPD002
73       entry_schema:
74         type: string
75     oam_net_name:
76       label: oam network name
77       hidden: false
78       immutable: false
79       annotations:
80         source:
81           type: org.openecomp.annotations.Source
82           properties:
83             vf_module_label:
84             - hot-mog-0108-bs1271
85             source_type: HEAT
86             param_name: oam_net_name
87       type: string
88       description: name of the oam network
89       default: oam_protected_net_0
90   node_templates:
91     abstract_pd_server:
92       type: org.openecomp.resource.abstract.nodes.pd_server
93       directives:
94       - substitutable
95       properties:
96         port_pd01_port_0_mac_requirements:
97           mac_count_required:
98             is_required: false
99         port_pd01_port_0_network:
100         - get_attribute:
101           - network_policy_server
102           - name
103         port_pd01_port_0_ip_requirements:
104         - ip_version: 4
105           ip_count_required:
106             is_required: false
107           floating_ip_count_required:
108             is_required: false
109         port_pd01_port_1_ip_requirements:
110         - ip_version: 4
111           ip_count_required:
112             is_required: false
113           floating_ip_count_required:
114             is_required: false
115         compute_pd_server_availability_zone:
116         - get_input: availabilityzone_name
117         compute_pd_server_name:
118         - get_input:
119           - pd_server_names
120           - 0
121         vm_flavor_name:
122           get_attribute:
123           - network_policy_server
124           - name
125         port_pd01_port_1_mac_requirements:
126           mac_count_required:
127             is_required: false
128         vm_image_name:
129           get_input: pd_image_name
130         port_pd01_port_1_network:
131         - get_input: oam_net_name
132         compute_pd_server_user_data_format:
133         - RAW
134         service_template_filter:
135           substitute_service_template: Nested_pd_serverServiceTemplate.yaml
136           count: 1
137         index_value:
138           get_property:
139           - SELF
140           - service_template_filter
141           - index_value
142     network_policy_server:
143       type: org.openecomp.resource.vfc.rules.nodes.heat.network.contrail.NetworkRules
144       properties:
145         name:
146           get_input: dummy_net_name_1
147   groups:
148     hot-mog-0108-bs1271_group:
149       type: org.openecomp.groups.heat.HeatStack
150       properties:
151         heat_file: ../Artifacts/hot-mog-0108-bs1271.yml
152         description: heat template that creates MOG stack
153       members:
154       - network_policy_server
155       - abstract_pd_server