blob: ff9c35c4d76120f9e34893d2c71d63535daf4004 [file] [log] [blame]
Matteo Scandolo3896c472017-08-01 13:31:42 -07001
2# Copyright 2017-present Open Networking Foundation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16
mcord3e589142017-05-24 16:05:07 -070017---
Zack Williams3eca6472017-06-22 18:18:38 -070018# profile_manifests/mcord.yml
mcord3e589142017-05-24 16:05:07 -070019# Configures an M-CORD pod
20
21# site configuration
22site_name: mysite
23site_humanname: MySite
Zack Williams3eca6472017-06-22 18:18:38 -070024site_suffix: "{{ site_name }}.opencord.org"
mcord3e589142017-05-24 16:05:07 -070025deployment_type: MyDeployment
26
Zack Williams3eca6472017-06-22 18:18:38 -070027# Feature toggles
Zack Williamsfe284a12017-07-01 11:00:04 -070028use_maas: True
29use_apt_cache: True
mcord3e589142017-05-24 16:05:07 -070030
Zack Williams3eca6472017-06-22 18:18:38 -070031# XOS config
mcord3e589142017-05-24 16:05:07 -070032xos_tosca_config_templates:
mcord3e589142017-05-24 16:05:07 -070033 - vtn-service.yaml
34 - fabric-service.yaml
35 - management-net.yaml
Matteo Scandoloae45a2f2017-06-27 14:14:19 -070036 - xos-gui-extensions.yml
mcord3e589142017-05-24 16:05:07 -070037# - mcord-services.yaml # should unify this with services.yaml.j2 eventually
38# - public-net.yaml
39# - volt-devices.yaml
40# - vrouter.yaml
41
42xos_other_templates:
43 - fabric-network-cfg.json
44
Yunpeng Zhang07a007b2017-06-11 22:59:16 -040045# GUI Config [new GUI]
46gui_project_name: "M-CORD"
47gui_background: "cord-bg.jpg" # TODO find mcord image
48
mcord3e589142017-05-24 16:05:07 -070049# GUI branding [OLD GUI to be removed]
50gui_branding_name: "MCORD"
51gui_branding_icon: "/static/mcord-logo.png"
52gui_branding_favicon: "/static/mcord-favicon.png"
53gui_branding_bg: "/static/mcord-bg.jpg"
54
55enabled_gui_extensions: []
56#enabled_gui_extensions:
57# - name: vtr
58# path: orchestration/xos_services/vtr/xos/gui
59# - name: rcord
60# path: orchestration/profiles/rcord/xos/gui
61
62# paths defined in manifest/default.xml
63xos_services:
64 - name: vtn
Andy Baviera4638cb2017-08-30 16:02:49 -070065 path: orchestration/xos_services/vtn-service
mcord3e589142017-05-24 16:05:07 -070066 keypair: vsg_rsa
67 synchronizer: true
68 - name: openstack
69 path: orchestration/xos_services/openstack
70 synchronizer: true
71 - name: onos
72 path: orchestration/xos_services/onos-service
73 keypair: onos_rsa
74 synchronizer: true
75 - name: fabric
76 path: orchestration/xos_services/fabric
77 synchronizer: true
78# - name: vBBU
79# path: orchestration/xos_services/vBBU
80# keypair: mcord_rsa
81# synchronizer: true
Pingping Linae423382017-06-09 17:44:02 -070082 - name: vmme
83 path: orchestration/xos_services/vmme
84 keypair: mcord_rsa
85 synchronizer: true
mcord3e589142017-05-24 16:05:07 -070086# - name: vSGW
87# path: orchestration/xos_services/vSGW
88# keypair: mcord_rsa
89# synchronizer: true
90# - name: vPGWC
91# path: orchestration/xos_services/vPGWC
92# keypair: mcord_rsa
93# synchronizer: true
94# needed onboarding synchronizer doesn't require service code to be present when started
95 - name: exampleservice
96 path: orchestration/xos_services/exampleservice
97 keypair: exampleservice_rsa
98 synchronizer: true
99 - name: monitoring
100 path: orchestration/xos_services/monitoring
101 keypair: monitoringservice_rsa
102 synchronizer: false
103
mcord3e589142017-05-24 16:05:07 -0700104# profile_library: "mcord"
105
mcord3e589142017-05-24 16:05:07 -0700106# SSL server certificate generation
107server_certs:
108 - cn: "keystone.{{ site_suffix }}"
109 subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=keystone.{{ site_suffix }}"
110 altnames:
111 - "DNS:keystone.{{ site_suffix }}"
112 - "DNS:keystone"
113 - cn: "xos-core.{{ site_suffix }}"
114 subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=xos-core.{{ site_suffix }}"
115 altnames:
116 - "DNS:xos-core.{{ site_suffix }}"
117
Zack Williams3eca6472017-06-22 18:18:38 -0700118# Network/DNS settings
Zack Williamsbf43d752017-07-01 15:27:11 -0700119headnode: head1
120
Zack Williams3eca6472017-06-22 18:18:38 -0700121dns_search:
122 - "{{ site_suffix }}"
123
124mgmt_ipv4_first_octets: "192.168.200"
125
126dns_servers:
127 - "{{ mgmt_ipv4_first_octets }}.1"
128
129# DNS settings for NSD/Unbound
mcord3e589142017-05-24 16:05:07 -0700130nsd_zones:
131 - name: "{{ site_suffix }}"
Zack Williams3eca6472017-06-22 18:18:38 -0700132 ipv4_first_octets: "{{ mgmt_ipv4_first_octets }}"
mcord3e589142017-05-24 16:05:07 -0700133 name_reverse_unbound: "168.192.in-addr.arpa"
134 soa: ns1
135 ns:
136 - { name: ns1 }
Zack Williams3eca6472017-06-22 18:18:38 -0700137 nodelists:
138 - head_lxd_list
Zack Williamsbf43d752017-07-01 15:27:11 -0700139 - physical_node_list
mcord3e589142017-05-24 16:05:07 -0700140 aliases:
Zack Williamsbf43d752017-07-01 15:27:11 -0700141 - { name: "apt-cache", dest: "{{ headnode }}" }
142 - { name: "cordloghost", dest: "{{ headnode }}" }
143 - { name: "docker", dest: "{{ headnode }}" }
144 - { name: "ns", dest: "{{ headnode }}" }
145 - { name: "ns1", dest: "{{ headnode }}" }
146 - { name: "onos-cord", dest: "{{ headnode }}" }
147 - { name: "xos", dest: "{{ headnode }}" }
148 - { name: "xos-chameleon", dest: "{{ headnode }}" }
149 - { name: "xos-rest-gw", dest: "{{ headnode }}" }
150 - { name: "xos-gui", dest: "{{ headnode }}" }
mcord3e589142017-05-24 16:05:07 -0700151
Zack Williams3eca6472017-06-22 18:18:38 -0700152unbound_listen_all: True
153
154unbound_interfaces:
155 - "{{ mgmt_ipv4_first_octets }}.1/24"
mcord3e589142017-05-24 16:05:07 -0700156
Zack Williamsbf43d752017-07-01 15:27:11 -0700157physical_node_list:
158 - name: head1
159 ipv4_last_octet: 1
160 aliases:
161 - head
162
mcord3e589142017-05-24 16:05:07 -0700163# VTN network configuration
164management_network_cidr: 172.27.0.0/24
165management_network_ip: 172.27.0.1/24
166data_plane_ip: 10.168.0.253/24
167
Zack Williams3eca6472017-06-22 18:18:38 -0700168# Juju config
mcord3e589142017-05-24 16:05:07 -0700169charm_versions:
170 ceilometer: "cs:trusty/ceilometer-17"
171 ceilometer-agent: "cs:trusty/ceilometer-agent-13"
172 glance: "cs:trusty/glance-28"
Kailash Khalasieea72cf2017-08-31 09:42:40 -0700173 keystone: "cs:trusty/keystone-267"
mcord3e589142017-05-24 16:05:07 -0700174 mongodb: "cs:trusty/mongodb-33"
175 percona-cluster: "cs:trusty/percona-cluster-31"
176 nagios: "cs:trusty/nagios-10"
Andy Bavier9b3e00c2017-07-27 14:45:17 -0700177 neutron-api: "cs:~cordteam/trusty/neutron-api-6"
mcord3e589142017-05-24 16:05:07 -0700178 nova-cloud-controller: "cs:trusty/nova-cloud-controller-64"
Andy Bavier7bf1b372017-08-08 12:37:33 -0700179 nova-compute: "cs:~cordteam/trusty/nova-compute-3"
mcord3e589142017-05-24 16:05:07 -0700180 nrpe: "cs:trusty/nrpe-4"
181 ntp: "cs:trusty/ntp-14"
182 openstack-dashboard: "cs:trusty/openstack-dashboard-19"
183 rabbitmq-server: "cs:trusty/rabbitmq-server-42"
184
mcord3e589142017-05-24 16:05:07 -0700185head_lxd_list:
186 - name: "juju-1"
187 service: "juju"
188 aliases:
189 - "juju"
190 ipv4_last_octet: 10
191
192 - name: "ceilometer-1"
193 service: "ceilometer"
194 aliases:
195 - "ceilometer"
196 ipv4_last_octet: 20
197 forwarded_ports:
198 - { ext: 8777, int: 8777 }
199
200 - name: "glance-1"
201 service: "glance"
202 aliases:
203 - "glance"
204 ipv4_last_octet: 30
205 forwarded_ports:
206 - { ext: 9292, int: 9292 }
207
208 - name: "keystone-1"
209 service: "keystone"
210 aliases:
211 - "keystone"
212 ipv4_last_octet: 40
213 forwarded_ports:
214 - { ext: 35357, int: 35357 }
215 - { ext: 4990, int: 4990 }
216 - { ext: 5000, int: 5000 }
217
218 - name: "percona-cluster-1"
219 service: "percona-cluster"
220 aliases:
221 - "percona-cluster"
222 ipv4_last_octet: 50
223
224 - name: "nagios-1"
225 service: "nagios"
226 aliases:
227 - "nagios"
228 ipv4_last_octet: 60
229 forwarded_ports:
230 - { ext: 3128, int: 80 }
231
232 - name: "neutron-api-1"
233 service: "neutron-api"
234 aliases:
235 - "neutron-api"
236 ipv4_last_octet: 70
237 forwarded_ports:
238 - { ext: 9696, int: 9696 }
239
240 - name: "nova-cloud-controller-1"
241 service: "nova-cloud-controller"
242 aliases:
243 - "nova-cloud-controller"
244 ipv4_last_octet: 80
245 forwarded_ports:
246 - { ext: 8774, int: 8774 }
247
248 - name: "openstack-dashboard-1"
249 service: "openstack-dashboard"
250 aliases:
251 - "openstack-dashboard"
252 ipv4_last_octet: 90
253 forwarded_ports:
254 - { ext: 8080, int: 80 }
255
256 - name: "rabbitmq-server-1"
257 service: "rabbitmq-server"
258 aliases:
259 - "rabbitmq-server"
260 ipv4_last_octet: 100
261
262 - name: "mongodb-1"
263 service: "mongodb"
264 aliases:
265 - "mongodb"
266 ipv4_last_octet: 110
267
268lxd_service_list:
269 - ceilometer
270 - glance
271 - keystone
272 - mongodb
273 - nagios
274 - neutron-api
275 - nova-cloud-controller
276 - openstack-dashboard
277 - percona-cluster
278 - rabbitmq-server
279
280standalone_service_list:
281 - ntp
282 - nrpe
283 - ceilometer-agent
284
285
286service_relations:
287 - name: keystone
288 relations: [ "percona-cluster", "nrpe", ]
289
290 - name: nova-cloud-controller
291 relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", "nrpe", ]
292
293 - name: glance
294 relations: [ "percona-cluster", "keystone", "nrpe", ]
295
296 - name: neutron-api
297 relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", "nrpe", ]
298
299 - name: openstack-dashboard
300 relations: [ "keystone", "nrpe", ]
301
302 - name: nagios
303 relations: [ "nrpe", ]
304
305 - name: "percona-cluster:juju-info"
306 relations: [ "nrpe:general-info", ]
307
308 - name: rabbitmq-server
309 relations: [ "nrpe", ]
310
311 - name: ceilometer
312 relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ]
313
314 - name: "ceilometer:identity-service"
315 relations: [ "keystone:identity-service", ]
316
317 - name: "ceilometer:ceilometer-service"
318 relations: [ "ceilometer-agent:ceilometer-service", ]
319
320
321compute_relations:
322 - name: nova-compute
323 relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", "nagios", "nrpe", ]
324
325 - name: "nova-compute:shared-db"
326 relations: [ "percona-cluster:shared-db", ]
327
328 - name: "nova-compute:amqp"
329 relations: [ "rabbitmq-server:amqp", ]
330
331 - name: ntp
332 relations: [ "nova-compute", ]
333
334
335xos_images:
336 - name: "trusty-server-multi-nic"
337 url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img.20170201"
338 checksum: "sha256:ebf007ba3ec1043b7cd011fc6668e2a1d1d4c69c41071e8513ab355df7a057cb"
339
340 - name: "vsg-1.1"
341 url: "http://www.vicci.org/cord/vsg-1.1.img"
342 checksum: "sha256:16b0beb6778aed0f5feecb05f8d5750e6c262f98e6011e99ddadf7d46a177b6f"
343
344 - name: "ceilometer-trusty-server-multi-nic"
345 url: "http://www.vicci.org/cord/ceilometer-trusty-server-multi-nic.compressed.qcow2"
346 checksum: "sha256:b77ef8d692b640568dea13df99fe1dfcb1f4bb4ac05408db9ff77399b34f754f"
347
348 - name: "ceilometer-service-trusty-server-multi-nic"
349 url: "http://www.vicci.org/cord/ceilometer-service-trusty-server-multi-nic.compressed.qcow2.20170131"
350 checksum: "sha256:f0341e283f0f2cb8f70cd1a6347e0081c9c8492ef34eb6397c657ef824800d4f"