blob: 30aabac697e2486c82fc1e0f03ecc0c0ec62ab0e [file] [log] [blame]
mcordbef65082017-05-24 16:05:07 -07001tosca_definitions_version: tosca_simple_yaml_1_0
2
3description: created by platform-install, need to add M-CORD services later
4
5imports:
6 - custom_types/xos.yaml
Yunpeng Zhang391428a2017-07-15 15:23:47 -04007 - custom_types/vbbu.yaml
Omar Abdelkaderb5863db2017-07-24 10:20:51 -07008 - custom_types/vhss.yaml
Omar Abdelkaderbf591622017-08-18 13:19:59 -07009 - custom_types/vmme.yaml
Yunpeng Zhangecb6feb2017-08-03 18:55:07 -040010 - custom_types/vmm.yaml
11 - custom_types/vsm.yaml
Omar Abdelkaderbf591622017-08-18 13:19:59 -070012 - custom_types/vsgwc.yaml
13 - custom_types/vsgwu.yaml
14 - custom_types/vpgwc.yaml
15 - custom_types/vpgwu.yaml
Omar Abdelkader525bbce2017-07-17 11:09:25 -060016
mcordbef65082017-05-24 16:05:07 -070017topology_template:
18 node_templates:
19
20# site, image, fully created in deployment.yaml
21 {{ site_name }}:
22 type: tosca.nodes.Site
Omar Abdelkaderbf591622017-08-18 13:19:59 -070023
Pingping Linb3e8ded2017-07-25 14:54:24 -070024 m1.small:
25 type: tosca.nodes.Flavor
26 m1.large:
27 type: tosca.nodes.Flavor
28 m1.medium:
29 type: tosca.nodes.Flavor
30 m1.xlarge:
31 type: tosca.nodes.Flavor
mcordbef65082017-05-24 16:05:07 -070032
Omar Abdelkader33468932017-08-03 14:43:33 -070033 trusty-server-multi-nic:
mcordbef65082017-05-24 16:05:07 -070034 type: tosca.nodes.Image
Pingping Linb3e8ded2017-07-25 14:54:24 -070035
mcordbef65082017-05-24 16:05:07 -070036# management networks, fully created in management-net.yaml
37 management:
38 type: tosca.nodes.network.Network.XOS
39 properties:
40 no-create: true
41 no-delete: true
42 no-update: true
43
44{% if use_management_hosts %}
45 management_hosts:
46 type: tosca.nodes.network.Network.XOS
47 properties:
48 no-create: true
49 no-delete: true
50 no-update: true
51{% endif %}
52
Pingping Linb3e8ded2017-07-25 14:54:24 -070053# shared_network is for connectivity between VMs, fully created in shared-net.yaml
54 shared_network:
55 type: tosca.nodes.network.Network.XOS
56 properties:
57 no-create: true
58 no-delete: true
59 no-update: true
Omar Abdelkaderbf591622017-08-18 13:19:59 -070060# wan_network for vPGWU and its upstream connectivity, fully created in wan-net.yaml
Pingping Linb3e8ded2017-07-25 14:54:24 -070061 wan_network:
62 type: tosca.nodes.network.Network.XOS
63 properties:
64 no-create: true
65 no-delete: true
66 no-update: true
67# VLAN networks for RRH and vBBU, fully created in vsg-net.yaml
68 vsg_network:
69 type: tosca.nodes.network.Network.XOS
70 properties:
71 no-create: true
72 no-delete: true
73 no-update: true
74
mcordbef65082017-05-24 16:05:07 -070075# ONOS_CORD, fully created in vtn.yaml
76 service#ONOS_CORD:
77 type: tosca.nodes.ONOSService
78 properties:
79 no-delete: true
80 no-create: true
81 no-update: true
82
83# ONOS_Fabric, fully created in fabric.yaml
84 service#ONOS_Fabric:
85 type: tosca.nodes.ONOSService
86 properties:
87 no-delete: true
88 no-create: true
89 no-update: true
90
Pingping Linb3e8ded2017-07-25 14:54:24 -070091# CORD Services
Yunpeng Zhang391428a2017-07-15 15:23:47 -040092 service#vbbu:
93 type: tosca.nodes.VBBUService
94 properties:
95 view_url: /admin/vbbu/vbbuservice/$id$/
Omar Abdelkaderb5863db2017-07-24 10:20:51 -070096 kind: vRAN
angelos mimidis2ee52932017-08-01 22:59:59 +020097 public_key: { get_artifact: [ SELF, pubkey, LOCAL_FILE] }
98 private_key_fn: /opt/xos/services/vbbu/keys/mcord_rsa
99 artifacts:
100 pubkey: /opt/cord_profile/key_import/mcord_rsa.pub
Omar Abdelkaderbf591622017-08-18 13:19:59 -0700101
102 service#vhss:
103 type: tosca.nodes.VHSSService
Omar Abdelkaderb5863db2017-07-24 10:20:51 -0700104 properties:
Omar Abdelkaderbf591622017-08-18 13:19:59 -0700105 view_url: /admin/vhss/vhssservice/$id$/
Omar Abdelkaderb5863db2017-07-24 10:20:51 -0700106 kind: vEPC
angelos mimidis2ee52932017-08-01 22:59:59 +0200107 public_key: { get_artifact: [ SELF, pubkey, LOCAL_FILE] }
Omar Abdelkaderbf591622017-08-18 13:19:59 -0700108 private_key_fn: /opt/xos/services/vhss/keys/mcord_rsa
109 artifacts:
110 pubkey: /opt/cord_profile/key_import/mcord_rsa.pub
111
112 service#vmme:
113 type: tosca.nodes.VMMEService
114 properties:
115 view_url: /admin/vmme/vmmeservice/$id$/
116 kind: vEPC
117 public_key: { get_artifact: [ SELF, pubkey, LOCAL_FILE] }
118 private_key_fn: /opt/xos/services/vmme/keys/mcord_rsa
119 artifacts:
120 pubkey: /opt/cord_profile/key_import/mcord_rsa.pub
121
122 service#vmm:
123 type: tosca.nodes.VMMService
124 properties:
125 view_url: /admin/vmm/vmmservice/$id$/
126 kind: vEPC
127 public_key: { get_artifact: [ SELF, pubkey, LOCAL_FILE] }
128 private_key_fn: /opt/xos/services/vmm/keys/mcord_rsa
angelos mimidis2ee52932017-08-01 22:59:59 +0200129 artifacts:
130 pubkey: /opt/cord_profile/key_import/mcord_rsa.pub
131
Omar Abdelkaderbf591622017-08-18 13:19:59 -0700132 service#vsm:
133 type: tosca.nodes.VSMService
Omar Abdelkader525bbce2017-07-17 11:09:25 -0600134 properties:
Omar Abdelkaderbf591622017-08-18 13:19:59 -0700135 view_url: /admin/vsm/vsmservice/$id$/
Omar Abdelkader525bbce2017-07-17 11:09:25 -0600136 kind: vEPC
angelos mimidis2ee52932017-08-01 22:59:59 +0200137 public_key: { get_artifact: [ SELF, pubkey, LOCAL_FILE] }
Omar Abdelkaderbf591622017-08-18 13:19:59 -0700138 private_key_fn: /opt/xos/services/vsm/keys/mcord_rsa
Yunpeng Zhang74f20822017-08-15 22:46:11 -0400139 artifacts:
140 pubkey: /opt/cord_profile/key_import/mcord_rsa.pub
141
142 service#vsgwc:
143 type: tosca.nodes.VSGWCService
144 properties:
145 view_url: /admin/vsgwc/vsgwcservice/$id$/
146 kind: vEPC
147 public_key: { get_artifact: [ SELF, pubkey, LOCAL_FILE] }
148 private_key_fn: /opt/xos/services/vsgwc/keys/mcord_rsa
149 artifacts:
150 pubkey: /opt/cord_profile/key_import/mcord_rsa.pub
151
152 service#vsgwu:
153 type: tosca.nodes.VSGWUService
154 properties:
155 view_url: /admin/vsgwu/vsgwuservice/$id$/
156 kind: vEPC
157 public_key: { get_artifact: [ SELF, pubkey, LOCAL_FILE] }
158 private_key_fn: /opt/xos/services/vsgwu/keys/mcord_rsa
angelos mimidis2ee52932017-08-01 22:59:59 +0200159 artifacts:
160 pubkey: /opt/cord_profile/key_import/mcord_rsa.pub
161
Omar Abdelkaderbf591622017-08-18 13:19:59 -0700162 service#vpgwc:
163 type: tosca.nodes.VPGWCService
Omar Abdelkaderb5863db2017-07-24 10:20:51 -0700164 properties:
Omar Abdelkaderbf591622017-08-18 13:19:59 -0700165 view_url: /admin/vpgwc/vpgwcservice/$id$/
Omar Abdelkaderb5863db2017-07-24 10:20:51 -0700166 kind: vEPC
angelos mimidis2ee52932017-08-01 22:59:59 +0200167 public_key: { get_artifact: [ SELF, pubkey, LOCAL_FILE] }
Omar Abdelkaderbf591622017-08-18 13:19:59 -0700168 private_key_fn: /opt/xos/services/vpgwc/keys/mcord_rsa
angelos mimidis2ee52932017-08-01 22:59:59 +0200169 artifacts:
170 pubkey: /opt/cord_profile/key_import/mcord_rsa.pub
171
Omar Abdelkaderbf591622017-08-18 13:19:59 -0700172 service#vpgwu:
173 type: tosca.nodes.VPGWUService
Yunpeng Zhangecb6feb2017-08-03 18:55:07 -0400174 properties:
Omar Abdelkaderbf591622017-08-18 13:19:59 -0700175 view_url: /admin/vpgwu/vpgwuservice/$id$/
Yunpeng Zhangecb6feb2017-08-03 18:55:07 -0400176 kind: vEPC
177 public_key: { get_artifact: [ SELF, pubkey, LOCAL_FILE] }
Omar Abdelkaderbf591622017-08-18 13:19:59 -0700178 private_key_fn: /opt/xos/services/vpgwu/keys/mcord_rsa
Yunpeng Zhangecb6feb2017-08-03 18:55:07 -0400179 artifacts:
180 pubkey: /opt/cord_profile/key_import/mcord_rsa.pub
181
Pingping Linb3e8ded2017-07-25 14:54:24 -0700182# CORD Slices
183 mysite_vBBU_slice:
184 description: vBBU Service Slice
185 type: tosca.nodes.Slice
186 properties:
187 network: noauto
188 requirements:
189 - site:
190 node: mysite
191 relationship: tosca.relationships.MemberOfSite
Omar Abdelkaderbf591622017-08-18 13:19:59 -0700192 - vbbu_service:
Pingping Linb3e8ded2017-07-25 14:54:24 -0700193 node: service#vbbu
194 relationship: tosca.relationships.MemberOfService
Omar Abdelkader33468932017-08-03 14:43:33 -0700195 - default_image:
196 node: trusty-server-multi-nic
197 relationship: tosca.relationships.DefaultImage
Pingping Linb3e8ded2017-07-25 14:54:24 -0700198 - default_flavor:
Omar Abdelkaderfb2440a2017-08-08 18:49:00 -0600199 node: m1.small
Pingping Linb3e8ded2017-07-25 14:54:24 -0700200 relationship: tosca.relationships.DefaultFlavor
201 - connection_to_management:
202 node: management
203 relationship: tosca.relationships.ConnectsToNetwork
204 - connection_to_shared_network:
205 node: shared_network
206 relationship: tosca.relationships.ConnectsToNetwork
207
208 # TODO: uncomment this on full pod
209 #- connection_to_management_host:
210 # node: management_host
211 # relationship: tosca.relationships.ConnectsToNetwork
212
Omar Abdelkaderbf591622017-08-18 13:19:59 -0700213 mysite_vHSS_slice:
214 description: vHSS Service Slice
215 type: tosca.nodes.Slice
216 properties:
217 network: noauto
218 requirements:
219 - site:
220 node: mysite
221 relationship: tosca.relationships.MemberOfSite
222 - vhss_service:
223 node: service#vhss
224 relationship: tosca.relationships.MemberOfService
225 - default_image:
226 node: trusty-server-multi-nic
227 relationship: tosca.relationships.DefaultImage
228 - default_flavor:
229 node: m1.small
230 relationship: tosca.relationships.DefaultFlavor
231 - connection_to_management:
232 node: management
233 relationship: tosca.relationships.ConnectsToNetwork
234 - connection_to_shared_network:
235 node: shared_network
236 relationship: tosca.relationships.ConnectsToNetwork
237
Pingping Linb3e8ded2017-07-25 14:54:24 -0700238 mysite_vMME_slice:
239 description: vMME Service Slice
240 type: tosca.nodes.Slice
241 properties:
242 network: noauto
243 requirements:
244 - site:
245 node: mysite
246 relationship: tosca.relationships.MemberOfSite
Omar Abdelkaderbf591622017-08-18 13:19:59 -0700247 - vmme_service:
Pingping Linb3e8ded2017-07-25 14:54:24 -0700248 node: service#vmme
249 relationship: tosca.relationships.MemberOfService
Omar Abdelkader33468932017-08-03 14:43:33 -0700250 - default_image:
251 node: trusty-server-multi-nic
252 relationship: tosca.relationships.DefaultImage
Pingping Linb3e8ded2017-07-25 14:54:24 -0700253 - default_flavor:
254 node: m1.small
255 relationship: tosca.relationships.DefaultFlavor
256 - connection_to_management:
257 node: management
258 relationship: tosca.relationships.ConnectsToNetwork
259 - connection_to_shared_network:
260 node: shared_network
261 relationship: tosca.relationships.ConnectsToNetwork
262
Yunpeng Zhangecb6feb2017-08-03 18:55:07 -0400263 mysite_vMM_slice:
264 description: vMM Service Slice
265 type: tosca.nodes.Slice
266 properties:
267 network: noauto
268 requirements:
269 - site:
270 node: mysite
271 relationship: tosca.relationships.MemberOfSite
Omar Abdelkaderbf591622017-08-18 13:19:59 -0700272 - vmm_service:
Yunpeng Zhangecb6feb2017-08-03 18:55:07 -0400273 node: service#vmm
274 relationship: tosca.relationships.MemberOfService
275 - default_image:
276 node: trusty-server-multi-nic
277 relationship: tosca.relationships.DefaultImage
278 - default_flavor:
279 node: m1.small
280 relationship: tosca.relationships.DefaultFlavor
281 - connection_to_management:
282 node: management
283 relationship: tosca.relationships.ConnectsToNetwork
284 - connection_to_shared_network:
285 node: shared_network
286 relationship: tosca.relationships.ConnectsToNetwork
287
288 mysite_vSM_slice:
289 description: vSM Service Slice
290 type: tosca.nodes.Slice
291 properties:
292 network: noauto
293 requirements:
294 - site:
295 node: mysite
296 relationship: tosca.relationships.MemberOfSite
Omar Abdelkaderbf591622017-08-18 13:19:59 -0700297 - vsm_service:
Yunpeng Zhangecb6feb2017-08-03 18:55:07 -0400298 node: service#vsm
299 relationship: tosca.relationships.MemberOfService
300 - default_image:
301 node: trusty-server-multi-nic
302 relationship: tosca.relationships.DefaultImage
303 - default_flavor:
304 node: m1.small
305 relationship: tosca.relationships.DefaultFlavor
306 - connection_to_management:
307 node: management
308 relationship: tosca.relationships.ConnectsToNetwork
309 - connection_to_shared_network:
310 node: shared_network
311 relationship: tosca.relationships.ConnectsToNetwork
Omar Abdelkaderbf591622017-08-18 13:19:59 -0700312
313 mysite_vSGWC_slice:
314 description: vSGWC Service Slice
315 type: tosca.nodes.Slice
316 properties:
317 network: noauto
318 requirements:
319 - site:
320 node: mysite
321 relationship: tosca.relationships.MemberOfSite
322 - vsgwc_service:
323 node: service#vsgwc
324 relationship: tosca.relationships.MemberOfService
325 - default_image:
326 node: trusty-server-multi-nic
327 relationship: tosca.relationships.DefaultImage
328 - default_flavor:
329 node: m1.small
330 relationship: tosca.relationships.DefaultFlavor
331 - connection_to_management:
332 node: management
333 relationship: tosca.relationships.ConnectsToNetwork
334 - connection_to_shared_network:
335 node: shared_network
336 relationship: tosca.relationships.ConnectsToNetwork
337
338 mysite_vSGWU_slice:
339 description: vSGWU Service Slice
340 type: tosca.nodes.Slice
341 properties:
342 network: noauto
343 requirements:
344 - site:
345 node: mysite
346 relationship: tosca.relationships.MemberOfSite
347 - vsgwu_service:
348 node: service#vsgwu
349 relationship: tosca.relationships.MemberOfService
350 - default_image:
351 node: trusty-server-multi-nic
352 relationship: tosca.relationships.DefaultImage
353 - default_flavor:
354 node: m1.small
355 relationship: tosca.relationships.DefaultFlavor
356 - connection_to_management:
357 node: management
358 relationship: tosca.relationships.ConnectsToNetwork
359 - connection_to_shared_network:
360 node: shared_network
361 relationship: tosca.relationships.ConnectsToNetwork
362
363 mysite_vPGWC_slice:
364 description: vPGWC Service Slice
365 type: tosca.nodes.Slice
366 properties:
367 network: noauto
368 requirements:
369 - site:
370 node: mysite
371 relationship: tosca.relationships.MemberOfSite
372 - vpgwc_service:
373 node: service#vpgwc
374 relationship: tosca.relationships.MemberOfService
375 - default_image:
376 node: trusty-server-multi-nic
377 relationship: tosca.relationships.DefaultImage
378 - default_flavor:
379 node: m1.small
380 relationship: tosca.relationships.DefaultFlavor
381 - connection_to_management:
382 node: management
383 relationship: tosca.relationships.ConnectsToNetwork
384 - connection_to_shared_network:
385 node: shared_network
386 relationship: tosca.relationships.ConnectsToNetwork
387
388 mysite_vPGWU_slice:
389 description: vPGWU Service Slice
390 type: tosca.nodes.Slice
391 properties:
392 network: noauto
393 requirements:
394 - site:
395 node: mysite
396 relationship: tosca.relationships.MemberOfSite
397 - vpgwu_service:
398 node: service#vpgwu
399 relationship: tosca.relationships.MemberOfService
400 - default_image:
401 node: trusty-server-multi-nic
402 relationship: tosca.relationships.DefaultImage
403 - default_flavor:
404 node: m1.small
405 relationship: tosca.relationships.DefaultFlavor
406 - connection_to_management:
407 node: management
408 relationship: tosca.relationships.ConnectsToNetwork
409 - connection_to_shared_network:
410 node: shared_network
411 relationship: tosca.relationships.ConnectsToNetwork
412 - connection_to_wan_network:
413 node: wan_network
414 relationship: tosca.relationships.ConnectsToNetwork