blob: 89d8741bb50a048c64dc5b3bfb0b47dd529235f3 [file] [log] [blame]
Andy Baviere6478b22017-12-21 13:17:56 -07001---
2
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
17# profile_manifests/mcord.yml
18# Configures an M-CORD pod
19
20# Profile info located in orchestration/profiles/<cord_use_case>
21cord_use_case: mcord
22
23# site configuration
24site_name: mysite
25site_humanname: MySite
26#site_suffix: "{{ site_name }}.opencord.org"
27site_suffix: "cord.lab"
28deployment_type: MyDeployment
29
30# Feature toggles
31use_fabric: True
32use_maas: True
33
34# XOS config
Andy Bavierece64062018-02-01 15:58:42 -070035xos_tosca_config_templates:
Andy Baviere6478b22017-12-21 13:17:56 -070036 - vtn-service.yaml
37 - fabric-service.yaml
38 - management-net.yaml
Andy Baviere6478b22017-12-21 13:17:56 -070039 - mcord-cavium-services.yml
40 - xos-gui-extensions.yml
41 - service-graph-constraints.yaml
42
Andy Baviere6478b22017-12-21 13:17:56 -070043# GUI Config [new GUI]
44gui_project_name: "M-CORD"
45gui_background: "cord-bg.jpg" # TODO find mcord image
46
47enabled_gui_extensions: []
48
Woojoong Kim6586fe82018-01-09 13:10:03 -080049# paths defined in manifest/default.xml
Andy Baviere6478b22017-12-21 13:17:56 -070050xos_services:
51 - name: vtn
52 path: orchestration/xos_services/vtn-service
53 keypair: vsg_rsa
54 - name: openstack
55 path: orchestration/xos_services/openstack
56 - name: onos
57 path: orchestration/xos_services/onos-service
58 keypair: onos_rsa
59 - name: addressmanager
60 path: orchestration/xos_services/addressmanager
61 - name: fabric
62 path: orchestration/xos_services/fabric
63 - name: vmme
64 path: orchestration/xos_services/vmme
65 keypair: mcord_rsa
66 - name: vspgwc
67 path: orchestration/xos_services/vspgwc
68 keypair: mcord_rsa
69 - name: vspgwu
70 path: orchestration/xos_services/vspgwu
71 keypair: mcord_rsa
Andy Bavier0d1131e2018-01-02 11:27:43 -070072 - name: vhss
73 path: orchestration/xos_services/vhss
74 keypair: mcord_rsa
Woojoong Kim6586fe82018-01-09 13:10:03 -080075 - name: hssdb
76 path: orchestration/xos_services/hss_db
77 keypair: mcord_rsa
JianHaoea1948b2018-01-18 20:14:01 +080078 - name: internetemulator
79 path: orchestration/xos_services/internetemulator
80 keypair: mcord_rsa
Andy Bavier0d1131e2018-01-02 11:27:43 -070081 - name: sdncontroller
82 path: orchestration/xos_services/sdn-controller
83 keypair: mcord_rsa
Andy Baviere6478b22017-12-21 13:17:56 -070084 - name: vepc
85 path: orchestration/xos_services/epc-service
86 keypair: mcord_rsa
Matteo Scandolo0fd48b42018-01-26 11:03:37 -080087 - name: progran
88 path: orchestration/xos_services/progran
Andy Baviere6478b22017-12-21 13:17:56 -070089
90# service graph gui constraints
Matteo Scandolo0fd48b42018-01-26 11:03:37 -080091xos_gui_service_graph_constraints: '[
92 ["vepc", null, "mcord", null, null],
93 [null, null, "progran", null, null],
94 ["hssdb", "vhss", "vmme", null, null],
95 [null, "vspgwc", "sdncontroller","vspgwu", null],
96 [null, null, null, "internetemulator", null]
97]'
Andy Baviere6478b22017-12-21 13:17:56 -070098
Andy Bavier96701282018-01-22 20:41:25 -080099# For creating the EPC networks in mcord-cavium-services.yml (copied from EPC blueprint)
100mcord_networks:
101 - name: s11_network
102 subnet: 112.0.0.0/24
103 permit_all_slices: True
104 template: private_template
105 owner: vspgwc
106 - name: sgi_network
107 subnet: 115.0.0.0/24
108 permit_all_slices: True
109 owner: vspgwu
110 template: private_template
111 - name: spgw_network
112 subnet: 117.0.0.0/24
113 permit_all_slices: True
114 template: private_template
115 owner: vspgwu
116 - name: flat_network_s1mme
117 subnet: 118.0.0.0/24
118 permit_all_slices: True
119 template: flat_template
120 owner: vmme
121 - name: flat_network_s1u
122 subnet: 119.0.0.0/24
123 permit_all_slices: True
124 template: flat_template
125 owner: vspgwu
126 - name: s6a_network
127 subnet: 120.0.0.0/24
128 permit_all_slices: True
129 template: private_template
130 owner: vhss
131 - name: db_network
132 subnet: 121.0.0.0/24
133 permit_all_slices: True
134 template: private_template
135 owner: vhss
136
Andy Baviere6478b22017-12-21 13:17:56 -0700137profile_library: "mcord"
138
139# VTN network configuration
140management_network_cidr: 172.27.0.0/24
141management_network_ip: 172.27.0.1/24
142data_plane_ip: 10.168.0.253/24
143
144# Juju config
145charm_versions:
146 ceilometer: "cs:trusty/ceilometer-17"
147 ceilometer-agent: "cs:trusty/ceilometer-agent-13"
148 glance: "cs:trusty/glance-28"
149 keystone: "cs:trusty/keystone-267"
150 mongodb: "cs:trusty/mongodb-33"
151 percona-cluster: "cs:trusty/percona-cluster-31"
152 nagios: "cs:trusty/nagios-10"
153 neutron-api: "cs:~cordteam/trusty/neutron-api-6"
154 nova-cloud-controller: "cs:trusty/nova-cloud-controller-64"
Andy Bavier0d1131e2018-01-02 11:27:43 -0700155 nova-compute: "cs:~cordteam/trusty/nova-compute-4"
Andy Baviere6478b22017-12-21 13:17:56 -0700156 nrpe: "cs:trusty/nrpe-4"
157 ntp: "cs:trusty/ntp-14"
158 openstack-dashboard: "cs:trusty/openstack-dashboard-19"
159 rabbitmq-server: "cs:trusty/rabbitmq-server-42"
160
161head_lxd_list:
162 - name: "juju-1"
163 service: "juju"
164 aliases:
165 - "juju"
166 ipv4_last_octet: 10
167
168 - name: "ceilometer-1"
169 service: "ceilometer"
170 aliases:
171 - "ceilometer"
172 ipv4_last_octet: 20
173 forwarded_ports:
174 - { ext: 8777, int: 8777 }
175
176 - name: "glance-1"
177 service: "glance"
178 aliases:
179 - "glance"
180 ipv4_last_octet: 30
181 forwarded_ports:
182 - { ext: 9292, int: 9292 }
183
184 - name: "keystone-1"
185 service: "keystone"
186 aliases:
187 - "keystone"
188 ipv4_last_octet: 40
189 forwarded_ports:
190 - { ext: 35357, int: 35357 }
191 - { ext: 4990, int: 4990 }
192 - { ext: 5000, int: 5000 }
193
194 - name: "percona-cluster-1"
195 service: "percona-cluster"
196 aliases:
197 - "percona-cluster"
198 ipv4_last_octet: 50
199
200 - name: "nagios-1"
201 service: "nagios"
202 aliases:
203 - "nagios"
204 ipv4_last_octet: 60
205 forwarded_ports:
206 - { ext: 3128, int: 80 }
207
208 - name: "neutron-api-1"
209 service: "neutron-api"
210 aliases:
211 - "neutron-api"
212 ipv4_last_octet: 70
213 forwarded_ports:
214 - { ext: 9696, int: 9696 }
215
216 - name: "nova-cloud-controller-1"
217 service: "nova-cloud-controller"
218 aliases:
219 - "nova-cloud-controller"
220 ipv4_last_octet: 80
221 forwarded_ports:
222 - { ext: 8774, int: 8774 }
223
224 - name: "openstack-dashboard-1"
225 service: "openstack-dashboard"
226 aliases:
227 - "openstack-dashboard"
228 ipv4_last_octet: 90
229 forwarded_ports:
230 - { ext: 8080, int: 80 }
231
232 - name: "rabbitmq-server-1"
233 service: "rabbitmq-server"
234 aliases:
235 - "rabbitmq-server"
236 ipv4_last_octet: 100
237
238 - name: "mongodb-1"
239 service: "mongodb"
240 aliases:
241 - "mongodb"
242 ipv4_last_octet: 110
243
244lxd_service_list:
245 - ceilometer
246 - glance
247 - keystone
248 - mongodb
249 - nagios
250 - neutron-api
251 - nova-cloud-controller
252 - openstack-dashboard
253 - percona-cluster
254 - rabbitmq-server
255
256standalone_service_list:
257 - ntp
258 - nrpe
259 - ceilometer-agent
260
261
262service_relations:
263 - name: keystone
264 relations: [ "percona-cluster", "nrpe", ]
265
266 - name: nova-cloud-controller
267 relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", "nrpe", ]
268
269 - name: glance
270 relations: [ "percona-cluster", "keystone", "nrpe", ]
271
272 - name: neutron-api
273 relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", "nrpe", ]
274
275 - name: openstack-dashboard
276 relations: [ "keystone", "nrpe", ]
277
278 - name: nagios
279 relations: [ "nrpe", ]
280
281 - name: "percona-cluster:juju-info"
282 relations: [ "nrpe:general-info", ]
283
284 - name: rabbitmq-server
285 relations: [ "nrpe", ]
286
287 - name: ceilometer
288 relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ]
289
290 - name: "ceilometer:identity-service"
291 relations: [ "keystone:identity-service", ]
292
293 - name: "ceilometer:ceilometer-service"
294 relations: [ "ceilometer-agent:ceilometer-service", ]
295
296
297compute_relations:
298 - name: nova-compute
299 relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", "nagios", "nrpe", ]
300
301 - name: "nova-compute:shared-db"
302 relations: [ "percona-cluster:shared-db", ]
303
304 - name: "nova-compute:amqp"
305 relations: [ "rabbitmq-server:amqp", ]
306
307 - name: ntp
308 relations: [ "nova-compute", ]
309
Andy Bavier0db4faf2018-01-17 16:20:16 -0700310image_dir: /opt/cord_profile/images # Should change the build to symlink instead of copy images?
Andy Baviere6478b22017-12-21 13:17:56 -0700311xos_images:
312 - name: "image-test"
313 url: "https://github.com/opencord/platform-install/releases/download/vms/trusty-server-cloudimg-amd64-disk1.img.20170201"
314 checksum: "sha256:ebf007ba3ec1043b7cd011fc6668e2a1d1d4c69c41071e8513ab355df7a057cb"
315
Andy Bavier0db4faf2018-01-17 16:20:16 -0700316 - name: "image-mme"
Andy Bavierc03cf232018-01-31 07:52:11 -0700317 url: "http://www.vicci.org/cord/c3po-mme1-comp.qcow2.20180131"
318 checksum: "sha256:f7e3cb27a02e890f65472c79038be68a161c692ad7c48679d09f12ea97b5c024"
Andy Bavier0db4faf2018-01-17 16:20:16 -0700319
320 - name: "image-hss"
Andy Bavier5f5619d2018-01-26 12:59:50 -0800321 url: "http://www.vicci.org/cord/c3po-hss1-comp.qcow2.20180126"
322 checksum: "sha256:86ecb5846212547ecd1c3864b3f1a1b150d083026169acb1018e9b7e0ae95784"
Andy Bavier0db4faf2018-01-17 16:20:16 -0700323
324 - name: "image-hss-db"
325 url: "http://www.vicci.org/cord/c3po-dbn1-comp.qcow2.20180118"
326 checksum: "sha256:88d5370451541d5eec55f4d0c281abe4f679a63bcc8eae9cb57e9c1c9e797daa"
327
Andy Baviere6478b22017-12-21 13:17:56 -0700328 - name: "image-spgwc"
Andy Bavier0db4faf2018-01-17 16:20:16 -0700329 url: "http://www.vicci.org/cord/ngic-cp1-comp.qcow2.20180118"
330 checksum: "sha256:2495706b3066f969013e3312a61be422c8e2e2aab8e6ee35c2bf1ddf04a0ccb7"
Andy Baviere6478b22017-12-21 13:17:56 -0700331
332 - name: "image-spgwu"
Andy Bavier0db4faf2018-01-17 16:20:16 -0700333 url: "http://www.vicci.org/cord/ngic-dp1-comp.qcow2.20180118"
334 checksum: "sha256:76a538a7f4c92cd1ca71036c51ddfac21b66c59be9700d9e6e11e8e723369ef8"
JianHaoea1948b2018-01-18 20:14:01 +0800335
336 - name: "image-internetemulator"
337 url: "http://www.vicci.org/cord/vlc-compress.qcow2.20180119"
338 checksum: "sha256:5c3a5752f909d053fc65861ad8e31ceeffb6bd986e3ea421f40f89d8fb299029"