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