Matteo Scandolo | af2cd4f | 2016-12-22 13:27:10 -0800 | [diff] [blame^] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 2 | |
| 3 | description: Setup CORD-related services |
| 4 | |
| 5 | imports: |
| 6 | - custom_types/xos.yaml |
| 7 | |
| 8 | topology_template: |
| 9 | node_templates: |
| 10 | |
| 11 | mysite: |
| 12 | type: tosca.nodes.Site |
| 13 | properties: |
| 14 | # Assume the mysite site exists, and don't touch it |
| 15 | no-create: true |
| 16 | no-update: true |
| 17 | no-delete: true |
| 18 | |
| 19 | # Slices |
| 20 | mysite_test_4: |
| 21 | description: Slice that contains sample instances |
| 22 | type: tosca.nodes.Slice |
| 23 | requirements: |
| 24 | - site: |
| 25 | node: mysite |
| 26 | relationship: tosca.relationships.MemberOfSite |
| 27 | |
| 28 | mysite_test_5: |
| 29 | description: Slice that contains sample instances |
| 30 | type: tosca.nodes.Slice |
| 31 | requirements: |
| 32 | - site: |
| 33 | node: mysite |
| 34 | relationship: tosca.relationships.MemberOfSite |
| 35 | |
| 36 | mysite_test_6: |
| 37 | description: Slice that contains sample instances |
| 38 | type: tosca.nodes.Slice |
| 39 | requirements: |
| 40 | - site: |
| 41 | node: mysite |
| 42 | relationship: tosca.relationships.MemberOfSite |