blob: 2adfdff9c0cec6c6e1386a328bf31a41e0a3ddc3 [file] [log] [blame]
Pingping Linadef86c2017-01-23 22:36:46 +00001tosca_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:
10
11 m1.small:
12 type: tosca.nodes.Flavor
13
14 m1.medium:
15 type: tosca.nodes.Flavor
16
17 m1.large:
18 type: tosca.nodes.Flavor
19
20 m1.xlarge:
21 type: tosca.nodes.Flavor
22
23 MyDeployment:
24 type: tosca.nodes.Deployment
25 requirements:
26 - m1.small:
27 node: m1.small
28 relationship: tosca.relationships.SupportsFlavor
29 - m1.medium:
30 node: m1.medium
31 relationship: tosca.relationships.SupportsFlavor
32 - m1.large:
33 node: m1.large
34 relationship: tosca.relationships.SupportsFlavor
35 - m1.xlarge:
36 node: m1.xlarge
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
46 relationship: tosca.relationships.MemberOfDeployment
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