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 / one_instance_for_two_types / 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         security_groups:
141         - mog_security_group
142         fixed_ips:
143         - ip_address:
144             get_input:
145             - oam_net_ips
146             - 4
147         network:
148           get_input: oam_net_name
149       requirements:
150       - binding:
151           capability: tosca.capabilities.network.Bindable
152           node: server_cm01
153           relationship: tosca.relationships.network.BindsTo
154     sm01_port_1:
155       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
156       properties:
157         security_groups:
158         - mog_security_group
159         network: csb_net
160       requirements:
161       - link:
162           capability: tosca.capabilities.network.Linkable
163           node: csb_net
164           relationship: tosca.relationships.network.LinksTo
165       - binding:
166           capability: tosca.capabilities.network.Bindable
167           node: server_sm02
168           relationship: tosca.relationships.network.BindsTo
169     server_ps01:
170       type: org.openecomp.resource.vfc.nodes.heat.ps_server
171       properties:
172         flavor:
173           get_input: ps_flavor_name
174         availability_zone:
175           get_input: availabilityzone_name
176         image:
177           get_input: ps_image_name
178         user_data_format: RAW
179         name:
180           get_input:
181           - ps_server_names
182           - 3
183     server_ps02:
184       type: org.openecomp.resource.vfc.nodes.heat.cmaui
185       properties:
186         flavor:
187           get_input: ps_flavor_name
188         availability_zone:
189           get_input: availabilityzone_name
190         image:
191           get_input: ps_image_name
192         user_data_format: RAW
193         name:
194           get_input:
195           - ps_server_names
196           - 3