Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 2 | |
| 3 | description: Some basic fixtures |
| 4 | |
| 5 | imports: |
| 6 | - custom_types/xos.yaml |
| 7 | |
| 8 | topology_template: |
| 9 | node_templates: |
Zack Williams | c1b451f | 2016-11-03 09:51:41 -0700 | [diff] [blame] | 10 | |
| 11 | m1.small: |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 12 | type: tosca.nodes.Flavor |
| 13 | |
| 14 | m1.medium: |
| 15 | type: tosca.nodes.Flavor |
| 16 | |
Zack Williams | c1b451f | 2016-11-03 09:51:41 -0700 | [diff] [blame] | 17 | m1.large: |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 18 | type: tosca.nodes.Flavor |
| 19 | |
| 20 | m1.xlarge: |
| 21 | type: tosca.nodes.Flavor |
| 22 | |
| 23 | MyDeployment: |
| 24 | type: tosca.nodes.Deployment |
| 25 | requirements: |
Zack Williams | c1b451f | 2016-11-03 09:51:41 -0700 | [diff] [blame] | 26 | - m1.small: |
| 27 | node: m1.small |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 28 | relationship: tosca.relationships.SupportsFlavor |
| 29 | - m1.medium: |
| 30 | node: m1.medium |
| 31 | relationship: tosca.relationships.SupportsFlavor |
Zack Williams | c1b451f | 2016-11-03 09:51:41 -0700 | [diff] [blame] | 32 | - m1.large: |
| 33 | node: m1.large |
| 34 | relationship: tosca.relationships.SupportsFlavor |
| 35 | - m1.xlarge: |
| 36 | node: m1.xlarge |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 37 | relationship: tosca.relationships.SupportsFlavor |
| 38 | |
| 39 | mysite: |
| 40 | type: tosca.nodes.Site |
| 41 | properties: |
| 42 | display_name: MySite |
| 43 | requirements: |
| 44 | - deployment: |
| 45 | node: MyDeployment |
Scott Baker | 039cb68 | 2016-10-06 15:18:46 -0700 | [diff] [blame] | 46 | relationship: tosca.relationships.MemberOfDeployment |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 47 | |
| 48 | # Attach the Tenant view to the MyDeployment deployment |
| 49 | Tenant: |
| 50 | type: tosca.nodes.DashboardView |
| 51 | properties: |
| 52 | no-create: true |
| 53 | no-delete: true |
| 54 | requirements: |
| 55 | - deployment: |
| 56 | node: MyDeployment |
| 57 | relationship: tosca.relationships.SupportsDeployment |
| 58 | |
| 59 | padmin@vicci.org: |
| 60 | type: tosca.nodes.User |
| 61 | properties: |
| 62 | password: letmein |
| 63 | # encrypted_password: pbkdf2_sha256$12000$Qufx9iqtaYma$xs0YurPOcj9qYQna/Qrb3K+im9Yr2XEVr0J4Kqek7AE= |
| 64 | firstname: XOS |
| 65 | lastname: admin |
| 66 | is_admin: true |
| 67 | requirements: |
| 68 | - site: |
| 69 | node: mysite |
| 70 | relationship: tosca.relationships.MemberOfSite |
| 71 | - tenant_dashboard: |
| 72 | node: Tenant |
| 73 | relationship: tosca.relationships.UsesDashboard |
| 74 | |
| 75 | |
| 76 | |