blob: 6593ff8f4d3e3ae9322001a9b38c31764742da16 [file] [log] [blame]
Andy Bavier094e7162016-11-02 17:01:22 -04001tosca_definitions_version: tosca_simple_yaml_1_0
2
3description: Adds OpenCloud Sites, Deployments, and Controllers.
4
5imports:
6 - custom_types/xos.yaml
7
8topology_template:
9 node_templates:
10
11# Nodes
12 trusty-server-multi-nic:
13 type: tosca.nodes.Image
14 properties:
15 disk_format: QCOW2
16 container_format: BARE
17
18 campus:
19 type: tosca.nodes.Deployment
20 properties:
21 flavors: m1.large, m1.medium, m1.small
22 requirements:
23 - image:
24 node: trusty-server-multi-nic
25 relationship: tosca.relationships.SupportsImage
26
27# controllers
28 campus-arizona:
29 type: tosca.nodes.Controller
30 requirements:
31 - deployment:
32 node: campus
33 relationship: tosca.relationships.ControllerDeployment
34 properties:
35 backend_type: CORD
36 version: 1.1
37 auth_url: http://192.168.33.10:9999/
38 admin_user: padmin@vicci.org
39 admin_password: letmein
40 admin_tenant: admin
41 domain: Default
42
Matteo Scandolo485e2bd2016-11-15 17:37:28 -080043 campus-utah:
44 type: tosca.nodes.Controller
45 requirements:
46 - deployment:
47 node: campus
48 relationship: tosca.relationships.ControllerDeployment
49 properties:
50 backend_type: CORD
51 version: 1.1
52 auth_url: http://192.168.33.11:9999/
53 admin_user: padmin@vicci.org
54 admin_password: letmein
55 admin_tenant: admin
56 domain: Default
57
Andy Bavier094e7162016-11-02 17:01:22 -040058# Sites
59 arizona:
60 type: tosca.nodes.Site
61 properties:
62 display_name: Arizona
63 site_url: http://opencloud.us/
64 hosts_nodes: false
65 requirements:
66 - deployment:
67 node: campus
68 relationship: tosca.relationships.MemberOfDeployment
69 - controller:
70 node: campus-arizona
71 relationship: tosca.relationships.UsesController
72
73# Users
74 padmin@vicci.org:
75 type: tosca.nodes.User
76 requirements:
77 - site:
78 node: arizona
79 relationship: tosca.relationships.MemberOfSite
80 properties:
81 is_admin: true
82 is_active: true
83 firstname: XOS
84 lastname: admin
85 password: letmein
86
87 acb@cs.princeton.edu:
88 type: tosca.nodes.User
89 requirements:
90 - site:
91 node: arizona
92 relationship: tosca.relationships.MemberOfSite
93 properties:
94 is_admin: true
95 is_active: true
96 firstname: Andy
97 lastname: Bavier
98 password: letmein
99
100# Slices
101 arizona_myslice:
102 description: A test slice at the Arizona site
103 type: tosca.nodes.Slice
104 properties:
105 network: noauto
106 requirements:
107 - site:
108 node: arizona
109 relationship: tosca.relationships.MemberOfSite
110 - privilege:
111 node: acb@cs.princeton.edu
112 relationship: tosca.relationships.AccessPrivilege
113 - image:
114 node: trusty-server-multi-nic
115 relationship: tosca.relationships.DefaultImage
116# Services