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