blob: c7d7cf53c686694d856f011524ee48004854a297 [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
114# VM networks/bridges on head
115virt_nets:
116 - name: mgmtbr
117 ipv4_prefix: 192.168.122
118 head_vms: true
119
120# site domain suffix
121site_suffix: cord.lab
122
123# resolv.conf settings
124dns_search:
125 - "{{ site_suffix }}"
126
127# SSL server certificate generation
128server_certs:
129 - cn: "keystone.{{ site_suffix }}"
130 subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=keystone.{{ site_suffix }}"
131 altnames:
132 - "DNS:keystone.{{ site_suffix }}"
133 - "DNS:keystone"
134 - cn: "xos-core.{{ site_suffix }}"
135 subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=xos-core.{{ site_suffix }}"
136 altnames:
137 - "DNS:xos-core.{{ site_suffix }}"
138
139# NSD/Unbound settings
140nsd_zones:
141 - name: "{{ site_suffix }}"
142 ipv4_first_octets: 192.168.122
143 name_reverse_unbound: "168.192.in-addr.arpa"
144 soa: ns1
145 ns:
146 - { name: ns1 }
147 nodelist: head_vm_list
148 aliases:
149 - { name: "ns1" , dest: "head" }
150 - { name: "ns" , dest: "head" }
151 - { name: "apt-cache" , dest: "head" }
152
153name_on_public_interface: head
154
155# VTN network configuration
156management_network_cidr: 172.27.0.0/24
157management_network_ip: 172.27.0.1/24
158data_plane_ip: 10.168.0.253/24
159
160# CORD ONOS app version
161cord_app_version: 1.2-SNAPSHOT
162
163# If true, unbound listens on the head node's `ansible_default_ipv4` interface
164unbound_listen_on_default: True
165
166# turn this on, or override it when running the playbook with --extra-vars="on_cloudlab=True"
167on_cloudlab: False
168
169# turn this off, or override when running playbook with --extra-vars="on_maas=False"
170on_maas: True
171
172run_dist_upgrade: False
173
174maas_node_key: /etc/maas/ansible/id_rsa
175
176openstack_version: kilo
177
178juju_config_name: cord
179
180juju_config_path: /usr/local/src/juju_config.yml
181
182# Pull ONOS from local Docker registry rather than Docker Hub
183onos_docker_image: "docker-registry:5000/opencord/onos:candidate"
184
Scott Baker71954ac2017-04-10 21:41:31 -0700185# Pull XOS from local Docker registry
186xos_docker_image: "docker-registry:5000/xosproject/xos:candidate"
187
Zack Williamsa2763112017-01-03 11:38:38 -0700188keystone_admin_password: "{{ lookup('password', 'credentials/cord_keystone_admin chars=ascii_letters,digits') }}"
189
190deployment_flavors:
191 - m1.small
192 - m1.medium
193 - m1.large
194 - m1.xlarge
195
Zack Williamsa2763112017-01-03 11:38:38 -0700196charm_versions:
197 ceilometer: "cs:trusty/ceilometer-17"
198 ceilometer-agent: "cs:trusty/ceilometer-agent-13"
199 glance: "cs:trusty/glance-28"
200 keystone: "cs:trusty/keystone-33"
201 mongodb: "cs:trusty/mongodb-33"
202 percona-cluster: "cs:trusty/percona-cluster-31"
203 nagios: "cs:trusty/nagios-10"
Andy Bavierfd169692017-04-14 16:32:08 -0400204 neutron-api: "cs:~cordteam/trusty/neutron-api-5"
Zack Williamsa2763112017-01-03 11:38:38 -0700205 nova-cloud-controller: "cs:trusty/nova-cloud-controller-64"
206 nova-compute: "cs:~cordteam/trusty/nova-compute-2"
207 nrpe: "cs:trusty/nrpe-4"
208 ntp: "cs:trusty/ntp-14"
209 openstack-dashboard: "cs:trusty/openstack-dashboard-19"
210 rabbitmq-server: "cs:trusty/rabbitmq-server-42"
211
212head_vm_list: []
213
214head_lxd_list:
215 - name: "juju-1"
216 service: "juju"
217 aliases:
218 - "juju"
219 ipv4_last_octet: 10
220
221 - name: "ceilometer-1"
222 service: "ceilometer"
223 aliases:
224 - "ceilometer"
225 ipv4_last_octet: 20
226 forwarded_ports:
227 - { ext: 8777, int: 8777 }
228
229 - name: "glance-1"
230 service: "glance"
231 aliases:
232 - "glance"
233 ipv4_last_octet: 30
234 forwarded_ports:
235 - { ext: 9292, int: 9292 }
236
237 - name: "keystone-1"
238 service: "keystone"
239 aliases:
240 - "keystone"
241 ipv4_last_octet: 40
242 forwarded_ports:
243 - { ext: 35357, int: 35357 }
244 - { ext: 4990, int: 4990 }
245 - { ext: 5000, int: 5000 }
246
247 - name: "percona-cluster-1"
248 service: "percona-cluster"
249 aliases:
250 - "percona-cluster"
251 ipv4_last_octet: 50
252
253 - name: "nagios-1"
254 service: "nagios"
255 aliases:
256 - "nagios"
257 ipv4_last_octet: 60
258 forwarded_ports:
259 - { ext: 3128, int: 80 }
260
261 - name: "neutron-api-1"
262 service: "neutron-api"
263 aliases:
264 - "neutron-api"
265 ipv4_last_octet: 70
266 forwarded_ports:
267 - { ext: 9696, int: 9696 }
268
269 - name: "nova-cloud-controller-1"
270 service: "nova-cloud-controller"
271 aliases:
272 - "nova-cloud-controller"
273 ipv4_last_octet: 80
274 forwarded_ports:
275 - { ext: 8774, int: 8774 }
276
277 - name: "openstack-dashboard-1"
278 service: "openstack-dashboard"
279 aliases:
280 - "openstack-dashboard"
281 ipv4_last_octet: 90
282 forwarded_ports:
283 - { ext: 8080, int: 80 }
284
285 - name: "rabbitmq-server-1"
286 service: "rabbitmq-server"
287 aliases:
288 - "rabbitmq-server"
289 ipv4_last_octet: 100
290
291 - name: "mongodb-1"
292 service: "mongodb"
293 aliases:
294 - "mongodb"
295 ipv4_last_octet: 110
296
297lxd_service_list:
298 - ceilometer
299 - glance
300 - keystone
301 - mongodb
302 - nagios
303 - neutron-api
304 - nova-cloud-controller
305 - openstack-dashboard
306 - percona-cluster
307 - rabbitmq-server
308
309standalone_service_list:
310 - ntp
311 - nrpe
312 - ceilometer-agent
313
314
315service_relations:
316 - name: keystone
317 relations: [ "percona-cluster", "nrpe", ]
318
319 - name: nova-cloud-controller
320 relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", "nrpe", ]
321
322 - name: glance
323 relations: [ "percona-cluster", "keystone", "nrpe", ]
324
325 - name: neutron-api
326 relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", "nrpe", ]
327
328 - name: openstack-dashboard
329 relations: [ "keystone", "nrpe", ]
330
331 - name: nagios
332 relations: [ "nrpe", ]
333
334 - name: "percona-cluster:juju-info"
335 relations: [ "nrpe:general-info", ]
336
337 - name: rabbitmq-server
338 relations: [ "nrpe", ]
339
340 - name: ceilometer
341 relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ]
342
343 - name: "ceilometer:identity-service"
344 relations: [ "keystone:identity-service", ]
345
346 - name: "ceilometer:ceilometer-service"
347 relations: [ "ceilometer-agent:ceilometer-service", ]
348
349
350compute_relations:
351 - name: nova-compute
352 relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", "nagios", "nrpe", ]
353
354 - name: "nova-compute:shared-db"
355 relations: [ "percona-cluster:shared-db", ]
356
357 - name: "nova-compute:amqp"
358 relations: [ "rabbitmq-server:amqp", ]
359
360 - name: ntp
361 relations: [ "nova-compute", ]
362
363
364xos_images:
365 - name: "trusty-server-multi-nic"
366 url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img.20170201"
367 checksum: "sha256:ebf007ba3ec1043b7cd011fc6668e2a1d1d4c69c41071e8513ab355df7a057cb"
368
369 - name: "vsg-1.1"
370 url: "http://www.vicci.org/cord/vsg-1.1.img"
371 checksum: "sha256:16b0beb6778aed0f5feecb05f8d5750e6c262f98e6011e99ddadf7d46a177b6f"
372
373 - name: "ceilometer-trusty-server-multi-nic"
374 url: "http://www.vicci.org/cord/ceilometer-trusty-server-multi-nic.compressed.qcow2"
375 checksum: "sha256:b77ef8d692b640568dea13df99fe1dfcb1f4bb4ac05408db9ff77399b34f754f"
376
377 - name: "ceilometer-service-trusty-server-multi-nic"
378 url: "http://www.vicci.org/cord/ceilometer-service-trusty-server-multi-nic.compressed.qcow2.20170131"
379 checksum: "sha256:f0341e283f0f2cb8f70cd1a6347e0081c9c8492ef34eb6397c657ef824800d4f"