mcord | bef6508 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 2 | |
| 3 | description: created by platform-install, need to add M-CORD services later |
| 4 | |
| 5 | imports: |
| 6 | - custom_types/xos.yaml |
Pingping Lin | 839ca03 | 2017-07-13 19:51:58 -0700 | [diff] [blame] | 7 | - custom_types/vmme.yaml |
Yunpeng Zhang | 391428a | 2017-07-15 15:23:47 -0400 | [diff] [blame] | 8 | - custom_types/vbbu.yaml |
Yunpeng Zhang | 74f2082 | 2017-08-15 22:46:11 -0400 | [diff] [blame^] | 9 | - custom_types/vsgwc.yaml |
| 10 | - custom_types/vsgwu.yaml |
Omar Abdelkader | b5863db | 2017-07-24 10:20:51 -0700 | [diff] [blame] | 11 | - custom_types/vhss.yaml |
| 12 | - custom_types/vpgwc.yaml |
Yunpeng Zhang | 74f2082 | 2017-08-15 22:46:11 -0400 | [diff] [blame^] | 13 | - custom_types/vpgwu.yaml |
Yunpeng Zhang | ecb6feb | 2017-08-03 18:55:07 -0400 | [diff] [blame] | 14 | - custom_types/vmm.yaml |
| 15 | - custom_types/vsm.yaml |
Omar Abdelkader | 525bbce | 2017-07-17 11:09:25 -0600 | [diff] [blame] | 16 | |
mcord | bef6508 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 17 | topology_template: |
| 18 | node_templates: |
| 19 | |
| 20 | # site, image, fully created in deployment.yaml |
| 21 | {{ site_name }}: |
| 22 | type: tosca.nodes.Site |
Pingping Lin | b3e8ded | 2017-07-25 14:54:24 -0700 | [diff] [blame] | 23 | 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 |
mcord | bef6508 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 31 | |
Omar Abdelkader | 3346893 | 2017-08-03 14:43:33 -0700 | [diff] [blame] | 32 | trusty-server-multi-nic: |
mcord | bef6508 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 33 | type: tosca.nodes.Image |
Omar Abdelkader | 3346893 | 2017-08-03 14:43:33 -0700 | [diff] [blame] | 34 | #image#vsg-1.1: |
| 35 | # type: tosca.nodes.Image |
mcord | bef6508 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 36 | |
Pingping Lin | b3e8ded | 2017-07-25 14:54:24 -0700 | [diff] [blame] | 37 | |
mcord | bef6508 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 38 | # 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 Lin | b3e8ded | 2017-07-25 14:54:24 -0700 | [diff] [blame] | 55 | # 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 | |
mcord | bef6508 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 77 | # 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 Lin | b3e8ded | 2017-07-25 14:54:24 -0700 | [diff] [blame] | 93 | # CORD Services |
Pingping Lin | 839ca03 | 2017-07-13 19:51:58 -0700 | [diff] [blame] | 94 | service#vmme: |
| 95 | type: tosca.nodes.VMMEService |
| 96 | properties: |
| 97 | view_url: /admin/vmme/vmmeservice/$id$/ |
| 98 | kind: vEPC |
angelos mimidis | 2ee5293 | 2017-08-01 22:59:59 +0200 | [diff] [blame] | 99 | 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 Zhang | 391428a | 2017-07-15 15:23:47 -0400 | [diff] [blame] | 103 | |
| 104 | service#vbbu: |
| 105 | type: tosca.nodes.VBBUService |
| 106 | properties: |
| 107 | view_url: /admin/vbbu/vbbuservice/$id$/ |
Omar Abdelkader | b5863db | 2017-07-24 10:20:51 -0700 | [diff] [blame] | 108 | kind: vRAN |
angelos mimidis | 2ee5293 | 2017-08-01 22:59:59 +0200 | [diff] [blame] | 109 | 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 Abdelkader | b5863db | 2017-07-24 10:20:51 -0700 | [diff] [blame] | 114 | service#vpgwc: |
| 115 | type: tosca.nodes.VPGWCService |
| 116 | properties: |
| 117 | view_url: /admin/vpgwc/vpgwcservice/$id$/ |
| 118 | kind: vEPC |
angelos mimidis | 2ee5293 | 2017-08-01 22:59:59 +0200 | [diff] [blame] | 119 | 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 Zhang | 74f2082 | 2017-08-15 22:46:11 -0400 | [diff] [blame^] | 124 | service#vpgwu: |
| 125 | type: tosca.nodes.VPGWUService |
Omar Abdelkader | 525bbce | 2017-07-17 11:09:25 -0600 | [diff] [blame] | 126 | properties: |
Yunpeng Zhang | 74f2082 | 2017-08-15 22:46:11 -0400 | [diff] [blame^] | 127 | view_url: /admin/vpgwu/vpgwuservice/$id$/ |
Omar Abdelkader | 525bbce | 2017-07-17 11:09:25 -0600 | [diff] [blame] | 128 | kind: vEPC |
angelos mimidis | 2ee5293 | 2017-08-01 22:59:59 +0200 | [diff] [blame] | 129 | public_key: { get_artifact: [ SELF, pubkey, LOCAL_FILE] } |
Yunpeng Zhang | 74f2082 | 2017-08-15 22:46:11 -0400 | [diff] [blame^] | 130 | 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 mimidis | 2ee5293 | 2017-08-01 22:59:59 +0200 | [diff] [blame] | 151 | artifacts: |
| 152 | pubkey: /opt/cord_profile/key_import/mcord_rsa.pub |
| 153 | |
Omar Abdelkader | b5863db | 2017-07-24 10:20:51 -0700 | [diff] [blame] | 154 | service#vhss: |
| 155 | type: tosca.nodes.VHSSService |
| 156 | properties: |
| 157 | view_url: /admin/vhss/vhssservice/$id$/ |
| 158 | kind: vEPC |
angelos mimidis | 2ee5293 | 2017-08-01 22:59:59 +0200 | [diff] [blame] | 159 | 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 Zhang | ecb6feb | 2017-08-03 18:55:07 -0400 | [diff] [blame] | 164 | 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 Lin | b3e8ded | 2017-07-25 14:54:24 -0700 | [diff] [blame] | 184 | # 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 Abdelkader | 3346893 | 2017-08-03 14:43:33 -0700 | [diff] [blame] | 197 | - default_image: |
| 198 | node: trusty-server-multi-nic |
| 199 | relationship: tosca.relationships.DefaultImage |
Pingping Lin | b3e8ded | 2017-07-25 14:54:24 -0700 | [diff] [blame] | 200 | - default_flavor: |
Omar Abdelkader | fb2440a | 2017-08-08 18:49:00 -0600 | [diff] [blame] | 201 | node: m1.small |
Pingping Lin | b3e8ded | 2017-07-25 14:54:24 -0700 | [diff] [blame] | 202 | 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 Abdelkader | 3346893 | 2017-08-03 14:43:33 -0700 | [diff] [blame] | 227 | - default_image: |
| 228 | node: trusty-server-multi-nic |
| 229 | relationship: tosca.relationships.DefaultImage |
Pingping Lin | b3e8ded | 2017-07-25 14:54:24 -0700 | [diff] [blame] | 230 | - 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 Abdelkader | 3346893 | 2017-08-03 14:43:33 -0700 | [diff] [blame] | 252 | - default_image: |
| 253 | node: trusty-server-multi-nic |
| 254 | relationship: tosca.relationships.DefaultImage |
Pingping Lin | b3e8ded | 2017-07-25 14:54:24 -0700 | [diff] [blame] | 255 | - 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 Zhang | 74f2082 | 2017-08-15 22:46:11 -0400 | [diff] [blame^] | 268 | mysite_vSGWC_slice: |
| 269 | description: vSGWC Service Slice |
Pingping Lin | b3e8ded | 2017-07-25 14:54:24 -0700 | [diff] [blame] | 270 | type: tosca.nodes.Slice |
| 271 | properties: |
| 272 | network: noauto |
| 273 | requirements: |
| 274 | - site: |
| 275 | node: mysite |
| 276 | relationship: tosca.relationships.MemberOfSite |
| 277 | - vSGW: |
Yunpeng Zhang | 74f2082 | 2017-08-15 22:46:11 -0400 | [diff] [blame^] | 278 | 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 Lin | b3e8ded | 2017-07-25 14:54:24 -0700 | [diff] [blame] | 304 | relationship: tosca.relationships.MemberOfService |
Omar Abdelkader | 3346893 | 2017-08-03 14:43:33 -0700 | [diff] [blame] | 305 | - default_image: |
| 306 | node: trusty-server-multi-nic |
| 307 | relationship: tosca.relationships.DefaultImage |
Pingping Lin | b3e8ded | 2017-07-25 14:54:24 -0700 | [diff] [blame] | 308 | - 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 Abdelkader | 3346893 | 2017-08-03 14:43:33 -0700 | [diff] [blame] | 330 | - default_image: |
| 331 | node: trusty-server-multi-nic |
| 332 | relationship: tosca.relationships.DefaultImage |
Pingping Lin | b3e8ded | 2017-07-25 14:54:24 -0700 | [diff] [blame] | 333 | - 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 Zhang | ecb6feb | 2017-08-03 18:55:07 -0400 | [diff] [blame] | 345 | |
Yunpeng Zhang | 74f2082 | 2017-08-15 22:46:11 -0400 | [diff] [blame^] | 346 | 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 Zhang | ecb6feb | 2017-08-03 18:55:07 -0400 | [diff] [blame] | 374 | 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 |