blob: 22713e2c301e75550c309b164cc69c6a42eae689 [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
Zack Williamsc989f262017-05-11 13:02:59 -070010credentials_dir: "{{ playbook_dir }}/credentials"
11xos_admin_user: "xosadmin@opencord.org"
12xos_admin_pass: "{{ lookup('password', credentials_dir ~ '/xosadmin@opencord.org chars=ascii_letters,digits') }}"
Zack Williamsa2763112017-01-03 11:38:38 -070013xos_admin_first: XOS
14xos_admin_last: Admin
15
16xos_users: []
17
18use_vtn: True
Zack Williams1396aa32017-06-06 10:28:29 -070019use_fabric: True
Zack Williamsa2763112017-01-03 11:38:38 -070020
21xos_tosca_config_templates:
22 - openstack.yaml
23 - vtn-service.yaml
24 - fabric-service.yaml
25 - management-net.yaml
26 - cord-services.yaml # should unify this with services.yaml.j2 eventually
27 - public-net.yaml
28 - volt-devices.yaml
29 - vrouter.yaml
30
31xos_other_templates:
32 - fabric-network-cfg.json
33
Matteo Scandolo40e10d52017-03-08 08:04:37 -080034# GUI branding [OLD GUI to be removed]
Zack Williamsa2763112017-01-03 11:38:38 -070035gui_branding_name: "CORD"
36gui_branding_icon: "/static/cord-logo.png"
37gui_branding_favicon: "/static/cord-favicon.png"
38gui_branding_bg: "/static/cord-bg.jpg"
39
Matteo Scandolo40e10d52017-03-08 08:04:37 -080040enabled_gui_extensions:
41 - name: vtr
42 path: orchestration/xos_services/vtr/xos/gui
Matteo Scandolo4b3d7682017-03-27 10:34:24 -070043 - name: rcord
44 path: orchestration/profiles/rcord/xos/gui
Matteo Scandolo40e10d52017-03-08 08:04:37 -080045
Zack Williamsa2763112017-01-03 11:38:38 -070046# paths defined in manifest/default.xml
47xos_services:
48 - name: volt
49 path: onos-apps/apps/olt
Andy Bavier9e7d54a2017-04-17 11:37:02 -040050 keypair: volt_rsa
Scott Baker195e8f02017-06-05 12:20:34 -070051 synchronizer: true
Zack Williamsa2763112017-01-03 11:38:38 -070052 - name: vtn
53 path: onos-apps/apps/vtn
Andy Bavier9e7d54a2017-04-17 11:37:02 -040054 keypair: vsg_rsa
Zack Williamsa2763112017-01-03 11:38:38 -070055 - name: openstack
56 path: orchestration/xos_services/openstack
57 - name: onos
58 path: orchestration/xos_services/onos-service
Andy Bavier9e7d54a2017-04-17 11:37:02 -040059 keypair: onos_rsa
Zack Williamsa2763112017-01-03 11:38:38 -070060 - name: vrouter
61 path: orchestration/xos_services/vrouter
62 - name: vsg
63 path: orchestration/xos_services/vsg
Andy Bavier9e7d54a2017-04-17 11:37:02 -040064 keypair: vsg_rsa
Zack Williamsa2763112017-01-03 11:38:38 -070065 - name: vtr
66 path: orchestration/xos_services/vtr
Andy Bavier9e7d54a2017-04-17 11:37:02 -040067 keypair: vsg_rsa
Zack Williamsa2763112017-01-03 11:38:38 -070068 - name: fabric
69 path: orchestration/xos_services/fabric
Zack Williamsa2763112017-01-03 11:38:38 -070070 - name: exampleservice
71 path: orchestration/xos_services/exampleservice
Andy Bavier9e7d54a2017-04-17 11:37:02 -040072 keypair: exampleservice_rsa
Scott Baker9310a1b2017-05-25 20:02:08 -070073# - name: monitoring
74# path: orchestration/xos_services/monitoring
75# keypair: monitoringservice_rsa
76# synchronizer: false
Zack Williamsa2763112017-01-03 11:38:38 -070077
Scott Baker6a2065c2017-04-20 15:27:41 -070078profile_library: "rcord"
79
Zack Williamsa2763112017-01-03 11:38:38 -070080# VM networks/bridges on head
81virt_nets:
82 - name: mgmtbr
83 ipv4_prefix: 192.168.122
84 head_vms: true
85
86# site domain suffix
87site_suffix: cord.lab
88
89# resolv.conf settings
90dns_search:
91 - "{{ site_suffix }}"
92
93# SSL server certificate generation
94server_certs:
95 - cn: "keystone.{{ site_suffix }}"
96 subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=keystone.{{ site_suffix }}"
97 altnames:
98 - "DNS:keystone.{{ site_suffix }}"
99 - "DNS:keystone"
100 - cn: "xos-core.{{ site_suffix }}"
101 subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=xos-core.{{ site_suffix }}"
102 altnames:
103 - "DNS:xos-core.{{ site_suffix }}"
104
105# NSD/Unbound settings
106nsd_zones:
107 - name: "{{ site_suffix }}"
108 ipv4_first_octets: 192.168.122
109 name_reverse_unbound: "168.192.in-addr.arpa"
110 soa: ns1
111 ns:
112 - { name: ns1 }
113 nodelist: head_vm_list
114 aliases:
115 - { name: "ns1" , dest: "head" }
116 - { name: "ns" , dest: "head" }
117 - { name: "apt-cache" , dest: "head" }
118
119name_on_public_interface: head
120
121# VTN network configuration
122management_network_cidr: 172.27.0.0/24
123management_network_ip: 172.27.0.1/24
124data_plane_ip: 10.168.0.253/24
125
126# CORD ONOS app version
127cord_app_version: 1.2-SNAPSHOT
128
129# If true, unbound listens on the head node's `ansible_default_ipv4` interface
130unbound_listen_on_default: True
131
132# turn this on, or override it when running the playbook with --extra-vars="on_cloudlab=True"
133on_cloudlab: False
134
135# turn this off, or override when running playbook with --extra-vars="on_maas=False"
136on_maas: True
137
138run_dist_upgrade: False
139
140maas_node_key: /etc/maas/ansible/id_rsa
141
142openstack_version: kilo
143
144juju_config_name: cord
145
146juju_config_path: /usr/local/src/juju_config.yml
147
Zack Williamsa2763112017-01-03 11:38:38 -0700148keystone_admin_password: "{{ lookup('password', 'credentials/cord_keystone_admin chars=ascii_letters,digits') }}"
149
150deployment_flavors:
151 - m1.small
152 - m1.medium
153 - m1.large
154 - m1.xlarge
155
Zack Williamsa2763112017-01-03 11:38:38 -0700156charm_versions:
Zack Williamsa2763112017-01-03 11:38:38 -0700157 ceilometer-agent: "cs:trusty/ceilometer-agent-13"
Zack Williams1396aa32017-06-06 10:28:29 -0700158 ceilometer: "cs:trusty/ceilometer-17"
Zack Williamsa2763112017-01-03 11:38:38 -0700159 glance: "cs:trusty/glance-28"
160 keystone: "cs:trusty/keystone-33"
161 mongodb: "cs:trusty/mongodb-33"
Zack Williamsa2763112017-01-03 11:38:38 -0700162 nagios: "cs:trusty/nagios-10"
Andy Bavierfd169692017-04-14 16:32:08 -0400163 neutron-api: "cs:~cordteam/trusty/neutron-api-5"
Zack Williamsa2763112017-01-03 11:38:38 -0700164 nova-cloud-controller: "cs:trusty/nova-cloud-controller-64"
165 nova-compute: "cs:~cordteam/trusty/nova-compute-2"
166 nrpe: "cs:trusty/nrpe-4"
167 ntp: "cs:trusty/ntp-14"
168 openstack-dashboard: "cs:trusty/openstack-dashboard-19"
Zack Williams1396aa32017-06-06 10:28:29 -0700169 percona-cluster: "cs:trusty/percona-cluster-31"
Zack Williamsa2763112017-01-03 11:38:38 -0700170 rabbitmq-server: "cs:trusty/rabbitmq-server-42"
171
172head_vm_list: []
173
174head_lxd_list:
175 - name: "juju-1"
176 service: "juju"
177 aliases:
178 - "juju"
179 ipv4_last_octet: 10
180
181 - name: "ceilometer-1"
182 service: "ceilometer"
183 aliases:
184 - "ceilometer"
185 ipv4_last_octet: 20
186 forwarded_ports:
187 - { ext: 8777, int: 8777 }
188
189 - name: "glance-1"
190 service: "glance"
191 aliases:
192 - "glance"
193 ipv4_last_octet: 30
194 forwarded_ports:
195 - { ext: 9292, int: 9292 }
196
197 - name: "keystone-1"
198 service: "keystone"
199 aliases:
200 - "keystone"
201 ipv4_last_octet: 40
202 forwarded_ports:
203 - { ext: 35357, int: 35357 }
204 - { ext: 4990, int: 4990 }
205 - { ext: 5000, int: 5000 }
206
207 - name: "percona-cluster-1"
208 service: "percona-cluster"
209 aliases:
210 - "percona-cluster"
211 ipv4_last_octet: 50
212
213 - name: "nagios-1"
214 service: "nagios"
215 aliases:
216 - "nagios"
217 ipv4_last_octet: 60
218 forwarded_ports:
219 - { ext: 3128, int: 80 }
220
221 - name: "neutron-api-1"
222 service: "neutron-api"
223 aliases:
224 - "neutron-api"
225 ipv4_last_octet: 70
226 forwarded_ports:
227 - { ext: 9696, int: 9696 }
228
229 - name: "nova-cloud-controller-1"
230 service: "nova-cloud-controller"
231 aliases:
232 - "nova-cloud-controller"
233 ipv4_last_octet: 80
234 forwarded_ports:
235 - { ext: 8774, int: 8774 }
236
237 - name: "openstack-dashboard-1"
238 service: "openstack-dashboard"
239 aliases:
240 - "openstack-dashboard"
241 ipv4_last_octet: 90
242 forwarded_ports:
243 - { ext: 8080, int: 80 }
244
245 - name: "rabbitmq-server-1"
246 service: "rabbitmq-server"
247 aliases:
248 - "rabbitmq-server"
249 ipv4_last_octet: 100
250
251 - name: "mongodb-1"
252 service: "mongodb"
253 aliases:
254 - "mongodb"
255 ipv4_last_octet: 110
256
257lxd_service_list:
258 - ceilometer
259 - glance
260 - keystone
261 - mongodb
262 - nagios
263 - neutron-api
264 - nova-cloud-controller
265 - openstack-dashboard
266 - percona-cluster
267 - rabbitmq-server
268
269standalone_service_list:
270 - ntp
271 - nrpe
272 - ceilometer-agent
273
274
275service_relations:
276 - name: keystone
277 relations: [ "percona-cluster", "nrpe", ]
278
279 - name: nova-cloud-controller
280 relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", "nrpe", ]
281
282 - name: glance
283 relations: [ "percona-cluster", "keystone", "nrpe", ]
284
285 - name: neutron-api
286 relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", "nrpe", ]
287
288 - name: openstack-dashboard
289 relations: [ "keystone", "nrpe", ]
290
291 - name: nagios
292 relations: [ "nrpe", ]
293
294 - name: "percona-cluster:juju-info"
295 relations: [ "nrpe:general-info", ]
296
297 - name: rabbitmq-server
298 relations: [ "nrpe", ]
299
300 - name: ceilometer
301 relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ]
302
303 - name: "ceilometer:identity-service"
304 relations: [ "keystone:identity-service", ]
305
306 - name: "ceilometer:ceilometer-service"
307 relations: [ "ceilometer-agent:ceilometer-service", ]
308
309
310compute_relations:
311 - name: nova-compute
312 relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", "nagios", "nrpe", ]
313
314 - name: "nova-compute:shared-db"
315 relations: [ "percona-cluster:shared-db", ]
316
317 - name: "nova-compute:amqp"
318 relations: [ "rabbitmq-server:amqp", ]
319
320 - name: ntp
321 relations: [ "nova-compute", ]
322
323
324xos_images:
325 - name: "trusty-server-multi-nic"
326 url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img.20170201"
327 checksum: "sha256:ebf007ba3ec1043b7cd011fc6668e2a1d1d4c69c41071e8513ab355df7a057cb"
328
329 - name: "vsg-1.1"
330 url: "http://www.vicci.org/cord/vsg-1.1.img"
331 checksum: "sha256:16b0beb6778aed0f5feecb05f8d5750e6c262f98e6011e99ddadf7d46a177b6f"
332
333 - name: "ceilometer-trusty-server-multi-nic"
334 url: "http://www.vicci.org/cord/ceilometer-trusty-server-multi-nic.compressed.qcow2"
335 checksum: "sha256:b77ef8d692b640568dea13df99fe1dfcb1f4bb4ac05408db9ff77399b34f754f"
336
337 - name: "ceilometer-service-trusty-server-multi-nic"
338 url: "http://www.vicci.org/cord/ceilometer-service-trusty-server-multi-nic.compressed.qcow2.20170131"
339 checksum: "sha256:f0341e283f0f2cb8f70cd1a6347e0081c9c8492ef34eb6397c657ef824800d4f"