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