blob: 5e3d82431c8713275e645d6cc8e3e7f88c4a3753 [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
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
87
88# service graph gui constraints
89xos_gui_service_graph_constraints: '["mcord", "venb", ["vspgwc", "vspgwu"]]'
90
91profile_library: "mcord"
92
93# VTN network configuration
94management_network_cidr: 172.27.0.0/24
95management_network_ip: 172.27.0.1/24
96data_plane_ip: 10.168.0.253/24
97
98# Juju config
99charm_versions:
100 ceilometer: "cs:trusty/ceilometer-17"
101 ceilometer-agent: "cs:trusty/ceilometer-agent-13"
102 glance: "cs:trusty/glance-28"
103 keystone: "cs:trusty/keystone-267"
104 mongodb: "cs:trusty/mongodb-33"
105 percona-cluster: "cs:trusty/percona-cluster-31"
106 nagios: "cs:trusty/nagios-10"
107 neutron-api: "cs:~cordteam/trusty/neutron-api-6"
108 nova-cloud-controller: "cs:trusty/nova-cloud-controller-64"
Andy Bavier0d1131e2018-01-02 11:27:43 -0700109 nova-compute: "cs:~cordteam/trusty/nova-compute-4"
Andy Baviere6478b22017-12-21 13:17:56 -0700110 nrpe: "cs:trusty/nrpe-4"
111 ntp: "cs:trusty/ntp-14"
112 openstack-dashboard: "cs:trusty/openstack-dashboard-19"
113 rabbitmq-server: "cs:trusty/rabbitmq-server-42"
114
115head_lxd_list:
116 - name: "juju-1"
117 service: "juju"
118 aliases:
119 - "juju"
120 ipv4_last_octet: 10
121
122 - name: "ceilometer-1"
123 service: "ceilometer"
124 aliases:
125 - "ceilometer"
126 ipv4_last_octet: 20
127 forwarded_ports:
128 - { ext: 8777, int: 8777 }
129
130 - name: "glance-1"
131 service: "glance"
132 aliases:
133 - "glance"
134 ipv4_last_octet: 30
135 forwarded_ports:
136 - { ext: 9292, int: 9292 }
137
138 - name: "keystone-1"
139 service: "keystone"
140 aliases:
141 - "keystone"
142 ipv4_last_octet: 40
143 forwarded_ports:
144 - { ext: 35357, int: 35357 }
145 - { ext: 4990, int: 4990 }
146 - { ext: 5000, int: 5000 }
147
148 - name: "percona-cluster-1"
149 service: "percona-cluster"
150 aliases:
151 - "percona-cluster"
152 ipv4_last_octet: 50
153
154 - name: "nagios-1"
155 service: "nagios"
156 aliases:
157 - "nagios"
158 ipv4_last_octet: 60
159 forwarded_ports:
160 - { ext: 3128, int: 80 }
161
162 - name: "neutron-api-1"
163 service: "neutron-api"
164 aliases:
165 - "neutron-api"
166 ipv4_last_octet: 70
167 forwarded_ports:
168 - { ext: 9696, int: 9696 }
169
170 - name: "nova-cloud-controller-1"
171 service: "nova-cloud-controller"
172 aliases:
173 - "nova-cloud-controller"
174 ipv4_last_octet: 80
175 forwarded_ports:
176 - { ext: 8774, int: 8774 }
177
178 - name: "openstack-dashboard-1"
179 service: "openstack-dashboard"
180 aliases:
181 - "openstack-dashboard"
182 ipv4_last_octet: 90
183 forwarded_ports:
184 - { ext: 8080, int: 80 }
185
186 - name: "rabbitmq-server-1"
187 service: "rabbitmq-server"
188 aliases:
189 - "rabbitmq-server"
190 ipv4_last_octet: 100
191
192 - name: "mongodb-1"
193 service: "mongodb"
194 aliases:
195 - "mongodb"
196 ipv4_last_octet: 110
197
198lxd_service_list:
199 - ceilometer
200 - glance
201 - keystone
202 - mongodb
203 - nagios
204 - neutron-api
205 - nova-cloud-controller
206 - openstack-dashboard
207 - percona-cluster
208 - rabbitmq-server
209
210standalone_service_list:
211 - ntp
212 - nrpe
213 - ceilometer-agent
214
215
216service_relations:
217 - name: keystone
218 relations: [ "percona-cluster", "nrpe", ]
219
220 - name: nova-cloud-controller
221 relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", "nrpe", ]
222
223 - name: glance
224 relations: [ "percona-cluster", "keystone", "nrpe", ]
225
226 - name: neutron-api
227 relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", "nrpe", ]
228
229 - name: openstack-dashboard
230 relations: [ "keystone", "nrpe", ]
231
232 - name: nagios
233 relations: [ "nrpe", ]
234
235 - name: "percona-cluster:juju-info"
236 relations: [ "nrpe:general-info", ]
237
238 - name: rabbitmq-server
239 relations: [ "nrpe", ]
240
241 - name: ceilometer
242 relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ]
243
244 - name: "ceilometer:identity-service"
245 relations: [ "keystone:identity-service", ]
246
247 - name: "ceilometer:ceilometer-service"
248 relations: [ "ceilometer-agent:ceilometer-service", ]
249
250
251compute_relations:
252 - name: nova-compute
253 relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", "nagios", "nrpe", ]
254
255 - name: "nova-compute:shared-db"
256 relations: [ "percona-cluster:shared-db", ]
257
258 - name: "nova-compute:amqp"
259 relations: [ "rabbitmq-server:amqp", ]
260
261 - name: ntp
262 relations: [ "nova-compute", ]
263
Andy Bavier0db4faf2018-01-17 16:20:16 -0700264image_dir: /opt/cord_profile/images # Should change the build to symlink instead of copy images?
Andy Baviere6478b22017-12-21 13:17:56 -0700265xos_images:
266 - name: "image-test"
267 url: "https://github.com/opencord/platform-install/releases/download/vms/trusty-server-cloudimg-amd64-disk1.img.20170201"
268 checksum: "sha256:ebf007ba3ec1043b7cd011fc6668e2a1d1d4c69c41071e8513ab355df7a057cb"
269
Andy Bavier0db4faf2018-01-17 16:20:16 -0700270 - name: "image-mme"
271 url: "http://www.vicci.org/cord/c3po-mme1-comp.qcow2.20180118"
272 checksum: "sha256:d6979505967bbba5b6af2d48f833ddddefaf8c0e4fd23abf1853cb4b70615af5"
273
274 - name: "image-hss"
275 url: "http://www.vicci.org/cord/c3po-hss1-comp.qcow2.20180118"
276 checksum: "sha256:9446fb91c9bf3486adc6453ca4cd1dd1e93c03a30d3864fd1511029694bf4b1c"
277
278 - name: "image-hss-db"
279 url: "http://www.vicci.org/cord/c3po-dbn1-comp.qcow2.20180118"
280 checksum: "sha256:88d5370451541d5eec55f4d0c281abe4f679a63bcc8eae9cb57e9c1c9e797daa"
281
Andy Baviere6478b22017-12-21 13:17:56 -0700282 - name: "image-spgwc"
Andy Bavier0db4faf2018-01-17 16:20:16 -0700283 url: "http://www.vicci.org/cord/ngic-cp1-comp.qcow2.20180118"
284 checksum: "sha256:2495706b3066f969013e3312a61be422c8e2e2aab8e6ee35c2bf1ddf04a0ccb7"
Andy Baviere6478b22017-12-21 13:17:56 -0700285
286 - name: "image-spgwu"
Andy Bavier0db4faf2018-01-17 16:20:16 -0700287 url: "http://www.vicci.org/cord/ngic-dp1-comp.qcow2.20180118"
288 checksum: "sha256:76a538a7f4c92cd1ca71036c51ddfac21b66c59be9700d9e6e11e8e723369ef8"