blob: 0cc47ab02e857645cf8618b5bfaf58a5408b5fb6 [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
49 relationship: tosca.relationships.SiteDeployment
50 requirements:
51 - controller:
52 node: CloudLab
53 relationship: tosca.relationships.UsesController
54
55 Public shared IPv4:
56 type: tosca.nodes.NetworkTemplate
57 properties:
58 visibility: private
59 translation: NAT
60
61 padmin@vicci.org:
62 type: tosca.nodes.User
63 requirements:
64 - site:
65 node: mysite
66 relationship: tosca.relationships.MemberOfSite
67 properties:
68 is_admin: true
69 is_active: true
70 firstname: XOS
71 lastname: admin
72
73 node1.opencloud.us:
74 type: tosca.nodes.Node
75 requirements:
76 - site:
77 node: mysite
78 relationship: tosca.relationships.MemberOfSite
79 - deployment:
80 node: MyDeployment
81 relationship: tosca.relationships.MemberOfDeployment
82
83 node2.opencloud.us:
84 type: tosca.nodes.Node
85 requirements:
86 - site:
87 node: mysite
88 relationship: tosca.relationships.MemberOfSite
89 - deployment:
90 node: MyDeployment
91 relationship: tosca.relationships.MemberOfDeployment