blob: e0f1bac056d139ef6ff64257b2d67de49c0fd34e [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-ng40-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
49# paths defined in manifest/default.xml
50xos_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: venb
64 path: orchestration/xos_services/venb
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
72 - name: vepc
73 path: orchestration/xos_services/epc-service
74 keypair: mcord_rsa
75
76# service graph gui constraints
77xos_gui_service_graph_constraints: '["mcord", "venb", ["vspgwc", "vspgwu"]]'
78
Andy Bavier96701282018-01-22 20:41:25 -080079# For creating the EPC networks in mcord-ng40-services.yml (copied from EPC blueprint)
80mcord_networks:
81 - name: s1u_network
82 subnet: 111.0.0.0/24
83 permit_all_slices: True
84 template: private_template
85 owner: vspgwu
86 - name: s11_network
87 subnet: 112.0.0.0/24
88 permit_all_slices: True
89 template: private_template
90 owner: vspgwc
91 - name: sgi_network
92 subnet: 115.0.0.0/24
93 permit_all_slices: True
94 template: private_template
95 owner: vspgwu
96 - name: spgw_network
97 subnet: 117.0.0.0/24
98 permit_all_slices: True
99 template: private_template
100 owner: vspgwu
101
Andy Baviere6478b22017-12-21 13:17:56 -0700102profile_library: "mcord"
103
104# VTN network configuration
105management_network_cidr: 172.27.0.0/24
106management_network_ip: 172.27.0.1/24
107data_plane_ip: 10.168.0.253/24
108
109# Juju config
110charm_versions:
111 ceilometer: "cs:trusty/ceilometer-17"
112 ceilometer-agent: "cs:trusty/ceilometer-agent-13"
113 glance: "cs:trusty/glance-28"
114 keystone: "cs:trusty/keystone-267"
115 mongodb: "cs:trusty/mongodb-33"
116 percona-cluster: "cs:trusty/percona-cluster-31"
117 nagios: "cs:trusty/nagios-10"
118 neutron-api: "cs:~cordteam/trusty/neutron-api-6"
119 nova-cloud-controller: "cs:trusty/nova-cloud-controller-64"
Andy Bavier0d1131e2018-01-02 11:27:43 -0700120 nova-compute: "cs:~cordteam/trusty/nova-compute-4"
Andy Baviere6478b22017-12-21 13:17:56 -0700121 nrpe: "cs:trusty/nrpe-4"
122 ntp: "cs:trusty/ntp-14"
123 openstack-dashboard: "cs:trusty/openstack-dashboard-19"
124 rabbitmq-server: "cs:trusty/rabbitmq-server-42"
125
126head_lxd_list:
127 - name: "juju-1"
128 service: "juju"
129 aliases:
130 - "juju"
131 ipv4_last_octet: 10
132
133 - name: "ceilometer-1"
134 service: "ceilometer"
135 aliases:
136 - "ceilometer"
137 ipv4_last_octet: 20
138 forwarded_ports:
139 - { ext: 8777, int: 8777 }
140
141 - name: "glance-1"
142 service: "glance"
143 aliases:
144 - "glance"
145 ipv4_last_octet: 30
146 forwarded_ports:
147 - { ext: 9292, int: 9292 }
148
149 - name: "keystone-1"
150 service: "keystone"
151 aliases:
152 - "keystone"
153 ipv4_last_octet: 40
154 forwarded_ports:
155 - { ext: 35357, int: 35357 }
156 - { ext: 4990, int: 4990 }
157 - { ext: 5000, int: 5000 }
158
159 - name: "percona-cluster-1"
160 service: "percona-cluster"
161 aliases:
162 - "percona-cluster"
163 ipv4_last_octet: 50
164
165 - name: "nagios-1"
166 service: "nagios"
167 aliases:
168 - "nagios"
169 ipv4_last_octet: 60
170 forwarded_ports:
171 - { ext: 3128, int: 80 }
172
173 - name: "neutron-api-1"
174 service: "neutron-api"
175 aliases:
176 - "neutron-api"
177 ipv4_last_octet: 70
178 forwarded_ports:
179 - { ext: 9696, int: 9696 }
180
181 - name: "nova-cloud-controller-1"
182 service: "nova-cloud-controller"
183 aliases:
184 - "nova-cloud-controller"
185 ipv4_last_octet: 80
186 forwarded_ports:
187 - { ext: 8774, int: 8774 }
188
189 - name: "openstack-dashboard-1"
190 service: "openstack-dashboard"
191 aliases:
192 - "openstack-dashboard"
193 ipv4_last_octet: 90
194 forwarded_ports:
195 - { ext: 8080, int: 80 }
196
197 - name: "rabbitmq-server-1"
198 service: "rabbitmq-server"
199 aliases:
200 - "rabbitmq-server"
201 ipv4_last_octet: 100
202
203 - name: "mongodb-1"
204 service: "mongodb"
205 aliases:
206 - "mongodb"
207 ipv4_last_octet: 110
208
209lxd_service_list:
210 - ceilometer
211 - glance
212 - keystone
213 - mongodb
214 - nagios
215 - neutron-api
216 - nova-cloud-controller
217 - openstack-dashboard
218 - percona-cluster
219 - rabbitmq-server
220
221standalone_service_list:
222 - ntp
223 - nrpe
224 - ceilometer-agent
225
226
227service_relations:
228 - name: keystone
229 relations: [ "percona-cluster", "nrpe", ]
230
231 - name: nova-cloud-controller
232 relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", "nrpe", ]
233
234 - name: glance
235 relations: [ "percona-cluster", "keystone", "nrpe", ]
236
237 - name: neutron-api
238 relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", "nrpe", ]
239
240 - name: openstack-dashboard
241 relations: [ "keystone", "nrpe", ]
242
243 - name: nagios
244 relations: [ "nrpe", ]
245
246 - name: "percona-cluster:juju-info"
247 relations: [ "nrpe:general-info", ]
248
249 - name: rabbitmq-server
250 relations: [ "nrpe", ]
251
252 - name: ceilometer
253 relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ]
254
255 - name: "ceilometer:identity-service"
256 relations: [ "keystone:identity-service", ]
257
258 - name: "ceilometer:ceilometer-service"
259 relations: [ "ceilometer-agent:ceilometer-service", ]
260
261
262compute_relations:
263 - name: nova-compute
264 relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", "nagios", "nrpe", ]
265
266 - name: "nova-compute:shared-db"
267 relations: [ "percona-cluster:shared-db", ]
268
269 - name: "nova-compute:amqp"
270 relations: [ "rabbitmq-server:amqp", ]
271
272 - name: ntp
273 relations: [ "nova-compute", ]
274
275
276xos_images:
277 - name: "image-venb"
278 url: "https://github.com/opencord/venb/releases/download/vms/ng40-vmcord-1-4GB.img.20171201"
279 checksum: "sha256:3d6d385247560c90db90b2591578c200eafaa62c232a964ab664420e8b2b33ac"
280
281 - name: "image-spgwc"
282 url: "http://www.vicci.org/cord/ngic-cp1-cmpress.qcow2.20171121"
283 checksum: "sha256:eca43de006d193625778597cc9b3f171752c31e0ce6dbed363954c87c33935a3"
284
285 - name: "image-spgwu"
286 url: "http://www.vicci.org/cord/ngic-dp1-cmpress.qcow2.20171121"
287 checksum: "sha256:2d431dc24b8de5d531ddf9a82c20f692d9ac8c9d4dd0295c535acc06c6635bc5"