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