blob: 6a3324cb9c31778e8f596f4c0d8312eb1e4c8563 [file] [log] [blame]
Zack Williamsa2763112017-01-03 11:38:38 -07001tosca_definitions_version: tosca_simple_yaml_1_0
2
3description: >
4 * Some sample data to populate the demo frontend
5
6imports:
7 - custom_types/xos.yaml
8
9topology_template:
10 node_templates:
11 trusty-server-multi-nic:
12 type: tosca.nodes.Image
13 properties:
14 disk_format: QCOW2
15 container_format: BARE
16
17 {{ deployment_type }}:
18 type: tosca.nodes.Deployment
19 properties:
20 flavors: m1.large, m1.medium, m1.small
21 requirements:
22 - image:
23 node: trusty-server-multi-nic
24 relationship: tosca.relationships.SupportsImage
25
26 CloudLab:
27 type: tosca.nodes.Controller
28 requirements:
29 - deployment:
30 node: {{ deployment_type }}
31 relationship: tosca.relationships.ControllerDeployment
32 properties:
33 backend_type: OpenStack
34 version: Juno
35 auth_url: http://sample/v2
36 admin_user: admin
37 admin_password: adminpassword
38 admin_tenant: admin
39 domain: Default
40
41 {{ site_name }}:
42 type: tosca.nodes.Site
43 properties:
44 display_name: {{ site_name }}
45 site_url: http://opencloud.us/
46 requirements:
47 - deployment:
48 node: {{ deployment_type }}
49 relationship: tosca.relationships.MemberOfDeployment
50 - controller:
51 node: CloudLab
52 relationship: tosca.relationships.UsesController
53
54 Public shared IPv4:
55 type: tosca.nodes.NetworkTemplate
56 properties:
57 visibility: private
58 translation: NAT
59
60 {{ xos_admin_user }}:
61 type: tosca.nodes.User
62 properties:
63 password: {{ xos_admin_pass }}
64 firstname: {{ xos_admin_first }}
65 lastname: {{ xos_admin_last }}
66 is_admin: True
67 is_active: True
68 requirements:
69 - site:
70 node: {{ site_name }}
71 relationship: tosca.relationships.MemberOfSite
72
73 node1.opencloud.us:
74 type: tosca.nodes.Node
75 requirements:
76 - site:
77 node: {{ site_name }}
78 relationship: tosca.relationships.MemberOfSite
79 - deployment:
80 node: {{ deployment_type }}
81 relationship: tosca.relationships.MemberOfDeployment
82
83 node2.opencloud.us:
84 type: tosca.nodes.Node
85 requirements:
86 - site:
87 node: {{ site_name }}
88 relationship: tosca.relationships.MemberOfSite
89 - deployment:
90 node: {{ deployment_type }}
91 relationship: tosca.relationships.MemberOfDeployment
92