blob: c81fd93fde8a00c233b4e9c733a345fd57f583ae [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:
10 m1.large:
11 type: tosca.nodes.Flavor
12
13 m1.medium:
14 type: tosca.nodes.Flavor
15
16 m1.small:
17 type: tosca.nodes.Flavor
18
19 m1.xlarge:
20 type: tosca.nodes.Flavor
21
22 MyDeployment:
23 type: tosca.nodes.Deployment
24 requirements:
25 - m1.xlarge:
26 node: m1.large
27 relationship: tosca.relationships.SupportsFlavor
28 - m1.large:
29 node: m1.large
30 relationship: tosca.relationships.SupportsFlavor
31 - m1.medium:
32 node: m1.medium
33 relationship: tosca.relationships.SupportsFlavor
34 - m1.small:
35 node: m1.small
36 relationship: tosca.relationships.SupportsFlavor
37
38 mysite:
39 type: tosca.nodes.Site
40 properties:
41 display_name: MySite
42 requirements:
43 - deployment:
44 node: MyDeployment
45 relationship: tosca.relationships.SiteDeployment
46
47 # Attach the Tenant view to the MyDeployment deployment
48 Tenant:
49 type: tosca.nodes.DashboardView
50 properties:
51 no-create: true
52 no-delete: true
53 requirements:
54 - deployment:
55 node: MyDeployment
56 relationship: tosca.relationships.SupportsDeployment
57
58 padmin@vicci.org:
59 type: tosca.nodes.User
60 properties:
61 password: letmein
62# encrypted_password: pbkdf2_sha256$12000$Qufx9iqtaYma$xs0YurPOcj9qYQna/Qrb3K+im9Yr2XEVr0J4Kqek7AE=
63 firstname: XOS
64 lastname: admin
65 is_admin: true
66 requirements:
67 - site:
68 node: mysite
69 relationship: tosca.relationships.MemberOfSite
70 - tenant_dashboard:
71 node: Tenant
72 relationship: tosca.relationships.UsesDashboard
73
74
75