blob: f94799a0920a47bf41faea23cf189ba0b90d6905 [file] [log] [blame]
Zack Williamsa88041c2017-09-13 10:11:55 -07001---
Matteo Scandolo3896c472017-08-01 13:31:42 -07002
3# Copyright 2017-present Open Networking Foundation
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16
Zack Williams3eca6472017-06-22 18:18:38 -070017# profile_manifests/mcord.yml
mcord3e589142017-05-24 16:05:07 -070018# Configures an M-CORD pod
19
20# site configuration
21site_name: mysite
22site_humanname: MySite
Zack Williams3eca6472017-06-22 18:18:38 -070023site_suffix: "{{ site_name }}.opencord.org"
mcord3e589142017-05-24 16:05:07 -070024deployment_type: MyDeployment
25
Zack Williams3eca6472017-06-22 18:18:38 -070026# Feature toggles
Zack Williamsfe284a12017-07-01 11:00:04 -070027use_maas: True
28use_apt_cache: True
mcord3e589142017-05-24 16:05:07 -070029
Zack Williams3eca6472017-06-22 18:18:38 -070030# XOS config
mcord3e589142017-05-24 16:05:07 -070031xos_tosca_config_templates:
mcord3e589142017-05-24 16:05:07 -070032 - vtn-service.yaml
33 - fabric-service.yaml
34 - management-net.yaml
Matteo Scandoloae45a2f2017-06-27 14:14:19 -070035 - xos-gui-extensions.yml
mcord3e589142017-05-24 16:05:07 -070036
37xos_other_templates:
38 - fabric-network-cfg.json
39
Yunpeng Zhang07a007b2017-06-11 22:59:16 -040040# GUI Config [new GUI]
41gui_project_name: "M-CORD"
42gui_background: "cord-bg.jpg" # TODO find mcord image
43
mcord3e589142017-05-24 16:05:07 -070044enabled_gui_extensions: []
mcord3e589142017-05-24 16:05:07 -070045
46# paths defined in manifest/default.xml
47xos_services:
48 - name: vtn
Andy Baviera4638cb2017-08-30 16:02:49 -070049 path: orchestration/xos_services/vtn-service
mcord3e589142017-05-24 16:05:07 -070050 keypair: vsg_rsa
51 synchronizer: true
52 - name: openstack
53 path: orchestration/xos_services/openstack
54 synchronizer: true
55 - name: onos
56 path: orchestration/xos_services/onos-service
57 keypair: onos_rsa
58 synchronizer: true
59 - name: fabric
60 path: orchestration/xos_services/fabric
61 synchronizer: true
Pingping Linae423382017-06-09 17:44:02 -070062 - name: vmme
63 path: orchestration/xos_services/vmme
64 keypair: mcord_rsa
65 synchronizer: true
mcord3e589142017-05-24 16:05:07 -070066 - name: exampleservice
67 path: orchestration/xos_services/exampleservice
68 keypair: exampleservice_rsa
69 synchronizer: true
70 - name: monitoring
71 path: orchestration/xos_services/monitoring
72 keypair: monitoringservice_rsa
73 synchronizer: false
74
mcord3e589142017-05-24 16:05:07 -070075# SSL server certificate generation
76server_certs:
77 - cn: "keystone.{{ site_suffix }}"
78 subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=keystone.{{ site_suffix }}"
79 altnames:
80 - "DNS:keystone.{{ site_suffix }}"
81 - "DNS:keystone"
82 - cn: "xos-core.{{ site_suffix }}"
83 subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=xos-core.{{ site_suffix }}"
84 altnames:
85 - "DNS:xos-core.{{ site_suffix }}"
86
Zack Williams3eca6472017-06-22 18:18:38 -070087# Network/DNS settings
Zack Williamsbf43d752017-07-01 15:27:11 -070088headnode: head1
89
Zack Williams3eca6472017-06-22 18:18:38 -070090dns_search:
91 - "{{ site_suffix }}"
92
93mgmt_ipv4_first_octets: "192.168.200"
94
95dns_servers:
96 - "{{ mgmt_ipv4_first_octets }}.1"
97
98# DNS settings for NSD/Unbound
mcord3e589142017-05-24 16:05:07 -070099nsd_zones:
100 - name: "{{ site_suffix }}"
Zack Williams3eca6472017-06-22 18:18:38 -0700101 ipv4_first_octets: "{{ mgmt_ipv4_first_octets }}"
mcord3e589142017-05-24 16:05:07 -0700102 name_reverse_unbound: "168.192.in-addr.arpa"
103 soa: ns1
104 ns:
105 - { name: ns1 }
Zack Williams3eca6472017-06-22 18:18:38 -0700106 nodelists:
107 - head_lxd_list
Zack Williamsbf43d752017-07-01 15:27:11 -0700108 - physical_node_list
mcord3e589142017-05-24 16:05:07 -0700109 aliases:
Zack Williamsbf43d752017-07-01 15:27:11 -0700110 - { name: "apt-cache", dest: "{{ headnode }}" }
111 - { name: "cordloghost", dest: "{{ headnode }}" }
112 - { name: "docker", dest: "{{ headnode }}" }
113 - { name: "ns", dest: "{{ headnode }}" }
114 - { name: "ns1", dest: "{{ headnode }}" }
115 - { name: "onos-cord", dest: "{{ headnode }}" }
116 - { name: "xos", dest: "{{ headnode }}" }
117 - { name: "xos-chameleon", dest: "{{ headnode }}" }
118 - { name: "xos-rest-gw", dest: "{{ headnode }}" }
119 - { name: "xos-gui", dest: "{{ headnode }}" }
mcord3e589142017-05-24 16:05:07 -0700120
Zack Williams3eca6472017-06-22 18:18:38 -0700121unbound_listen_all: True
122
123unbound_interfaces:
124 - "{{ mgmt_ipv4_first_octets }}.1/24"
mcord3e589142017-05-24 16:05:07 -0700125
Zack Williamsbf43d752017-07-01 15:27:11 -0700126physical_node_list:
127 - name: head1
128 ipv4_last_octet: 1
129 aliases:
130 - head
131
mcord3e589142017-05-24 16:05:07 -0700132# VTN network configuration
133management_network_cidr: 172.27.0.0/24
134management_network_ip: 172.27.0.1/24
135data_plane_ip: 10.168.0.253/24
136
Zack Williams3eca6472017-06-22 18:18:38 -0700137# Juju config
mcord3e589142017-05-24 16:05:07 -0700138charm_versions:
139 ceilometer: "cs:trusty/ceilometer-17"
140 ceilometer-agent: "cs:trusty/ceilometer-agent-13"
141 glance: "cs:trusty/glance-28"
Kailash Khalasieea72cf2017-08-31 09:42:40 -0700142 keystone: "cs:trusty/keystone-267"
mcord3e589142017-05-24 16:05:07 -0700143 mongodb: "cs:trusty/mongodb-33"
144 percona-cluster: "cs:trusty/percona-cluster-31"
145 nagios: "cs:trusty/nagios-10"
Andy Bavier9b3e00c2017-07-27 14:45:17 -0700146 neutron-api: "cs:~cordteam/trusty/neutron-api-6"
mcord3e589142017-05-24 16:05:07 -0700147 nova-cloud-controller: "cs:trusty/nova-cloud-controller-64"
Andy Bavier7bf1b372017-08-08 12:37:33 -0700148 nova-compute: "cs:~cordteam/trusty/nova-compute-3"
mcord3e589142017-05-24 16:05:07 -0700149 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
mcord3e589142017-05-24 16:05:07 -0700154head_lxd_list:
155 - name: "juju-1"
156 service: "juju"
157 aliases:
158 - "juju"
159 ipv4_last_octet: 10
160
161 - name: "ceilometer-1"
162 service: "ceilometer"
163 aliases:
164 - "ceilometer"
165 ipv4_last_octet: 20
166 forwarded_ports:
167 - { ext: 8777, int: 8777 }
168
169 - name: "glance-1"
170 service: "glance"
171 aliases:
172 - "glance"
173 ipv4_last_octet: 30
174 forwarded_ports:
175 - { ext: 9292, int: 9292 }
176
177 - name: "keystone-1"
178 service: "keystone"
179 aliases:
180 - "keystone"
181 ipv4_last_octet: 40
182 forwarded_ports:
183 - { ext: 35357, int: 35357 }
184 - { ext: 4990, int: 4990 }
185 - { ext: 5000, int: 5000 }
186
187 - name: "percona-cluster-1"
188 service: "percona-cluster"
189 aliases:
190 - "percona-cluster"
191 ipv4_last_octet: 50
192
193 - name: "nagios-1"
194 service: "nagios"
195 aliases:
196 - "nagios"
197 ipv4_last_octet: 60
198 forwarded_ports:
199 - { ext: 3128, int: 80 }
200
201 - name: "neutron-api-1"
202 service: "neutron-api"
203 aliases:
204 - "neutron-api"
205 ipv4_last_octet: 70
206 forwarded_ports:
207 - { ext: 9696, int: 9696 }
208
209 - name: "nova-cloud-controller-1"
210 service: "nova-cloud-controller"
211 aliases:
212 - "nova-cloud-controller"
213 ipv4_last_octet: 80
214 forwarded_ports:
215 - { ext: 8774, int: 8774 }
216
217 - name: "openstack-dashboard-1"
218 service: "openstack-dashboard"
219 aliases:
220 - "openstack-dashboard"
221 ipv4_last_octet: 90
222 forwarded_ports:
223 - { ext: 8080, int: 80 }
224
225 - name: "rabbitmq-server-1"
226 service: "rabbitmq-server"
227 aliases:
228 - "rabbitmq-server"
229 ipv4_last_octet: 100
230
231 - name: "mongodb-1"
232 service: "mongodb"
233 aliases:
234 - "mongodb"
235 ipv4_last_octet: 110
236
237lxd_service_list:
238 - ceilometer
239 - glance
240 - keystone
241 - mongodb
242 - nagios
243 - neutron-api
244 - nova-cloud-controller
245 - openstack-dashboard
246 - percona-cluster
247 - rabbitmq-server
248
249standalone_service_list:
250 - ntp
251 - nrpe
252 - ceilometer-agent
253
254
255service_relations:
256 - name: keystone
257 relations: [ "percona-cluster", "nrpe", ]
258
259 - name: nova-cloud-controller
260 relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", "nrpe", ]
261
262 - name: glance
263 relations: [ "percona-cluster", "keystone", "nrpe", ]
264
265 - name: neutron-api
266 relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", "nrpe", ]
267
268 - name: openstack-dashboard
269 relations: [ "keystone", "nrpe", ]
270
271 - name: nagios
272 relations: [ "nrpe", ]
273
274 - name: "percona-cluster:juju-info"
275 relations: [ "nrpe:general-info", ]
276
277 - name: rabbitmq-server
278 relations: [ "nrpe", ]
279
280 - name: ceilometer
281 relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ]
282
283 - name: "ceilometer:identity-service"
284 relations: [ "keystone:identity-service", ]
285
286 - name: "ceilometer:ceilometer-service"
287 relations: [ "ceilometer-agent:ceilometer-service", ]
288
289
290compute_relations:
291 - name: nova-compute
292 relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", "nagios", "nrpe", ]
293
294 - name: "nova-compute:shared-db"
295 relations: [ "percona-cluster:shared-db", ]
296
297 - name: "nova-compute:amqp"
298 relations: [ "rabbitmq-server:amqp", ]
299
300 - name: ntp
301 relations: [ "nova-compute", ]
302
303
304xos_images:
305 - name: "trusty-server-multi-nic"
306 url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img.20170201"
307 checksum: "sha256:ebf007ba3ec1043b7cd011fc6668e2a1d1d4c69c41071e8513ab355df7a057cb"
308
309 - name: "vsg-1.1"
310 url: "http://www.vicci.org/cord/vsg-1.1.img"
311 checksum: "sha256:16b0beb6778aed0f5feecb05f8d5750e6c262f98e6011e99ddadf7d46a177b6f"
312
313 - name: "ceilometer-trusty-server-multi-nic"
314 url: "http://www.vicci.org/cord/ceilometer-trusty-server-multi-nic.compressed.qcow2"
315 checksum: "sha256:b77ef8d692b640568dea13df99fe1dfcb1f4bb4ac05408db9ff77399b34f754f"
316
317 - name: "ceilometer-service-trusty-server-multi-nic"
318 url: "http://www.vicci.org/cord/ceilometer-service-trusty-server-multi-nic.compressed.qcow2.20170131"
319 checksum: "sha256:f0341e283f0f2cb8f70cd1a6347e0081c9c8492ef34eb6397c657ef824800d4f"