blob: cb736cc3e858fa80490412b03507fe7b43013cfa [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
Pingping Lin839ca032017-07-13 19:51:58 -07007 - custom_types/vmme.yaml
Yunpeng Zhang391428a2017-07-15 15:23:47 -04008 - custom_types/vbbu.yaml
Yunpeng Zhang74f20822017-08-15 22:46:11 -04009 - custom_types/vsgwc.yaml
10 - custom_types/vsgwu.yaml
Omar Abdelkaderb5863db2017-07-24 10:20:51 -070011 - custom_types/vhss.yaml
12 - custom_types/vpgwc.yaml
Yunpeng Zhang74f20822017-08-15 22:46:11 -040013 - custom_types/vpgwu.yaml
Yunpeng Zhangecb6feb2017-08-03 18:55:07 -040014 - custom_types/vmm.yaml
15 - custom_types/vsm.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
Pingping Linb3e8ded2017-07-25 14:54:24 -070023 m1.small:
24 type: tosca.nodes.Flavor
25 m1.large:
26 type: tosca.nodes.Flavor
27 m1.medium:
28 type: tosca.nodes.Flavor
29 m1.xlarge:
30 type: tosca.nodes.Flavor
mcordbef65082017-05-24 16:05:07 -070031
Omar Abdelkader33468932017-08-03 14:43:33 -070032 trusty-server-multi-nic:
mcordbef65082017-05-24 16:05:07 -070033 type: tosca.nodes.Image
Omar Abdelkader33468932017-08-03 14:43:33 -070034 #image#vsg-1.1:
35 # type: tosca.nodes.Image
mcordbef65082017-05-24 16:05:07 -070036
Pingping Linb3e8ded2017-07-25 14:54:24 -070037
mcordbef65082017-05-24 16:05:07 -070038# management networks, fully created in management-net.yaml
39 management:
40 type: tosca.nodes.network.Network.XOS
41 properties:
42 no-create: true
43 no-delete: true
44 no-update: true
45
46{% if use_management_hosts %}
47 management_hosts:
48 type: tosca.nodes.network.Network.XOS
49 properties:
50 no-create: true
51 no-delete: true
52 no-update: true
53{% endif %}
54
Pingping Linb3e8ded2017-07-25 14:54:24 -070055# shared_network is for connectivity between VMs, fully created in shared-net.yaml
56 shared_network:
57 type: tosca.nodes.network.Network.XOS
58 properties:
59 no-create: true
60 no-delete: true
61 no-update: true
62# wan_network for vPGWD and its upstream connectivity, fully created in wan-net.yaml
63 wan_network:
64 type: tosca.nodes.network.Network.XOS
65 properties:
66 no-create: true
67 no-delete: true
68 no-update: true
69# VLAN networks for RRH and vBBU, fully created in vsg-net.yaml
70 vsg_network:
71 type: tosca.nodes.network.Network.XOS
72 properties:
73 no-create: true
74 no-delete: true
75 no-update: true
76
mcordbef65082017-05-24 16:05:07 -070077# ONOS_CORD, fully created in vtn.yaml
78 service#ONOS_CORD:
79 type: tosca.nodes.ONOSService
80 properties:
81 no-delete: true
82 no-create: true
83 no-update: true
84
85# ONOS_Fabric, fully created in fabric.yaml
86 service#ONOS_Fabric:
87 type: tosca.nodes.ONOSService
88 properties:
89 no-delete: true
90 no-create: true
91 no-update: true
92
Pingping Linb3e8ded2017-07-25 14:54:24 -070093# CORD Services
Pingping Lin839ca032017-07-13 19:51:58 -070094 service#vmme:
95 type: tosca.nodes.VMMEService
96 properties:
97 view_url: /admin/vmme/vmmeservice/$id$/
98 kind: vEPC
angelos mimidis2ee52932017-08-01 22:59:59 +020099 public_key: { get_artifact: [ SELF, pubkey, LOCAL_FILE] }
100 private_key_fn: /opt/xos/services/vmme/keys/mcord_rsa
101 artifacts:
102 pubkey: /opt/cord_profile/key_import/mcord_rsa.pub
Yunpeng Zhang391428a2017-07-15 15:23:47 -0400103
104 service#vbbu:
105 type: tosca.nodes.VBBUService
106 properties:
107 view_url: /admin/vbbu/vbbuservice/$id$/
Omar Abdelkaderb5863db2017-07-24 10:20:51 -0700108 kind: vRAN
angelos mimidis2ee52932017-08-01 22:59:59 +0200109 public_key: { get_artifact: [ SELF, pubkey, LOCAL_FILE] }
110 private_key_fn: /opt/xos/services/vbbu/keys/mcord_rsa
111 artifacts:
112 pubkey: /opt/cord_profile/key_import/mcord_rsa.pub
113
Omar Abdelkaderb5863db2017-07-24 10:20:51 -0700114 service#vpgwc:
115 type: tosca.nodes.VPGWCService
116 properties:
117 view_url: /admin/vpgwc/vpgwcservice/$id$/
118 kind: vEPC
angelos mimidis2ee52932017-08-01 22:59:59 +0200119 public_key: { get_artifact: [ SELF, pubkey, LOCAL_FILE] }
120 private_key_fn: /opt/xos/services/vpgwc/keys/mcord_rsa
121 artifacts:
122 pubkey: /opt/cord_profile/key_import/mcord_rsa.pub
123
Yunpeng Zhang74f20822017-08-15 22:46:11 -0400124 service#vpgwu:
125 type: tosca.nodes.VPGWUService
Omar Abdelkader525bbce2017-07-17 11:09:25 -0600126 properties:
Yunpeng Zhang74f20822017-08-15 22:46:11 -0400127 view_url: /admin/vpgwu/vpgwuservice/$id$/
Omar Abdelkader525bbce2017-07-17 11:09:25 -0600128 kind: vEPC
angelos mimidis2ee52932017-08-01 22:59:59 +0200129 public_key: { get_artifact: [ SELF, pubkey, LOCAL_FILE] }
Yunpeng Zhang74f20822017-08-15 22:46:11 -0400130 private_key_fn: /opt/xos/services/vpgwu/keys/mcord_rsa
131 artifacts:
132 pubkey: /opt/cord_profile/key_import/mcord_rsa.pub
133
134 service#vsgwc:
135 type: tosca.nodes.VSGWCService
136 properties:
137 view_url: /admin/vsgwc/vsgwcservice/$id$/
138 kind: vEPC
139 public_key: { get_artifact: [ SELF, pubkey, LOCAL_FILE] }
140 private_key_fn: /opt/xos/services/vsgwc/keys/mcord_rsa
141 artifacts:
142 pubkey: /opt/cord_profile/key_import/mcord_rsa.pub
143
144 service#vsgwu:
145 type: tosca.nodes.VSGWUService
146 properties:
147 view_url: /admin/vsgwu/vsgwuservice/$id$/
148 kind: vEPC
149 public_key: { get_artifact: [ SELF, pubkey, LOCAL_FILE] }
150 private_key_fn: /opt/xos/services/vsgwu/keys/mcord_rsa
angelos mimidis2ee52932017-08-01 22:59:59 +0200151 artifacts:
152 pubkey: /opt/cord_profile/key_import/mcord_rsa.pub
153
Omar Abdelkaderb5863db2017-07-24 10:20:51 -0700154 service#vhss:
155 type: tosca.nodes.VHSSService
156 properties:
157 view_url: /admin/vhss/vhssservice/$id$/
158 kind: vEPC
angelos mimidis2ee52932017-08-01 22:59:59 +0200159 public_key: { get_artifact: [ SELF, pubkey, LOCAL_FILE] }
160 private_key_fn: /opt/xos/services/vhss/keys/mcord_rsa
161 artifacts:
162 pubkey: /opt/cord_profile/key_import/mcord_rsa.pub
163
Yunpeng Zhangecb6feb2017-08-03 18:55:07 -0400164 service#vmm:
165 type: tosca.nodes.VMMService
166 properties:
167 view_url: /admin/vmm/vmmservice/$id$/
168 kind: vEPC
169 public_key: { get_artifact: [ SELF, pubkey, LOCAL_FILE] }
170 private_key_fn: /opt/xos/services/vmm/keys/mcord_rsa
171 artifacts:
172 pubkey: /opt/cord_profile/key_import/mcord_rsa.pub
173
174 service#vsm:
175 type: tosca.nodes.VSMService
176 properties:
177 view_url: /admin/vsm/vsmservice/$id$/
178 kind: vEPC
179 public_key: { get_artifact: [ SELF, pubkey, LOCAL_FILE] }
180 private_key_fn: /opt/xos/services/vsm/keys/mcord_rsa
181 artifacts:
182 pubkey: /opt/cord_profile/key_import/mcord_rsa.pub
183
Pingping Linb3e8ded2017-07-25 14:54:24 -0700184# CORD Slices
185 mysite_vBBU_slice:
186 description: vBBU Service Slice
187 type: tosca.nodes.Slice
188 properties:
189 network: noauto
190 requirements:
191 - site:
192 node: mysite
193 relationship: tosca.relationships.MemberOfSite
194 - vBBU:
195 node: service#vbbu
196 relationship: tosca.relationships.MemberOfService
Omar Abdelkader33468932017-08-03 14:43:33 -0700197 - default_image:
198 node: trusty-server-multi-nic
199 relationship: tosca.relationships.DefaultImage
Pingping Linb3e8ded2017-07-25 14:54:24 -0700200 - default_flavor:
Omar Abdelkaderfb2440a2017-08-08 18:49:00 -0600201 node: m1.small
Pingping Linb3e8ded2017-07-25 14:54:24 -0700202 relationship: tosca.relationships.DefaultFlavor
203 - connection_to_management:
204 node: management
205 relationship: tosca.relationships.ConnectsToNetwork
206 - connection_to_shared_network:
207 node: shared_network
208 relationship: tosca.relationships.ConnectsToNetwork
209
210 # TODO: uncomment this on full pod
211 #- connection_to_management_host:
212 # node: management_host
213 # relationship: tosca.relationships.ConnectsToNetwork
214
215 mysite_vMME_slice:
216 description: vMME Service Slice
217 type: tosca.nodes.Slice
218 properties:
219 network: noauto
220 requirements:
221 - site:
222 node: mysite
223 relationship: tosca.relationships.MemberOfSite
224 - vMME:
225 node: service#vmme
226 relationship: tosca.relationships.MemberOfService
Omar Abdelkader33468932017-08-03 14:43:33 -0700227 - default_image:
228 node: trusty-server-multi-nic
229 relationship: tosca.relationships.DefaultImage
Pingping Linb3e8ded2017-07-25 14:54:24 -0700230 - default_flavor:
231 node: m1.small
232 relationship: tosca.relationships.DefaultFlavor
233 - connection_to_management:
234 node: management
235 relationship: tosca.relationships.ConnectsToNetwork
236 - connection_to_shared_network:
237 node: shared_network
238 relationship: tosca.relationships.ConnectsToNetwork
239
240 mysite_vHSS_slice:
241 description: vHSS Service Slice
242 type: tosca.nodes.Slice
243 properties:
244 network: noauto
245 requirements:
246 - site:
247 node: mysite
248 relationship: tosca.relationships.MemberOfSite
249 - vHSS:
250 node: service#vhss
251 relationship: tosca.relationships.MemberOfService
Omar Abdelkader33468932017-08-03 14:43:33 -0700252 - default_image:
253 node: trusty-server-multi-nic
254 relationship: tosca.relationships.DefaultImage
Pingping Linb3e8ded2017-07-25 14:54:24 -0700255 - default_flavor:
256 node: m1.small
257 relationship: tosca.relationships.DefaultFlavor
258 - connection_to_management:
259 node: management
260 relationship: tosca.relationships.ConnectsToNetwork
261 - connection_to_shared_network:
262 node: shared_network
263 relationship: tosca.relationships.ConnectsToNetwork
264 - connection_to_wan_network:
265 node: wan_network
266 relationship: tosca.relationships.ConnectsToNetwork
267
Yunpeng Zhang74f20822017-08-15 22:46:11 -0400268 mysite_vSGWC_slice:
269 description: vSGWC Service Slice
Pingping Linb3e8ded2017-07-25 14:54:24 -0700270 type: tosca.nodes.Slice
271 properties:
272 network: noauto
273 requirements:
274 - site:
275 node: mysite
276 relationship: tosca.relationships.MemberOfSite
277 - vSGW:
Yunpeng Zhang74f20822017-08-15 22:46:11 -0400278 node: service#vsgwc
279 relationship: tosca.relationships.MemberOfService
280 - default_image:
281 node: trusty-server-multi-nic
282 relationship: tosca.relationships.DefaultImage
283 - default_flavor:
284 node: m1.small
285 relationship: tosca.relationships.DefaultFlavor
286 - connection_to_management:
287 node: management
288 relationship: tosca.relationships.ConnectsToNetwork
289 - connection_to_shared_network:
290 node: shared_network
291 relationship: tosca.relationships.ConnectsToNetwork
292
293 mysite_vSGWU_slice:
294 description: vSGWU Service Slice
295 type: tosca.nodes.Slice
296 properties:
297 network: noauto
298 requirements:
299 - site:
300 node: mysite
301 relationship: tosca.relationships.MemberOfSite
302 - vSGW:
303 node: service#vsgwu
Pingping Linb3e8ded2017-07-25 14:54:24 -0700304 relationship: tosca.relationships.MemberOfService
Omar Abdelkader33468932017-08-03 14:43:33 -0700305 - default_image:
306 node: trusty-server-multi-nic
307 relationship: tosca.relationships.DefaultImage
Pingping Linb3e8ded2017-07-25 14:54:24 -0700308 - default_flavor:
309 node: m1.small
310 relationship: tosca.relationships.DefaultFlavor
311 - connection_to_management:
312 node: management
313 relationship: tosca.relationships.ConnectsToNetwork
314 - connection_to_shared_network:
315 node: shared_network
316 relationship: tosca.relationships.ConnectsToNetwork
317
318 mysite_vPGWC_slice:
319 description: vPGWC Service Slice
320 type: tosca.nodes.Slice
321 properties:
322 network: noauto
323 requirements:
324 - site:
325 node: mysite
326 relationship: tosca.relationships.MemberOfSite
327 - vPGWC:
328 node: service#vpgwc
329 relationship: tosca.relationships.MemberOfService
Omar Abdelkader33468932017-08-03 14:43:33 -0700330 - default_image:
331 node: trusty-server-multi-nic
332 relationship: tosca.relationships.DefaultImage
Pingping Linb3e8ded2017-07-25 14:54:24 -0700333 - default_flavor:
334 node: m1.small
335 relationship: tosca.relationships.DefaultFlavor
336 - connection_to_management:
337 node: management
338 relationship: tosca.relationships.ConnectsToNetwork
339 - connection_to_shared_network:
340 node: shared_network
341 relationship: tosca.relationships.ConnectsToNetwork
342 - connection_to_wan_network:
343 node: wan_network
344 relationship: tosca.relationships.ConnectsToNetwork
Yunpeng Zhangecb6feb2017-08-03 18:55:07 -0400345
Yunpeng Zhang74f20822017-08-15 22:46:11 -0400346 mysite_vPGWU_slice:
347 description: vPGWU Service Slice
348 type: tosca.nodes.Slice
349 properties:
350 network: noauto
351 requirements:
352 - site:
353 node: mysite
354 relationship: tosca.relationships.MemberOfSite
355 - vPGWC:
356 node: service#vpgwu
357 relationship: tosca.relationships.MemberOfService
358 - default_image:
359 node: trusty-server-multi-nic
360 relationship: tosca.relationships.DefaultImage
361 - default_flavor:
362 node: m1.small
363 relationship: tosca.relationships.DefaultFlavor
364 - connection_to_management:
365 node: management
366 relationship: tosca.relationships.ConnectsToNetwork
367 - connection_to_shared_network:
368 node: shared_network
369 relationship: tosca.relationships.ConnectsToNetwork
370 - connection_to_wan_network:
371 node: wan_network
372 relationship: tosca.relationships.ConnectsToNetwork
373
Yunpeng Zhangecb6feb2017-08-03 18:55:07 -0400374 mysite_vMM_slice:
375 description: vMM Service Slice
376 type: tosca.nodes.Slice
377 properties:
378 network: noauto
379 requirements:
380 - site:
381 node: mysite
382 relationship: tosca.relationships.MemberOfSite
383 - vPMM:
384 node: service#vmm
385 relationship: tosca.relationships.MemberOfService
386 - default_image:
387 node: trusty-server-multi-nic
388 relationship: tosca.relationships.DefaultImage
389 - default_flavor:
390 node: m1.small
391 relationship: tosca.relationships.DefaultFlavor
392 - connection_to_management:
393 node: management
394 relationship: tosca.relationships.ConnectsToNetwork
395 - connection_to_shared_network:
396 node: shared_network
397 relationship: tosca.relationships.ConnectsToNetwork
398
399 mysite_vSM_slice:
400 description: vSM Service Slice
401 type: tosca.nodes.Slice
402 properties:
403 network: noauto
404 requirements:
405 - site:
406 node: mysite
407 relationship: tosca.relationships.MemberOfSite
408 - vPMM:
409 node: service#vsm
410 relationship: tosca.relationships.MemberOfService
411 - default_image:
412 node: trusty-server-multi-nic
413 relationship: tosca.relationships.DefaultImage
414 - default_flavor:
415 node: m1.small
416 relationship: tosca.relationships.DefaultFlavor
417 - connection_to_management:
418 node: management
419 relationship: tosca.relationships.ConnectsToNetwork
420 - connection_to_shared_network:
421 node: shared_network
422 relationship: tosca.relationships.ConnectsToNetwork