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 / different_port_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 topology_template:
41   inputs:
42     availabilityzone_name:
43       label: availabilityzone name
44       hidden: false
45       immutable: false
46       type: string
47       description: availabilityzone name
48       default: nova
49     repl_net_ips:
50       label: repl network ips
51       hidden: false
52       immutable: false
53       type: list
54       description: ips of repl network
55       default:
56       - 107.239.33.57
57       - 107.239.33.58
58       entry_schema:
59         type: string
60     oam_net_name:
61       label: oam network name
62       hidden: false
63       immutable: false
64       type: string
65       description: name of the oam network
66       default: oam_protected_net_0
67     oam_net_ips:
68       label: internet network ips
69       hidden: false
70       immutable: false
71       type: list
72       description: ip of the OAM network
73       default:
74       - 107.250.172.213
75       - 107.250.172.214
76       - 107.250.172.215
77       - 107.250.172.216
78       - 107.250.172.217
79       entry_schema:
80         type: string
81     ps_server_names:
82       label: PS server names
83       hidden: false
84       immutable: false
85       type: list
86       description: name of the PS instance
87       default:
88       - ZRDM1MOGX01MPS001
89       - ZRDM1MOGX01MPS002
90       - ZRDM1MOGX01MPS003
91       - ZRDM1MOGX01MPS004
92       entry_schema:
93         type: string
94     csb_net_ips:
95       hidden: false
96       immutable: false
97       type: list
98       description: mog_csb_net IP addresses
99       default:
100       - 172.26.0.10
101       - 172.26.0.11
102       - 172.26.0.12
103       - 172.26.0.13
104       - 172.26.0.14
105       - 172.26.0.15
106       - 172.26.0.16
107       - 172.26.0.17
108       - 172.26.0.18
109       - 172.26.0.19
110       - 172.26.0.20
111       entry_schema:
112         type: string
113     ps_flavor_name:
114       label: PS flavor name
115       hidden: false
116       immutable: false
117       type: string
118       description: flavor name of PS instance
119       default: m3.xlarge
120     ps_image_name:
121       label: PS image name
122       hidden: false
123       immutable: false
124       type: string
125       description: PS image name
126       default: MOG_BASE_8.0
127     repl_net_name:
128       label: Replication network name
129       hidden: false
130       immutable: false
131       type: string
132       description: name of the replication network
133       default: cor_direct_net_0
134   node_templates:
135     cm01_port_1:
136       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
137       properties:
138         security_groups:
139         - mog_security_group
140         fixed_ips:
141         - ip_address:
142             get_input:
143             - oam_net_ips
144             - 4
145         network:
146           get_input: oam_net_name
147       requirements:
148       - binding:
149           capability: tosca.capabilities.network.Bindable
150           node: server_cm01
151           relationship: tosca.relationships.network.BindsTo
152     sm01_port_1:
153       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
154       properties:
155         security_groups:
156         - mog_security_group
157         network: csb_net
158       requirements:
159       - link:
160           capability: tosca.capabilities.network.Linkable
161           node: csb_net
162           relationship: tosca.relationships.network.LinksTo
163       - binding:
164           capability: tosca.capabilities.network.Bindable
165           node: server_sm02
166           relationship: tosca.relationships.network.BindsTo
167     server_ps01:
168       type: org.openecomp.resource.vfc.nodes.heat.ps_server
169       properties:
170         flavor:
171           get_input: ps_flavor_name
172         availability_zone:
173           get_input: availabilityzone_name
174         image:
175           get_input: ps_image_name
176         user_data_format: RAW
177         name:
178           get_input:
179           - ps_server_names
180           - 3
181     server_ps02:
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