blob: 7892c2756ec728361835fc7b6d8fad41b264c45a [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
39 - shared-net.yaml
40 - wan-net.yaml
41 - vsg-net.yaml
42 - s11-net.yaml
43 - s1u-net.yaml
44 - nbi-net.yaml
45 - sbi-net.yaml
46 - spgw-net.yaml
47 - sgi-net.yaml
48 - flat-net.yaml
49 - mcord-ng40-services.yml
50 - xos-gui-extensions.yml
51 - service-graph-constraints.yaml
52
53xos_other_templates:
54 - fabric-network-cfg.json
55
56# GUI Config [new GUI]
57gui_project_name: "M-CORD"
58gui_background: "cord-bg.jpg" # TODO find mcord image
59
60enabled_gui_extensions: []
61
62# paths defined in manifest/default.xml
63xos_services:
64 - name: vtn
65 path: orchestration/xos_services/vtn-service
66 keypair: vsg_rsa
67 - name: openstack
68 path: orchestration/xos_services/openstack
69 - name: onos
70 path: orchestration/xos_services/onos-service
71 keypair: onos_rsa
72 - name: addressmanager
73 path: orchestration/xos_services/addressmanager
74 - name: fabric
75 path: orchestration/xos_services/fabric
76 - name: venb
77 path: orchestration/xos_services/venb
78 keypair: mcord_rsa
79 - name: vspgwc
80 path: orchestration/xos_services/vspgwc
81 keypair: mcord_rsa
82 - name: vspgwu
83 path: orchestration/xos_services/vspgwu
84 keypair: mcord_rsa
85 - name: vepc
86 path: orchestration/xos_services/epc-service
87 keypair: mcord_rsa
88
89# service graph gui constraints
90xos_gui_service_graph_constraints: '["mcord", "venb", ["vspgwc", "vspgwu"]]'
91
92profile_library: "mcord"
93
94# VTN network configuration
95management_network_cidr: 172.27.0.0/24
96management_network_ip: 172.27.0.1/24
97data_plane_ip: 10.168.0.253/24
98
99# Juju config
100charm_versions:
101 ceilometer: "cs:trusty/ceilometer-17"
102 ceilometer-agent: "cs:trusty/ceilometer-agent-13"
103 glance: "cs:trusty/glance-28"
104 keystone: "cs:trusty/keystone-267"
105 mongodb: "cs:trusty/mongodb-33"
106 percona-cluster: "cs:trusty/percona-cluster-31"
107 nagios: "cs:trusty/nagios-10"
108 neutron-api: "cs:~cordteam/trusty/neutron-api-6"
109 nova-cloud-controller: "cs:trusty/nova-cloud-controller-64"
110 nova-compute: "cs:~cordteam/trusty/nova-compute-3"
111 nrpe: "cs:trusty/nrpe-4"
112 ntp: "cs:trusty/ntp-14"
113 openstack-dashboard: "cs:trusty/openstack-dashboard-19"
114 rabbitmq-server: "cs:trusty/rabbitmq-server-42"
115
116head_lxd_list:
117 - name: "juju-1"
118 service: "juju"
119 aliases:
120 - "juju"
121 ipv4_last_octet: 10
122
123 - name: "ceilometer-1"
124 service: "ceilometer"
125 aliases:
126 - "ceilometer"
127 ipv4_last_octet: 20
128 forwarded_ports:
129 - { ext: 8777, int: 8777 }
130
131 - name: "glance-1"
132 service: "glance"
133 aliases:
134 - "glance"
135 ipv4_last_octet: 30
136 forwarded_ports:
137 - { ext: 9292, int: 9292 }
138
139 - name: "keystone-1"
140 service: "keystone"
141 aliases:
142 - "keystone"
143 ipv4_last_octet: 40
144 forwarded_ports:
145 - { ext: 35357, int: 35357 }
146 - { ext: 4990, int: 4990 }
147 - { ext: 5000, int: 5000 }
148
149 - name: "percona-cluster-1"
150 service: "percona-cluster"
151 aliases:
152 - "percona-cluster"
153 ipv4_last_octet: 50
154
155 - name: "nagios-1"
156 service: "nagios"
157 aliases:
158 - "nagios"
159 ipv4_last_octet: 60
160 forwarded_ports:
161 - { ext: 3128, int: 80 }
162
163 - name: "neutron-api-1"
164 service: "neutron-api"
165 aliases:
166 - "neutron-api"
167 ipv4_last_octet: 70
168 forwarded_ports:
169 - { ext: 9696, int: 9696 }
170
171 - name: "nova-cloud-controller-1"
172 service: "nova-cloud-controller"
173 aliases:
174 - "nova-cloud-controller"
175 ipv4_last_octet: 80
176 forwarded_ports:
177 - { ext: 8774, int: 8774 }
178
179 - name: "openstack-dashboard-1"
180 service: "openstack-dashboard"
181 aliases:
182 - "openstack-dashboard"
183 ipv4_last_octet: 90
184 forwarded_ports:
185 - { ext: 8080, int: 80 }
186
187 - name: "rabbitmq-server-1"
188 service: "rabbitmq-server"
189 aliases:
190 - "rabbitmq-server"
191 ipv4_last_octet: 100
192
193 - name: "mongodb-1"
194 service: "mongodb"
195 aliases:
196 - "mongodb"
197 ipv4_last_octet: 110
198
199lxd_service_list:
200 - ceilometer
201 - glance
202 - keystone
203 - mongodb
204 - nagios
205 - neutron-api
206 - nova-cloud-controller
207 - openstack-dashboard
208 - percona-cluster
209 - rabbitmq-server
210
211standalone_service_list:
212 - ntp
213 - nrpe
214 - ceilometer-agent
215
216
217service_relations:
218 - name: keystone
219 relations: [ "percona-cluster", "nrpe", ]
220
221 - name: nova-cloud-controller
222 relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", "nrpe", ]
223
224 - name: glance
225 relations: [ "percona-cluster", "keystone", "nrpe", ]
226
227 - name: neutron-api
228 relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", "nrpe", ]
229
230 - name: openstack-dashboard
231 relations: [ "keystone", "nrpe", ]
232
233 - name: nagios
234 relations: [ "nrpe", ]
235
236 - name: "percona-cluster:juju-info"
237 relations: [ "nrpe:general-info", ]
238
239 - name: rabbitmq-server
240 relations: [ "nrpe", ]
241
242 - name: ceilometer
243 relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ]
244
245 - name: "ceilometer:identity-service"
246 relations: [ "keystone:identity-service", ]
247
248 - name: "ceilometer:ceilometer-service"
249 relations: [ "ceilometer-agent:ceilometer-service", ]
250
251
252compute_relations:
253 - name: nova-compute
254 relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", "nagios", "nrpe", ]
255
256 - name: "nova-compute:shared-db"
257 relations: [ "percona-cluster:shared-db", ]
258
259 - name: "nova-compute:amqp"
260 relations: [ "rabbitmq-server:amqp", ]
261
262 - name: ntp
263 relations: [ "nova-compute", ]
264
265
266xos_images:
267 - name: "image-venb"
268 url: "https://github.com/opencord/venb/releases/download/vms/ng40-vmcord-1-4GB.img.20171201"
269 checksum: "sha256:3d6d385247560c90db90b2591578c200eafaa62c232a964ab664420e8b2b33ac"
270
271 - name: "image-spgwc"
272 url: "http://www.vicci.org/cord/ngic-cp1-cmpress.qcow2.20171121"
273 checksum: "sha256:eca43de006d193625778597cc9b3f171752c31e0ce6dbed363954c87c33935a3"
274
275 - name: "image-spgwu"
276 url: "http://www.vicci.org/cord/ngic-dp1-cmpress.qcow2.20171121"
277 checksum: "sha256:2d431dc24b8de5d531ddf9a82c20f692d9ac8c9d4dd0295c535acc06c6635bc5"