blob: be7b9a16f4d3bf5420c33c48759c143decc8fedf [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
Zack Williamsc989f262017-05-11 13:02:59 -070010credentials_dir: "{{ playbook_dir }}/credentials"
11xos_admin_user: "xosadmin@opencord.org"
12xos_admin_pass: "{{ lookup('password', credentials_dir ~ '/xosadmin@opencord.org chars=ascii_letters,digits') }}"
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080013xos_admin_first: XOS
14xos_admin_last: Admin
15
16xos_users: []
17
Andrea Campanella4ef48392017-05-16 10:07:05 -070018use_vtn: True
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080019
20xos_tosca_config_templates:
21 - openstack.yaml
Andrea Campanella4ef48392017-05-16 10:07:05 -070022 - vtn-service.yaml
23 - fabric-service.yaml
Andrea Campanella4f155c02017-05-02 17:44:10 -070024 - vnodglobal-service.yaml
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080025
Andrea Campanella4ef48392017-05-16 10:07:05 -070026xos_other_templates:
27 - fabric-network-cfg.json
28
Andrea Campanella4f155c02017-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 Campanella4f155c02017-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
Andrea Campanella4ef48392017-05-16 10:07:05 -070048 - name: fabric
49 path: orchestration/xos_services/fabric
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080050 - name: onos
51 path: orchestration/xos_services/onos-service
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080052 - name: metronetwork
53 path: orchestration/xos_services/metro-net
54
55xos_service_sshkeys:
56 - name: onos_rsa
57 source_path: "~/.ssh/id_rsa"
58 - name: onos_rsa.pub
59 source_path: "~/.ssh/id_rsa.pub"
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080060
61# VM networks/bridges on head
62virt_nets:
63 - name: mgmtbr
64 ipv4_prefix: 192.168.122
65 head_vms: true
66
67# site domain suffix
68site_suffix: cord.lab
69
70# resolv.conf settings
71dns_search:
72 - "{{ site_suffix }}"
73
74# SSL server certificate generation
75server_certs:
76 - cn: "keystone.{{ site_suffix }}"
77 subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=keystone.{{ site_suffix }}"
78 altnames:
79 - "DNS:keystone.{{ site_suffix }}"
80 - "DNS:keystone"
81 - cn: "xos-core.{{ site_suffix }}"
82 subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=xos-core.{{ site_suffix }}"
83 altnames:
84 - "DNS:xos-core.{{ site_suffix }}"
85
86# NSD/Unbound settings
87nsd_zones:
88 - name: "{{ site_suffix }}"
89 ipv4_first_octets: 192.168.122
90 name_reverse_unbound: "168.192.in-addr.arpa"
91 soa: ns1
92 ns:
93 - { name: ns1 }
94 nodelist: head_vm_list
95 aliases:
96 - { name: "ns1" , dest: "head" }
97 - { name: "ns" , dest: "head" }
98 - { name: "apt-cache" , dest: "head" }
99
100name_on_public_interface: head
101
Andrea Campanella4ef48392017-05-16 10:07:05 -0700102# VTN network configuration
103management_network_cidr: 172.27.0.0/24
104management_network_ip: 172.27.0.1/24
105data_plane_ip: 10.168.0.253/24
106
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800107
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
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"