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