Upgrade Vulnerable Direct Dependencies [snakeyaml]
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / consolidation / translatedfiles / pre_condition / three_compute_two_similar_one_diff / MainServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Main
4 imports:
5 - CommonGlobalTypes:
6     file: CommonGlobalTypesServiceTemplate.yaml
7 - NovaServerGlobalTypes:
8     file: NovaServerGlobalTypesServiceTemplate.yaml
9 - NeutronPortGlobalTypes:
10     file: NeutronPortGlobalTypesServiceTemplate.yaml
11 - NeutronSecurityRulesGlobalTypes:
12     file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
13 - NeutronNetGlobalTypes:
14     file: NeutronNetGlobalTypesServiceTemplate.yaml
15 - CinderVolumeGlobalTypes:
16     file: CinderVolumeGlobalTypesServiceTemplate.yaml
17 - ContrailVirtualNetworkGlobalType:
18     file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
19 - ContrailNetworkRuleGlobalType:
20     file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
21 - AbstractSubstituteGlobalTypes:
22     file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
23 - ContrailV2VirtualMachineInterfaceGlobalType:
24     file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
25 - ContrailComputeGlobalTypes:
26     file: ContrailComputeGlobalTypesServiceTemplate.yaml
27 - ContrailPortGlobalTypes:
28     file: ContrailPortGlobalTypesServiceTemplate.yaml
29 - ContrailAbstractSubstituteGlobalTypes:
30     file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
31 - ContrailV2VirtualNetworkGlobalType:
32     file: ContrailV2VirtualNetworkGlobalTypeServiceTemplate.yaml
33 - ContrailV2NetworkRuleGlobalType:
34     file: ContrailV2NetworkRuleGlobalTypeServiceTemplate.yaml
35 - ContrailV2VLANSubInterfaceGlobalType:
36     file: ContrailV2VLANSubInterfaceGlobalTypeServiceTemplate.yaml
37 node_types:
38   org.openecomp.resource.vfc.nodes.heat.ps_server:
39     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
40   org.openecomp.resource.vfc.nodes.heat.cmaui:
41     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
42 topology_template:
43   inputs:
44     availabilityzone_name:
45       label: availabilityzone name
46       hidden: false
47       immutable: false
48       type: string
49       description: availabilityzone name
50       default: nova
51     repl_net_ips:
52       label: repl network ips
53       hidden: false
54       immutable: false
55       type: list
56       description: ips of repl network
57       default:
58       - 107.239.33.57
59       - 107.239.33.58
60       entry_schema:
61         type: string
62     oam_net_name:
63       label: oam network name
64       hidden: false
65       immutable: false
66       type: string
67       description: name of the oam network
68       default: oam_protected_net_0
69     oam_net_ips:
70       label: internet network ips
71       hidden: false
72       immutable: false
73       type: list
74       description: ip of the OAM network
75       default:
76       - 107.250.172.213
77       - 107.250.172.214
78       - 107.250.172.215
79       - 107.250.172.216
80       - 107.250.172.217
81       entry_schema:
82         type: string
83     ps_server_names:
84       label: PS server names
85       hidden: false
86       immutable: false
87       type: list
88       description: name of the PS instance
89       default:
90       - ZRDM1MOGX01MPS001
91       - ZRDM1MOGX01MPS002
92       - ZRDM1MOGX01MPS003
93       - ZRDM1MOGX01MPS004
94       entry_schema:
95         type: string
96     csb_net_ips:
97       hidden: false
98       immutable: false
99       type: list
100       description: mog_csb_net IP addresses
101       default:
102       - 172.26.0.10
103       - 172.26.0.11
104       - 172.26.0.12
105       - 172.26.0.13
106       - 172.26.0.14
107       - 172.26.0.15
108       - 172.26.0.16
109       - 172.26.0.17
110       - 172.26.0.18
111       - 172.26.0.19
112       - 172.26.0.20
113       entry_schema:
114         type: string
115     ps_flavor_name:
116       label: PS flavor name
117       hidden: false
118       immutable: false
119       type: string
120       description: flavor name of PS instance
121       default: m3.xlarge
122     ps_image_name:
123       label: PS image name
124       hidden: false
125       immutable: false
126       type: string
127       description: PS image name
128       default: MOG_BASE_8.0
129     repl_net_name:
130       label: Replication network name
131       hidden: false
132       immutable: false
133       type: string
134       description: name of the replication network
135       default: cor_direct_net_0
136   node_templates:
137     cm01_port_1:
138       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
139       properties:
140         fixed_ips:
141         - ip_address:
142             get_input:
143             - oam_net_ips
144             - 4
145         allowed_address_pairs:
146           get_input:
147           - interface_list
148           - 2
149           - allowed_address_pairs
150         mac_address:
151           get_input: ncb1_internal1_mac_address
152       requirements:
153       - binding:
154           capability: tosca.capabilities.network.Bindable
155           node: server_cm01
156           relationship: tosca.relationships.network.BindsTo
157     sm01_port_1:
158       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
159       properties:
160         fixed_ips:
161         - ip_address:
162             get_input:
163             - oam_net_ips
164             - 4
165         allowed_address_pairs:
166           get_input:
167           - interface_list
168           - 2
169           - allowed_address_pairs
170         mac_address:
171           get_input: ncb1_internal1_mac_address
172       requirements:
173       - link:
174           capability: tosca.capabilities.network.Linkable
175           node: csb_net
176           relationship: tosca.relationships.network.LinksTo
177       - binding:
178           capability: tosca.capabilities.network.Bindable
179           node: server_sm02
180           relationship: tosca.relationships.network.BindsTo
181     server_ps01:
182       type: org.openecomp.resource.vfc.nodes.heat.ps_server
183       properties:
184         flavor:
185           get_input: ps_flavor_name
186         availability_zone:
187           get_input: availabilityzone_name
188         image:
189           get_input: ps_image_name
190         user_data_format: RAW
191         name:
192           get_input:
193           - ps_server_names
194           - 3
195     server_ps02:
196       type: org.openecomp.resource.vfc.nodes.heat.ps_server
197       properties:
198         flavor:
199           get_input: ps_flavor_name
200         availability_zone:
201           get_input: availabilityzone_name
202         image:
203           get_input: ps_image_name
204         user_data_format: RAW
205         name:
206           get_input:
207           - ps_server_names
208           - 2
209     server_ps03:
210       type: org.openecomp.resource.vfc.nodes.heat.cmaui
211       properties:
212         flavor:
213           get_input: ps_flavor_name
214         availability_zone:
215           get_input: availabilityzone_name
216         image:
217           get_input: ps_image_name
218         user_data_format: RAW
219         name:
220           get_input:
221           - ps_server_names
222           - 2