blob: 2adfdff9c0cec6c6e1386a328bf31a41e0a3ddc3 [file] [log] [blame]
Scott Baker50421662016-06-27 22:09:48 -07001tosca_definitions_version: tosca_simple_yaml_1_0
2
3description: Some basic fixtures
4
5imports:
6 - custom_types/xos.yaml
7
8topology_template:
9 node_templates:
Zack Williamsc1b451f2016-11-03 09:51:41 -070010
11 m1.small:
Scott Baker50421662016-06-27 22:09:48 -070012 type: tosca.nodes.Flavor
13
14 m1.medium:
15 type: tosca.nodes.Flavor
16
Zack Williamsc1b451f2016-11-03 09:51:41 -070017 m1.large:
Scott Baker50421662016-06-27 22:09:48 -070018 type: tosca.nodes.Flavor
19
20 m1.xlarge:
21 type: tosca.nodes.Flavor
22
23 MyDeployment:
24 type: tosca.nodes.Deployment
25 requirements:
Zack Williamsc1b451f2016-11-03 09:51:41 -070026 - m1.small:
27 node: m1.small
Scott Baker50421662016-06-27 22:09:48 -070028 relationship: tosca.relationships.SupportsFlavor
29 - m1.medium:
30 node: m1.medium
31 relationship: tosca.relationships.SupportsFlavor
Zack Williamsc1b451f2016-11-03 09:51:41 -070032 - m1.large:
33 node: m1.large
34 relationship: tosca.relationships.SupportsFlavor
35 - m1.xlarge:
36 node: m1.xlarge
Scott Baker50421662016-06-27 22:09:48 -070037 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 Baker039cb682016-10-06 15:18:46 -070046 relationship: tosca.relationships.MemberOfDeployment
Scott Baker50421662016-06-27 22:09:48 -070047
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