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