blob: 58c5e74ac087f7696af68ef53ab99c9b46f99e0e [file] [log] [blame]
Zack Williamsa2763112017-01-03 11:38:38 -07001---
2# vars/cord-pod.yaml
3# Configures an R-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 - management-net.yaml
24 - cord-services.yaml # should unify this with services.yaml.j2 eventually
25 - public-net.yaml
26 - volt-devices.yaml
27 - vrouter.yaml
28
29xos_other_templates:
30 - fabric-network-cfg.json
31
32cord_profile_dir: "{{ ansible_user_dir + '/cord_profile' }}"
33
34xos_docker_volumes:
35 - host: "{{ cord_profile_dir }}/images"
36 container: /opt/xos/images
37
Matteo Scandolo40e10d52017-03-08 08:04:37 -080038# GUI branding [OLD GUI to be removed]
Zack Williamsa2763112017-01-03 11:38:38 -070039gui_branding_name: "CORD"
40gui_branding_icon: "/static/cord-logo.png"
41gui_branding_favicon: "/static/cord-favicon.png"
42gui_branding_bg: "/static/cord-bg.jpg"
43
Matteo Scandolo40e10d52017-03-08 08:04:37 -080044enabled_gui_extensions:
45 - name: vtr
46 path: orchestration/xos_services/vtr/xos/gui
Matteo Scandolo4b3d7682017-03-27 10:34:24 -070047 - name: rcord
48 path: orchestration/profiles/rcord/xos/gui
Matteo Scandolo40e10d52017-03-08 08:04:37 -080049
Zack Williamsa2763112017-01-03 11:38:38 -070050# paths defined in manifest/default.xml
51xos_services:
52 - name: volt
53 path: onos-apps/apps/olt
Andy Bavier9e7d54a2017-04-17 11:37:02 -040054 keypair: volt_rsa
55 synchronizer: false
Zack Williamsa2763112017-01-03 11:38:38 -070056 - name: vtn
57 path: onos-apps/apps/vtn
Andy Bavier9e7d54a2017-04-17 11:37:02 -040058 keypair: vsg_rsa
59 synchronizer: true
Zack Williamsa2763112017-01-03 11:38:38 -070060 - name: openstack
61 path: orchestration/xos_services/openstack
Andy Bavier9e7d54a2017-04-17 11:37:02 -040062 synchronizer: true
Zack Williamsa2763112017-01-03 11:38:38 -070063 - name: onos
64 path: orchestration/xos_services/onos-service
Andy Bavier9e7d54a2017-04-17 11:37:02 -040065 keypair: onos_rsa
66 synchronizer: true
Zack Williamsa2763112017-01-03 11:38:38 -070067 - name: vrouter
68 path: orchestration/xos_services/vrouter
Andy Bavier9e7d54a2017-04-17 11:37:02 -040069 synchronizer: true
Zack Williamsa2763112017-01-03 11:38:38 -070070 - name: vsg
71 path: orchestration/xos_services/vsg
Andy Bavier9e7d54a2017-04-17 11:37:02 -040072 keypair: vsg_rsa
73 synchronizer: true
Zack Williamsa2763112017-01-03 11:38:38 -070074 - name: vtr
75 path: orchestration/xos_services/vtr
Andy Bavier9e7d54a2017-04-17 11:37:02 -040076 keypair: vsg_rsa
77 synchronizer: true
Zack Williamsa2763112017-01-03 11:38:38 -070078 - name: fabric
79 path: orchestration/xos_services/fabric
Andy Bavier9e7d54a2017-04-17 11:37:02 -040080 synchronizer: true
Zack Williamsa2763112017-01-03 11:38:38 -070081# needed onboarding synchronizer doesn't require service code to be present when started
82 - name: exampleservice
83 path: orchestration/xos_services/exampleservice
Andy Bavier9e7d54a2017-04-17 11:37:02 -040084 keypair: exampleservice_rsa
85 synchronizer: true
Srikanth Vavilapallia7ae6512017-02-13 02:29:21 +000086 - name: monitoring
87 path: orchestration/xos_services/monitoring
Andy Bavier9e7d54a2017-04-17 11:37:02 -040088 keypair: monitoringservice_rsa
89 synchronizer: false
Zack Williamsa2763112017-01-03 11:38:38 -070090
91xos_service_sshkeys:
92 - name: onos_rsa
93 source_path: "~/.ssh/id_rsa"
94 - name: onos_rsa.pub
95 source_path: "~/.ssh/id_rsa.pub"
96 - name: volt_rsa
97 source_path: "~/.ssh/id_rsa"
98 - name: volt_rsa.pub
99 source_path: "~/.ssh/id_rsa.pub"
100 - name: vsg_rsa
101 source_path: "~/.ssh/id_rsa"
102 - name: vsg_rsa.pub
103 source_path: "~/.ssh/id_rsa.pub"
104# needed onboarding synchronizer doesn't require service code to be present when started
105 - name: exampleservice_rsa
106 source_path: "~/.ssh/id_rsa"
107 - name: exampleservice_rsa.pub
108 source_path: "~/.ssh/id_rsa.pub"
Srikanth Vavilapallia7ae6512017-02-13 02:29:21 +0000109 - name: monitoringservice_rsa
110 source_path: "~/.ssh/id_rsa"
111 - name: monitoringservice_rsa.pub
112 source_path: "~/.ssh/id_rsa.pub"
Zack Williamsa2763112017-01-03 11:38:38 -0700113
Scott Baker463e5f92017-04-20 15:27:41 -0700114profile_library: "rcord"
115
Zack Williamsa2763112017-01-03 11:38:38 -0700116# VM networks/bridges on head
117virt_nets:
118 - name: mgmtbr
119 ipv4_prefix: 192.168.122
120 head_vms: true
121
122# site domain suffix
123site_suffix: cord.lab
124
125# resolv.conf settings
126dns_search:
127 - "{{ site_suffix }}"
128
129# SSL server certificate generation
130server_certs:
131 - cn: "keystone.{{ site_suffix }}"
132 subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=keystone.{{ site_suffix }}"
133 altnames:
134 - "DNS:keystone.{{ site_suffix }}"
135 - "DNS:keystone"
136 - cn: "xos-core.{{ site_suffix }}"
137 subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=xos-core.{{ site_suffix }}"
138 altnames:
139 - "DNS:xos-core.{{ site_suffix }}"
140
141# NSD/Unbound settings
142nsd_zones:
143 - name: "{{ site_suffix }}"
144 ipv4_first_octets: 192.168.122
145 name_reverse_unbound: "168.192.in-addr.arpa"
146 soa: ns1
147 ns:
148 - { name: ns1 }
149 nodelist: head_vm_list
150 aliases:
151 - { name: "ns1" , dest: "head" }
152 - { name: "ns" , dest: "head" }
153 - { name: "apt-cache" , dest: "head" }
154
155name_on_public_interface: head
156
157# VTN network configuration
158management_network_cidr: 172.27.0.0/24
159management_network_ip: 172.27.0.1/24
160data_plane_ip: 10.168.0.253/24
161
162# CORD ONOS app version
163cord_app_version: 1.2-SNAPSHOT
164
165# If true, unbound listens on the head node's `ansible_default_ipv4` interface
166unbound_listen_on_default: True
167
168# turn this on, or override it when running the playbook with --extra-vars="on_cloudlab=True"
169on_cloudlab: False
170
171# turn this off, or override when running playbook with --extra-vars="on_maas=False"
172on_maas: True
173
174run_dist_upgrade: False
175
176maas_node_key: /etc/maas/ansible/id_rsa
177
178openstack_version: kilo
179
180juju_config_name: cord
181
182juju_config_path: /usr/local/src/juju_config.yml
183
184# Pull ONOS from local Docker registry rather than Docker Hub
Andy Baviera2f689b2017-05-10 14:47:08 -0400185onos_docker_image: "docker-registry:5000/onosproject/onos:candidate"
Zack Williamsa2763112017-01-03 11:38:38 -0700186
Scott Baker71954ac2017-04-10 21:41:31 -0700187# Pull XOS from local Docker registry
188xos_docker_image: "docker-registry:5000/xosproject/xos:candidate"
189
Zack Williamsa2763112017-01-03 11:38:38 -0700190keystone_admin_password: "{{ lookup('password', 'credentials/cord_keystone_admin chars=ascii_letters,digits') }}"
191
192deployment_flavors:
193 - m1.small
194 - m1.medium
195 - m1.large
196 - m1.xlarge
197
Zack Williamsa2763112017-01-03 11:38:38 -0700198charm_versions:
199 ceilometer: "cs:trusty/ceilometer-17"
200 ceilometer-agent: "cs:trusty/ceilometer-agent-13"
201 glance: "cs:trusty/glance-28"
202 keystone: "cs:trusty/keystone-33"
203 mongodb: "cs:trusty/mongodb-33"
204 percona-cluster: "cs:trusty/percona-cluster-31"
205 nagios: "cs:trusty/nagios-10"
Andy Bavierfd169692017-04-14 16:32:08 -0400206 neutron-api: "cs:~cordteam/trusty/neutron-api-5"
Zack Williamsa2763112017-01-03 11:38:38 -0700207 nova-cloud-controller: "cs:trusty/nova-cloud-controller-64"
208 nova-compute: "cs:~cordteam/trusty/nova-compute-2"
209 nrpe: "cs:trusty/nrpe-4"
210 ntp: "cs:trusty/ntp-14"
211 openstack-dashboard: "cs:trusty/openstack-dashboard-19"
212 rabbitmq-server: "cs:trusty/rabbitmq-server-42"
213
214head_vm_list: []
215
216head_lxd_list:
217 - name: "juju-1"
218 service: "juju"
219 aliases:
220 - "juju"
221 ipv4_last_octet: 10
222
223 - name: "ceilometer-1"
224 service: "ceilometer"
225 aliases:
226 - "ceilometer"
227 ipv4_last_octet: 20
228 forwarded_ports:
229 - { ext: 8777, int: 8777 }
230
231 - name: "glance-1"
232 service: "glance"
233 aliases:
234 - "glance"
235 ipv4_last_octet: 30
236 forwarded_ports:
237 - { ext: 9292, int: 9292 }
238
239 - name: "keystone-1"
240 service: "keystone"
241 aliases:
242 - "keystone"
243 ipv4_last_octet: 40
244 forwarded_ports:
245 - { ext: 35357, int: 35357 }
246 - { ext: 4990, int: 4990 }
247 - { ext: 5000, int: 5000 }
248
249 - name: "percona-cluster-1"
250 service: "percona-cluster"
251 aliases:
252 - "percona-cluster"
253 ipv4_last_octet: 50
254
255 - name: "nagios-1"
256 service: "nagios"
257 aliases:
258 - "nagios"
259 ipv4_last_octet: 60
260 forwarded_ports:
261 - { ext: 3128, int: 80 }
262
263 - name: "neutron-api-1"
264 service: "neutron-api"
265 aliases:
266 - "neutron-api"
267 ipv4_last_octet: 70
268 forwarded_ports:
269 - { ext: 9696, int: 9696 }
270
271 - name: "nova-cloud-controller-1"
272 service: "nova-cloud-controller"
273 aliases:
274 - "nova-cloud-controller"
275 ipv4_last_octet: 80
276 forwarded_ports:
277 - { ext: 8774, int: 8774 }
278
279 - name: "openstack-dashboard-1"
280 service: "openstack-dashboard"
281 aliases:
282 - "openstack-dashboard"
283 ipv4_last_octet: 90
284 forwarded_ports:
285 - { ext: 8080, int: 80 }
286
287 - name: "rabbitmq-server-1"
288 service: "rabbitmq-server"
289 aliases:
290 - "rabbitmq-server"
291 ipv4_last_octet: 100
292
293 - name: "mongodb-1"
294 service: "mongodb"
295 aliases:
296 - "mongodb"
297 ipv4_last_octet: 110
298
299lxd_service_list:
300 - ceilometer
301 - glance
302 - keystone
303 - mongodb
304 - nagios
305 - neutron-api
306 - nova-cloud-controller
307 - openstack-dashboard
308 - percona-cluster
309 - rabbitmq-server
310
311standalone_service_list:
312 - ntp
313 - nrpe
314 - ceilometer-agent
315
316
317service_relations:
318 - name: keystone
319 relations: [ "percona-cluster", "nrpe", ]
320
321 - name: nova-cloud-controller
322 relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", "nrpe", ]
323
324 - name: glance
325 relations: [ "percona-cluster", "keystone", "nrpe", ]
326
327 - name: neutron-api
328 relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", "nrpe", ]
329
330 - name: openstack-dashboard
331 relations: [ "keystone", "nrpe", ]
332
333 - name: nagios
334 relations: [ "nrpe", ]
335
336 - name: "percona-cluster:juju-info"
337 relations: [ "nrpe:general-info", ]
338
339 - name: rabbitmq-server
340 relations: [ "nrpe", ]
341
342 - name: ceilometer
343 relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ]
344
345 - name: "ceilometer:identity-service"
346 relations: [ "keystone:identity-service", ]
347
348 - name: "ceilometer:ceilometer-service"
349 relations: [ "ceilometer-agent:ceilometer-service", ]
350
351
352compute_relations:
353 - name: nova-compute
354 relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", "nagios", "nrpe", ]
355
356 - name: "nova-compute:shared-db"
357 relations: [ "percona-cluster:shared-db", ]
358
359 - name: "nova-compute:amqp"
360 relations: [ "rabbitmq-server:amqp", ]
361
362 - name: ntp
363 relations: [ "nova-compute", ]
364
365
366xos_images:
367 - name: "trusty-server-multi-nic"
368 url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img.20170201"
369 checksum: "sha256:ebf007ba3ec1043b7cd011fc6668e2a1d1d4c69c41071e8513ab355df7a057cb"
370
371 - name: "vsg-1.1"
372 url: "http://www.vicci.org/cord/vsg-1.1.img"
373 checksum: "sha256:16b0beb6778aed0f5feecb05f8d5750e6c262f98e6011e99ddadf7d46a177b6f"
374
375 - name: "ceilometer-trusty-server-multi-nic"
376 url: "http://www.vicci.org/cord/ceilometer-trusty-server-multi-nic.compressed.qcow2"
377 checksum: "sha256:b77ef8d692b640568dea13df99fe1dfcb1f4bb4ac05408db9ff77399b34f754f"
378
379 - name: "ceilometer-service-trusty-server-multi-nic"
380 url: "http://www.vicci.org/cord/ceilometer-service-trusty-server-multi-nic.compressed.qcow2.20170131"
381 checksum: "sha256:f0341e283f0f2cb8f70cd1a6347e0081c9c8492ef34eb6397c657ef824800d4f"