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