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