Scott Baker | 03a4805 | 2015-12-14 13:09:33 -0800 | [diff] [blame] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 2 | |
| 3 | description: > |
| 4 | * Create a new deployment, controller, and site. |
| 5 | * Add a SiteDeployment from the site to the deployment using the controller. |
| 6 | * Create a Slice in the Site, with one Instance |
| 7 | |
| 8 | imports: |
| 9 | - custom_types/xos.yaml |
| 10 | |
| 11 | topology_template: |
| 12 | node_templates: |
| 13 | mysite: |
| 14 | type: tosca.nodes.Site |
| 15 | |
| 16 | trusty-server-multi-nic: |
| 17 | type: tosca.nodes.Image |
| 18 | |
| 19 | mysite_test1: |
| 20 | type: tosca.nodes.Slice |
| 21 | requirements: |
| 22 | - slice: |
| 23 | node: mysite |
| 24 | relationship: tosca.relationships.MemberOfSite |
| 25 | - default_image: |
| 26 | node: trusty-server-multi-nic |
| 27 | relationship: tosca.relationships.DefaultImage |
| 28 | properties: |
| 29 | default_flavor: m1.small |
| 30 | |