blob: 17ce3e7e65adb20889c22d87ebbf9c0e9ac62231 [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
35xos_new_tosca_config_templates:
36 - 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
43xos_other_templates:
44 - fabric-network-cfg.json
45
46# GUI Config [new GUI]
47gui_project_name: "M-CORD"
48gui_background: "cord-bg.jpg" # TODO find mcord image
49
50enabled_gui_extensions: []
51
Woojoong Kim6586fe82018-01-09 13:10:03 -080052# paths defined in manifest/default.xml
Andy Baviere6478b22017-12-21 13:17:56 -070053xos_services:
54 - name: vtn
55 path: orchestration/xos_services/vtn-service
56 keypair: vsg_rsa
57 - name: openstack
58 path: orchestration/xos_services/openstack
59 - name: onos
60 path: orchestration/xos_services/onos-service
61 keypair: onos_rsa
62 - name: addressmanager
63 path: orchestration/xos_services/addressmanager
64 - name: fabric
65 path: orchestration/xos_services/fabric
66 - name: vmme
67 path: orchestration/xos_services/vmme
68 keypair: mcord_rsa
69 - name: vspgwc
70 path: orchestration/xos_services/vspgwc
71 keypair: mcord_rsa
72 - name: vspgwu
73 path: orchestration/xos_services/vspgwu
74 keypair: mcord_rsa
Andy Bavier0d1131e2018-01-02 11:27:43 -070075 - name: vhss
76 path: orchestration/xos_services/vhss
77 keypair: mcord_rsa
Woojoong Kim6586fe82018-01-09 13:10:03 -080078 - name: hssdb
79 path: orchestration/xos_services/hss_db
80 keypair: mcord_rsa
JianHaoea1948b2018-01-18 20:14:01 +080081 - name: internetemulator
82 path: orchestration/xos_services/internetemulator
83 keypair: mcord_rsa
Andy Bavier0d1131e2018-01-02 11:27:43 -070084 - name: sdncontroller
85 path: orchestration/xos_services/sdn-controller
86 keypair: mcord_rsa
Andy Baviere6478b22017-12-21 13:17:56 -070087 - name: vepc
88 path: orchestration/xos_services/epc-service
89 keypair: mcord_rsa
90
91# service graph gui constraints
92xos_gui_service_graph_constraints: '["mcord", "venb", ["vspgwc", "vspgwu"]]'
93
94profile_library: "mcord"
95
96# VTN network configuration
97management_network_cidr: 172.27.0.0/24
98management_network_ip: 172.27.0.1/24
99data_plane_ip: 10.168.0.253/24
100
101# Juju config
102charm_versions:
103 ceilometer: "cs:trusty/ceilometer-17"
104 ceilometer-agent: "cs:trusty/ceilometer-agent-13"
105 glance: "cs:trusty/glance-28"
106 keystone: "cs:trusty/keystone-267"
107 mongodb: "cs:trusty/mongodb-33"
108 percona-cluster: "cs:trusty/percona-cluster-31"
109 nagios: "cs:trusty/nagios-10"
110 neutron-api: "cs:~cordteam/trusty/neutron-api-6"
111 nova-cloud-controller: "cs:trusty/nova-cloud-controller-64"
Andy Bavier0d1131e2018-01-02 11:27:43 -0700112 nova-compute: "cs:~cordteam/trusty/nova-compute-4"
Andy Baviere6478b22017-12-21 13:17:56 -0700113 nrpe: "cs:trusty/nrpe-4"
114 ntp: "cs:trusty/ntp-14"
115 openstack-dashboard: "cs:trusty/openstack-dashboard-19"
116 rabbitmq-server: "cs:trusty/rabbitmq-server-42"
117
118head_lxd_list:
119 - name: "juju-1"
120 service: "juju"
121 aliases:
122 - "juju"
123 ipv4_last_octet: 10
124
125 - name: "ceilometer-1"
126 service: "ceilometer"
127 aliases:
128 - "ceilometer"
129 ipv4_last_octet: 20
130 forwarded_ports:
131 - { ext: 8777, int: 8777 }
132
133 - name: "glance-1"
134 service: "glance"
135 aliases:
136 - "glance"
137 ipv4_last_octet: 30
138 forwarded_ports:
139 - { ext: 9292, int: 9292 }
140
141 - name: "keystone-1"
142 service: "keystone"
143 aliases:
144 - "keystone"
145 ipv4_last_octet: 40
146 forwarded_ports:
147 - { ext: 35357, int: 35357 }
148 - { ext: 4990, int: 4990 }
149 - { ext: 5000, int: 5000 }
150
151 - name: "percona-cluster-1"
152 service: "percona-cluster"
153 aliases:
154 - "percona-cluster"
155 ipv4_last_octet: 50
156
157 - name: "nagios-1"
158 service: "nagios"
159 aliases:
160 - "nagios"
161 ipv4_last_octet: 60
162 forwarded_ports:
163 - { ext: 3128, int: 80 }
164
165 - name: "neutron-api-1"
166 service: "neutron-api"
167 aliases:
168 - "neutron-api"
169 ipv4_last_octet: 70
170 forwarded_ports:
171 - { ext: 9696, int: 9696 }
172
173 - name: "nova-cloud-controller-1"
174 service: "nova-cloud-controller"
175 aliases:
176 - "nova-cloud-controller"
177 ipv4_last_octet: 80
178 forwarded_ports:
179 - { ext: 8774, int: 8774 }
180
181 - name: "openstack-dashboard-1"
182 service: "openstack-dashboard"
183 aliases:
184 - "openstack-dashboard"
185 ipv4_last_octet: 90
186 forwarded_ports:
187 - { ext: 8080, int: 80 }
188
189 - name: "rabbitmq-server-1"
190 service: "rabbitmq-server"
191 aliases:
192 - "rabbitmq-server"
193 ipv4_last_octet: 100
194
195 - name: "mongodb-1"
196 service: "mongodb"
197 aliases:
198 - "mongodb"
199 ipv4_last_octet: 110
200
201lxd_service_list:
202 - ceilometer
203 - glance
204 - keystone
205 - mongodb
206 - nagios
207 - neutron-api
208 - nova-cloud-controller
209 - openstack-dashboard
210 - percona-cluster
211 - rabbitmq-server
212
213standalone_service_list:
214 - ntp
215 - nrpe
216 - ceilometer-agent
217
218
219service_relations:
220 - name: keystone
221 relations: [ "percona-cluster", "nrpe", ]
222
223 - name: nova-cloud-controller
224 relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", "nrpe", ]
225
226 - name: glance
227 relations: [ "percona-cluster", "keystone", "nrpe", ]
228
229 - name: neutron-api
230 relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", "nrpe", ]
231
232 - name: openstack-dashboard
233 relations: [ "keystone", "nrpe", ]
234
235 - name: nagios
236 relations: [ "nrpe", ]
237
238 - name: "percona-cluster:juju-info"
239 relations: [ "nrpe:general-info", ]
240
241 - name: rabbitmq-server
242 relations: [ "nrpe", ]
243
244 - name: ceilometer
245 relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ]
246
247 - name: "ceilometer:identity-service"
248 relations: [ "keystone:identity-service", ]
249
250 - name: "ceilometer:ceilometer-service"
251 relations: [ "ceilometer-agent:ceilometer-service", ]
252
253
254compute_relations:
255 - name: nova-compute
256 relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", "nagios", "nrpe", ]
257
258 - name: "nova-compute:shared-db"
259 relations: [ "percona-cluster:shared-db", ]
260
261 - name: "nova-compute:amqp"
262 relations: [ "rabbitmq-server:amqp", ]
263
264 - name: ntp
265 relations: [ "nova-compute", ]
266
Andy Bavier0db4faf2018-01-17 16:20:16 -0700267image_dir: /opt/cord_profile/images # Should change the build to symlink instead of copy images?
Andy Baviere6478b22017-12-21 13:17:56 -0700268xos_images:
269 - name: "image-test"
270 url: "https://github.com/opencord/platform-install/releases/download/vms/trusty-server-cloudimg-amd64-disk1.img.20170201"
271 checksum: "sha256:ebf007ba3ec1043b7cd011fc6668e2a1d1d4c69c41071e8513ab355df7a057cb"
272
Andy Bavier0db4faf2018-01-17 16:20:16 -0700273 - name: "image-mme"
274 url: "http://www.vicci.org/cord/c3po-mme1-comp.qcow2.20180118"
275 checksum: "sha256:d6979505967bbba5b6af2d48f833ddddefaf8c0e4fd23abf1853cb4b70615af5"
276
277 - name: "image-hss"
278 url: "http://www.vicci.org/cord/c3po-hss1-comp.qcow2.20180118"
279 checksum: "sha256:9446fb91c9bf3486adc6453ca4cd1dd1e93c03a30d3864fd1511029694bf4b1c"
280
281 - name: "image-hss-db"
282 url: "http://www.vicci.org/cord/c3po-dbn1-comp.qcow2.20180118"
283 checksum: "sha256:88d5370451541d5eec55f4d0c281abe4f679a63bcc8eae9cb57e9c1c9e797daa"
284
Andy Baviere6478b22017-12-21 13:17:56 -0700285 - name: "image-spgwc"
Andy Bavier0db4faf2018-01-17 16:20:16 -0700286 url: "http://www.vicci.org/cord/ngic-cp1-comp.qcow2.20180118"
287 checksum: "sha256:2495706b3066f969013e3312a61be422c8e2e2aab8e6ee35c2bf1ddf04a0ccb7"
Andy Baviere6478b22017-12-21 13:17:56 -0700288
289 - name: "image-spgwu"
Andy Bavier0db4faf2018-01-17 16:20:16 -0700290 url: "http://www.vicci.org/cord/ngic-dp1-comp.qcow2.20180118"
291 checksum: "sha256:76a538a7f4c92cd1ca71036c51ddfac21b66c59be9700d9e6e11e8e723369ef8"
JianHaoea1948b2018-01-18 20:14:01 +0800292
293 - name: "image-internetemulator"
294 url: "http://www.vicci.org/cord/vlc-compress.qcow2.20180119"
295 checksum: "sha256:5c3a5752f909d053fc65861ad8e31ceeffb6bd986e3ea421f40f89d8fb299029"