blob: 2a9878fd620617f4b60737158e8868eb5d35ed76 [file] [log] [blame]
Andrea Campanellabcfb2d62017-02-15 09:37:35 -08001---
2# profile_manifests/ecord.yaml
3# Configures an E-CORD pod
4
5# site configuration
6site_name: mysite
7site_humanname: MySite
8deployment_type: MyDeployment
9
10xos_admin_user: xosadmin@opencord.org
11xos_admin_pass: "{{ lookup('password', 'credentials/xosadmin@opencord.org chars=ascii_letters,digits') }}"
12xos_admin_first: XOS
13xos_admin_last: Admin
14
15xos_users: []
16
17use_vtn: True
18
19xos_tosca_config_templates:
20 - openstack.yaml
21 - vtn-service.yaml
22 - fabric-service.yaml
23 - ecord-services.yaml
24
25xos_other_templates:
26 - fabric-network-cfg.json
27
28cord_profile_dir: "{{ ansible_user_dir + '/cord_profile' }}"
29
30xos_docker_volumes:
31 - host: "{{ cord_profile_dir }}/images"
32 container: /opt/xos/images
33
34# GUI branding
35gui_branding_name: "ECORD"
36gui_branding_icon: "/static/cord-logo.png"
37gui_branding_favicon: "/static/cord-favicon.png"
38gui_branding_bg: "/static/cord-bg.jpg"
39
40# paths defined in manifest/default.xml
41xos_services:
42 - name: vtn
43 path: onos-apps/apps/vtn
44 - name: openstack
45 path: orchestration/xos_services/openstack
46 - name: onos
47 path: orchestration/xos_services/onos-service
48 - name: vrouter
49 path: orchestration/xos_services/vrouter
50 - name: veg
51 path: orchestration/xos_services/vEG
52 - name: fabric
53 path: orchestration/xos_services/fabric
54 - name: veg_rsa
55 source_path: "/dev/null"
56 - name: veg_rsa.pub
57 source_path: "/dev/null"
58
59xos_service_sshkeys:
60 - name: onos_rsa
61 source_path: "~/.ssh/id_rsa"
62 - name: onos_rsa.pub
63 source_path: "~/.ssh/id_rsa.pub"
64 - name: veg_rsa
65 source_path: "~/.ssh/id_rsa"
66 - name: veg_rsa.pub
67 source_path: "~/.ssh/id_rsa.pub"
68
69# VM networks/bridges on head
70virt_nets:
71 - name: mgmtbr
72 ipv4_prefix: 192.168.122
73 head_vms: true
74
75# site domain suffix
76site_suffix: cord.lab
77
78# resolv.conf settings
79dns_search:
80 - "{{ site_suffix }}"
81
82# SSL server certificate generation
83server_certs:
84 - cn: "keystone.{{ site_suffix }}"
85 subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=keystone.{{ site_suffix }}"
86 altnames:
87 - "DNS:keystone.{{ site_suffix }}"
88 - "DNS:keystone"
89 - cn: "xos-core.{{ site_suffix }}"
90 subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=xos-core.{{ site_suffix }}"
91 altnames:
92 - "DNS:xos-core.{{ site_suffix }}"
93
94# NSD/Unbound settings
95nsd_zones:
96 - name: "{{ site_suffix }}"
97 ipv4_first_octets: 192.168.122
98 name_reverse_unbound: "168.192.in-addr.arpa"
99 soa: ns1
100 ns:
101 - { name: ns1 }
102 nodelist: head_vm_list
103 aliases:
104 - { name: "ns1" , dest: "head" }
105 - { name: "ns" , dest: "head" }
106 - { name: "apt-cache" , dest: "head" }
107
108name_on_public_interface: head
109
110# VTN network configuration
111management_network_cidr: 172.27.0.0/24
112management_network_ip: 172.27.0.1/24
113data_plane_ip: 10.168.0.253/24
114
115# CORD ONOS app version
116cord_app_version: 1.2-SNAPSHOT
117
118# If true, unbound listens on the head node's `ansible_default_ipv4` interface
119unbound_listen_on_default: True
120
121# turn this on, or override it when running the playbook with --extra-vars="on_cloudlab=True"
122on_cloudlab: False
123
124# turn this off, or override when running playbook with --extra-vars="on_maas=False"
125on_maas: True
126
127run_dist_upgrade: False
128
129maas_node_key: /etc/maas/ansible/id_rsa
130
131openstack_version: kilo
132
133juju_config_name: cord
134
135juju_config_path: /usr/local/src/juju_config.yml
136
137# Pull ONOS from local Docker registry rather than Docker Hub
138onos_docker_image: "docker-registry:5000/opencord/onos:candidate"
139
140keystone_admin_password: "{{ lookup('password', 'credentials/cord_keystone_admin chars=ascii_letters,digits') }}"
141
142deployment_flavors:
143 - m1.small
144 - m1.medium
145 - m1.large
146 - m1.xlarge
147
148apt_cacher_name: apt-cache
149
150apt_ssl_sites:
151 - apt.dockerproject.org
152 - butler.opencloud.cs.arizona.edu
153 - deb.nodesource.com
154
155charm_versions:
156 ceilometer: "cs:trusty/ceilometer-17"
157 ceilometer-agent: "cs:trusty/ceilometer-agent-13"
158 glance: "cs:trusty/glance-28"
159 keystone: "cs:trusty/keystone-33"
160 mongodb: "cs:trusty/mongodb-33"
161 percona-cluster: "cs:trusty/percona-cluster-31"
162 nagios: "cs:trusty/nagios-10"
163 neutron-api: "cs:~cordteam/trusty/neutron-api-4"
164 nova-cloud-controller: "cs:trusty/nova-cloud-controller-64"
165 nova-compute: "cs:~cordteam/trusty/nova-compute-2"
166 nrpe: "cs:trusty/nrpe-4"
167 ntp: "cs:trusty/ntp-14"
168 openstack-dashboard: "cs:trusty/openstack-dashboard-19"
169 rabbitmq-server: "cs:trusty/rabbitmq-server-42"
170
171head_vm_list: []
172
173head_lxd_list:
174 - name: "juju-1"
175 service: "juju"
176 aliases:
177 - "juju"
178 ipv4_last_octet: 10
179
180 - name: "ceilometer-1"
181 service: "ceilometer"
182 aliases:
183 - "ceilometer"
184 ipv4_last_octet: 20
185 forwarded_ports:
186 - { ext: 8777, int: 8777 }
187
188 - name: "glance-1"
189 service: "glance"
190 aliases:
191 - "glance"
192 ipv4_last_octet: 30
193 forwarded_ports:
194 - { ext: 9292, int: 9292 }
195
196 - name: "keystone-1"
197 service: "keystone"
198 aliases:
199 - "keystone"
200 ipv4_last_octet: 40
201 forwarded_ports:
202 - { ext: 35357, int: 35357 }
203 - { ext: 4990, int: 4990 }
204 - { ext: 5000, int: 5000 }
205
206 - name: "percona-cluster-1"
207 service: "percona-cluster"
208 aliases:
209 - "percona-cluster"
210 ipv4_last_octet: 50
211
212 - name: "nagios-1"
213 service: "nagios"
214 aliases:
215 - "nagios"
216 ipv4_last_octet: 60
217 forwarded_ports:
218 - { ext: 3128, int: 80 }
219
220 - name: "neutron-api-1"
221 service: "neutron-api"
222 aliases:
223 - "neutron-api"
224 ipv4_last_octet: 70
225 forwarded_ports:
226 - { ext: 9696, int: 9696 }
227
228 - name: "nova-cloud-controller-1"
229 service: "nova-cloud-controller"
230 aliases:
231 - "nova-cloud-controller"
232 ipv4_last_octet: 80
233 forwarded_ports:
234 - { ext: 8774, int: 8774 }
235
236 - name: "openstack-dashboard-1"
237 service: "openstack-dashboard"
238 aliases:
239 - "openstack-dashboard"
240 ipv4_last_octet: 90
241 forwarded_ports:
242 - { ext: 8080, int: 80 }
243
244 - name: "rabbitmq-server-1"
245 service: "rabbitmq-server"
246 aliases:
247 - "rabbitmq-server"
248 ipv4_last_octet: 100
249
250 - name: "mongodb-1"
251 service: "mongodb"
252 aliases:
253 - "mongodb"
254 ipv4_last_octet: 110
255
256lxd_service_list:
257 - ceilometer
258 - glance
259 - keystone
260 - mongodb
261 - nagios
262 - neutron-api
263 - nova-cloud-controller
264 - openstack-dashboard
265 - percona-cluster
266 - rabbitmq-server
267
268standalone_service_list:
269 - ntp
270 - nrpe
271 - ceilometer-agent
272
273
274service_relations:
275 - name: keystone
276 relations: [ "percona-cluster", "nrpe", ]
277
278 - name: nova-cloud-controller
279 relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", "nrpe", ]
280
281 - name: glance
282 relations: [ "percona-cluster", "keystone", "nrpe", ]
283
284 - name: neutron-api
285 relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", "nrpe", ]
286
287 - name: openstack-dashboard
288 relations: [ "keystone", "nrpe", ]
289
290 - name: nagios
291 relations: [ "nrpe", ]
292
293 - name: "percona-cluster:juju-info"
294 relations: [ "nrpe:general-info", ]
295
296 - name: rabbitmq-server
297 relations: [ "nrpe", ]
298
299 - name: ceilometer
300 relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ]
301
302 - name: "ceilometer:identity-service"
303 relations: [ "keystone:identity-service", ]
304
305 - name: "ceilometer:ceilometer-service"
306 relations: [ "ceilometer-agent:ceilometer-service", ]
307
308
309compute_relations:
310 - name: nova-compute
311 relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", "nagios", "nrpe", ]
312
313 - name: "nova-compute:shared-db"
314 relations: [ "percona-cluster:shared-db", ]
315
316 - name: "nova-compute:amqp"
317 relations: [ "rabbitmq-server:amqp", ]
318
319 - name: ntp
320 relations: [ "nova-compute", ]
321
322
323xos_images:
324 - name: "trusty-server-multi-nic"
325 url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img.20170201"
326 checksum: "sha256:ebf007ba3ec1043b7cd011fc6668e2a1d1d4c69c41071e8513ab355df7a057cb"
327
328 - name: "vsg-1.1"
329 url: "http://www.vicci.org/cord/vsg-1.1.img"
330 checksum: "sha256:16b0beb6778aed0f5feecb05f8d5750e6c262f98e6011e99ddadf7d46a177b6f"
331
332 - name: "ceilometer-trusty-server-multi-nic"
333 url: "http://www.vicci.org/cord/ceilometer-trusty-server-multi-nic.compressed.qcow2"
334 checksum: "sha256:b77ef8d692b640568dea13df99fe1dfcb1f4bb4ac05408db9ff77399b34f754f"
335
336 - name: "ceilometer-service-trusty-server-multi-nic"
337 url: "http://www.vicci.org/cord/ceilometer-service-trusty-server-multi-nic.compressed.qcow2.20170131"
338 checksum: "sha256:f0341e283f0f2cb8f70cd1a6347e0081c9c8492ef34eb6397c657ef824800d4f"