Pingping Lin | c5bf2e5 | 2016-10-05 01:50:08 +0000 | [diff] [blame] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 2 | |
| 3 | imports: |
| 4 | - custom_types/xos.yaml |
| 5 | |
Pingping Lin | 710bd59 | 2017-01-25 19:48:58 -0800 | [diff] [blame] | 6 | description: list of compute nodes, created by platform-install |
Pingping Lin | c5bf2e5 | 2016-10-05 01:50:08 +0000 | [diff] [blame] | 7 | |
| 8 | topology_template: |
| 9 | node_templates: |
Pingping Lin | 710bd59 | 2017-01-25 19:48:58 -0800 | [diff] [blame] | 10 | |
| 11 | # Site/Deployment, fully defined in deployment.yaml |
Pingping Lin | c5bf2e5 | 2016-10-05 01:50:08 +0000 | [diff] [blame] | 12 | mysite: |
Pingping Lin | 710bd59 | 2017-01-25 19:48:58 -0800 | [diff] [blame] | 13 | type: tosca.nodes.Site |
Pingping Lin | c5bf2e5 | 2016-10-05 01:50:08 +0000 | [diff] [blame] | 14 | |
Pingping Lin | 710bd59 | 2017-01-25 19:48:58 -0800 | [diff] [blame] | 15 | MyDeployment: |
| 16 | type: tosca.nodes.Deployment |
Pingping Lin | c5bf2e5 | 2016-10-05 01:50:08 +0000 | [diff] [blame] | 17 | |
Pingping Lin | 710bd59 | 2017-01-25 19:48:58 -0800 | [diff] [blame] | 18 | # compute node |
| 19 | compute1: |
| 20 | type: tosca.nodes.Node |
| 21 | requirements: |
| 22 | - site: |
| 23 | node: mysite |
| 24 | relationship: tosca.relationships.MemberOfSite |
| 25 | - deployment: |
| 26 | node: MyDeployment |
| 27 | relationship: tosca.relationships.MemberOfDeployment |
Pingping Lin | c5bf2e5 | 2016-10-05 01:50:08 +0000 | [diff] [blame] | 28 | |
Pingping Lin | 710bd59 | 2017-01-25 19:48:58 -0800 | [diff] [blame] | 29 | # compute nodes 1 |
| 30 | only-bucket: |
| 31 | type: tosca.nodes.Node |
| 32 | requirements: |
| 33 | - site: |
| 34 | node: mysite |
| 35 | relationship: tosca.relationships.MemberOfSite |
| 36 | - deployment: |
| 37 | node: MyDeployment |
| 38 | relationship: tosca.relationships.MemberOfDeployment |
| 39 | # compute nodes 2 |
| 40 | salty-interest: |
| 41 | type: tosca.nodes.Node |
| 42 | requirements: |
| 43 | - site: |
| 44 | node: mysite |
| 45 | relationship: tosca.relationships.MemberOfSite |
| 46 | - deployment: |
| 47 | node: MyDeployment |
| 48 | relationship: tosca.relationships.MemberOfDeployment |
| 49 | # nodes 3 |
| 50 | strange-touch: |
Pingping Lin | c5bf2e5 | 2016-10-05 01:50:08 +0000 | [diff] [blame] | 51 | type: tosca.nodes.Node |
| 52 | requirements: |
| 53 | - site: |
| 54 | node: mysite |
| 55 | relationship: tosca.relationships.MemberOfSite |
| 56 | - deployment: |
| 57 | node: MyDeployment |
| 58 | relationship: tosca.relationships.MemberOfDeployment |