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 / computeportconsolidation / one_fixed_ips_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 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         fixed_ips:
139         - ip_address:
140             get_input:
141             - oam_net_ips
142             - 4
143         allowed_address_pairs:
144           get_input:
145           - interface_list
146           - 2
147           - allowed_address_pairs
148         mac_address:
149           get_input: ncb1_internal1_mac_address
150
151     cm01_port_2:
152       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
153       properties:
154         fixed_ips:
155         - ip_address:
156             get_input:
157             - oam_net_ips
158             - 4
159         allowed_address_pairs:
160           get_input:
161           - interface_list
162           - 2
163           - allowed_address_pairs
164         mac_address:
165           get_input: ncb1_internal1_mac_address
166
167     cm01_port_3:
168       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
169       properties:
170         fixed_ips:
171         - ip_address:
172             diff_value
173         allowed_address_pairs:
174           get_input:
175           - interface_list
176           - 2
177           - allowed_address_pairs
178         mac_address:
179           get_input: ncb1_internal1_mac_address
180
181     server_ps01:
182       type: org.openecomp.resource.vfc.nodes.heat.ps_server
183       properties:
184         flavor:
185           get_input: ps_flavor_name
186         image:
187           get_input: ps_image_name
188
189     server_ps02:
190       type: org.openecomp.resource.vfc.nodes.heat.ps_server
191       properties:
192         flavor:
193           get_input: ps_flavor_name
194         image:
195           get_input: ps_image_name
196
197     server_ps03:
198       type: org.openecomp.resource.vfc.nodes.heat.ps_server
199       properties:
200         flavor:
201           get_input: ps_flavor_name
202         image:
203           get_input: ps_image_name