blob: 4520e410082a72a93d958a1da9b9366b56f4594d [file] [log] [blame]
Andy Bavier50f53172017-10-24 06:02:36 -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# site configuration
21site_name: mysite
22site_humanname: MySite
23#site_suffix: "{{ site_name }}.opencord.org"
24site_suffix: "cord.lab"
25deployment_type: MyDeployment
26
27# Feature toggles
28use_maas: True
29
30# XOS config
31xos_tosca_config_templates:
32 - vtn-service.yaml
33 - fabric-service.yaml
34 - management-net.yaml
35 - shared-net.yaml
36 - wan-net.yaml
37 - vsg-net.yaml
38 - flat-net.yaml
39 - xos-gui-extensions.yml
40
41xos_new_tosca_config_templates:
42 - mcord-subscriber.yml
43 - s11-net.yaml
44 - s1u-net.yaml
45 - nbi-net.yaml
46 - sbi-net.yaml
47 - sgi-net.yaml
48 - mcord-spirent-services.yml
49 - sdn-controller-service.yaml
50 - vspgwc-service.yaml
51 - vspgwu-service.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: fabric
73 path: orchestration/xos_services/fabric
74 - name: venb
75 path: orchestration/xos_services/venb
76 keypair: mcord_rsa
77 - name: sdncontroller
78 path: orchestration/xos_services/sdn-controller
79 keypair: mcord_rsa
80 - name: vspgwc
81 path: orchestration/xos_services/vspgwc
82 keypair: mcord_rsa
83 - name: vspgwu
84 path: orchestration/xos_services/vspgwu
85 keypair: mcord_rsa
86 - name: exampleservice
87 path: orchestration/xos_services/exampleservice
88 keypair: exampleservice_rsa
89
90profile_library: "mcord"
91
92# VTN network configuration
93management_network_cidr: 172.27.0.0/24
94management_network_ip: 172.27.0.1/24
95data_plane_ip: 10.168.0.253/24
96
97# Juju config
98charm_versions:
99 ceilometer: "cs:trusty/ceilometer-17"
100 ceilometer-agent: "cs:trusty/ceilometer-agent-13"
101 glance: "cs:trusty/glance-28"
102 keystone: "cs:trusty/keystone-267"
103 mongodb: "cs:trusty/mongodb-33"
104 percona-cluster: "cs:trusty/percona-cluster-31"
105 nagios: "cs:trusty/nagios-10"
106 neutron-api: "cs:~cordteam/trusty/neutron-api-6"
107 nova-cloud-controller: "cs:trusty/nova-cloud-controller-64"
108 nova-compute: "cs:~cordteam/trusty/nova-compute-3"
109 nrpe: "cs:trusty/nrpe-4"
110 ntp: "cs:trusty/ntp-14"
111 openstack-dashboard: "cs:trusty/openstack-dashboard-19"
112 rabbitmq-server: "cs:trusty/rabbitmq-server-42"
113
114head_lxd_list:
115 - name: "juju-1"
116 service: "juju"
117 aliases:
118 - "juju"
119 ipv4_last_octet: 10
120
121 - name: "ceilometer-1"
122 service: "ceilometer"
123 aliases:
124 - "ceilometer"
125 ipv4_last_octet: 20
126 forwarded_ports:
127 - { ext: 8777, int: 8777 }
128
129 - name: "glance-1"
130 service: "glance"
131 aliases:
132 - "glance"
133 ipv4_last_octet: 30
134 forwarded_ports:
135 - { ext: 9292, int: 9292 }
136
137 - name: "keystone-1"
138 service: "keystone"
139 aliases:
140 - "keystone"
141 ipv4_last_octet: 40
142 forwarded_ports:
143 - { ext: 35357, int: 35357 }
144 - { ext: 4990, int: 4990 }
145 - { ext: 5000, int: 5000 }
146
147 - name: "percona-cluster-1"
148 service: "percona-cluster"
149 aliases:
150 - "percona-cluster"
151 ipv4_last_octet: 50
152
153 - name: "nagios-1"
154 service: "nagios"
155 aliases:
156 - "nagios"
157 ipv4_last_octet: 60
158 forwarded_ports:
159 - { ext: 3128, int: 80 }
160
161 - name: "neutron-api-1"
162 service: "neutron-api"
163 aliases:
164 - "neutron-api"
165 ipv4_last_octet: 70
166 forwarded_ports:
167 - { ext: 9696, int: 9696 }
168
169 - name: "nova-cloud-controller-1"
170 service: "nova-cloud-controller"
171 aliases:
172 - "nova-cloud-controller"
173 ipv4_last_octet: 80
174 forwarded_ports:
175 - { ext: 8774, int: 8774 }
176
177 - name: "openstack-dashboard-1"
178 service: "openstack-dashboard"
179 aliases:
180 - "openstack-dashboard"
181 ipv4_last_octet: 90
182 forwarded_ports:
183 - { ext: 8080, int: 80 }
184
185 - name: "rabbitmq-server-1"
186 service: "rabbitmq-server"
187 aliases:
188 - "rabbitmq-server"
189 ipv4_last_octet: 100
190
191 - name: "mongodb-1"
192 service: "mongodb"
193 aliases:
194 - "mongodb"
195 ipv4_last_octet: 110
196
197lxd_service_list:
198 - ceilometer
199 - glance
200 - keystone
201 - mongodb
202 - nagios
203 - neutron-api
204 - nova-cloud-controller
205 - openstack-dashboard
206 - percona-cluster
207 - rabbitmq-server
208
209standalone_service_list:
210 - ntp
211 - nrpe
212 - ceilometer-agent
213
214
215service_relations:
216 - name: keystone
217 relations: [ "percona-cluster", "nrpe", ]
218
219 - name: nova-cloud-controller
220 relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", "nrpe", ]
221
222 - name: glance
223 relations: [ "percona-cluster", "keystone", "nrpe", ]
224
225 - name: neutron-api
226 relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", "nrpe", ]
227
228 - name: openstack-dashboard
229 relations: [ "keystone", "nrpe", ]
230
231 - name: nagios
232 relations: [ "nrpe", ]
233
234 - name: "percona-cluster:juju-info"
235 relations: [ "nrpe:general-info", ]
236
237 - name: rabbitmq-server
238 relations: [ "nrpe", ]
239
240 - name: ceilometer
241 relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ]
242
243 - name: "ceilometer:identity-service"
244 relations: [ "keystone:identity-service", ]
245
246 - name: "ceilometer:ceilometer-service"
247 relations: [ "ceilometer-agent:ceilometer-service", ]
248
249
250compute_relations:
251 - name: nova-compute
252 relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", "nagios", "nrpe", ]
253
254 - name: "nova-compute:shared-db"
255 relations: [ "percona-cluster:shared-db", ]
256
257 - name: "nova-compute:amqp"
258 relations: [ "rabbitmq-server:amqp", ]
259
260 - name: ntp
261 relations: [ "nova-compute", ]
262
263
264xos_images:
265 - name: "trusty-server-multi-nic"
266 url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img.20170201"
267 checksum: "sha256:ebf007ba3ec1043b7cd011fc6668e2a1d1d4c69c41071e8513ab355df7a057cb"
268
269 - name: "vsg-1.1"
270 url: "http://www.vicci.org/cord/vsg-1.1.img"
271 checksum: "sha256:16b0beb6778aed0f5feecb05f8d5750e6c262f98e6011e99ddadf7d46a177b6f"
272
273 - name: "ceilometer-trusty-server-multi-nic"
274 url: "http://www.vicci.org/cord/ceilometer-trusty-server-multi-nic.compressed.qcow2"
275 checksum: "sha256:b77ef8d692b640568dea13df99fe1dfcb1f4bb4ac05408db9ff77399b34f754f"
276
277 - name: "ceilometer-service-trusty-server-multi-nic"
278 url: "http://www.vicci.org/cord/ceilometer-service-trusty-server-multi-nic.compressed.qcow2.20170131"
279 checksum: "sha256:f0341e283f0f2cb8f70cd1a6347e0081c9c8492ef34eb6397c657ef824800d4f"