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