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