blob: 2d018a6cd0dedaf49a1c03414b016b0d79a60f5a [file] [log] [blame]
Scott Baker50421662016-06-27 22:09:48 -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 MyDeployment:
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: MyDeployment
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 mysite:
42 type: tosca.nodes.Site
43 properties:
44 display_name: MySite
45 site_url: http://opencloud.us/
46 requirements:
47 - deployment:
48 node: MyDeployment
Scott Baker039cb682016-10-06 15:18:46 -070049 relationship: tosca.relationships.MemberOfDeployment
50 - controller:
51 node: CloudLab
52 relationship: tosca.relationships.UsesController
Scott Baker50421662016-06-27 22:09:48 -070053
54 Public shared IPv4:
55 type: tosca.nodes.NetworkTemplate
56 properties:
57 visibility: private
58 translation: NAT
59
60 padmin@vicci.org:
61 type: tosca.nodes.User
62 requirements:
63 - site:
64 node: mysite
65 relationship: tosca.relationships.MemberOfSite
66 properties:
67 is_admin: true
68 is_active: true
69 firstname: XOS
70 lastname: admin
71
72 node1.opencloud.us:
73 type: tosca.nodes.Node
74 requirements:
75 - site:
76 node: mysite
77 relationship: tosca.relationships.MemberOfSite
78 - deployment:
79 node: MyDeployment
80 relationship: tosca.relationships.MemberOfDeployment
81
82 node2.opencloud.us:
83 type: tosca.nodes.Node
84 requirements:
85 - site:
86 node: mysite
87 relationship: tosca.relationships.MemberOfSite
88 - deployment:
89 node: MyDeployment
90 relationship: tosca.relationships.MemberOfDeployment