blob: ae3a896ef1d2553cb195fb96092c3643ffa21d75 [file] [log] [blame]
Zack Williamsa88041c2017-09-13 10:11:55 -07001---
Matteo Scandolo3896c472017-08-01 13:31:42 -07002
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
Zack Williams3eca6472017-06-22 18:18:38 -070017# profile_manifests/mcord.yml
mcord3e589142017-05-24 16:05:07 -070018# Configures an M-CORD pod
19
20# site configuration
21site_name: mysite
22site_humanname: MySite
JianHaob3e50372017-09-24 00:54:31 +080023#site_suffix: "{{ site_name }}.opencord.org"
24site_suffix: "cord.lab"
mcord3e589142017-05-24 16:05:07 -070025deployment_type: MyDeployment
26
Zack Williams3eca6472017-06-22 18:18:38 -070027# Feature toggles
Zack Williamsfe284a12017-07-01 11:00:04 -070028use_maas: True
mcord3e589142017-05-24 16:05:07 -070029
Zack Williams3eca6472017-06-22 18:18:38 -070030# XOS config
mcord3e589142017-05-24 16:05:07 -070031xos_tosca_config_templates:
mcord3e589142017-05-24 16:05:07 -070032 - vtn-service.yaml
33 - fabric-service.yaml
34 - management-net.yaml
Pingping Lin040a7732017-10-05 20:23:40 -070035 - shared-net.yaml
36 - wan-net.yaml
37 - vsg-net.yaml
38 - flat-net.yaml
Andy Bavierc4379e22017-10-17 10:14:57 -070039 - s1u-net.yaml
Andy Bavierc4379e22017-10-17 10:14:57 -070040 - s1mme-net.yaml
41 - nbi-net.yaml
42 - sbi-net.yaml
43 - sgi-net.yaml
Pingping Lin2da4fec2017-10-16 17:50:54 -070044# - mcord-services.yml
Pingping Lin040a7732017-10-05 20:23:40 -070045 - xos-gui-extensions.yml
Andy Bavierc4379e22017-10-17 10:14:57 -070046 - internet-emulator-service.yaml
Matteo Scandolo3fc188e2017-10-02 18:05:58 -070047
48xos_new_tosca_config_templates:
49 - mcord-subscriber.yml
Pingping Lin2da4fec2017-10-16 17:50:54 -070050 - s11-net.yaml
51 - mcord-services.yml
52
mcord3e589142017-05-24 16:05:07 -070053
54xos_other_templates:
55 - fabric-network-cfg.json
56
Yunpeng Zhang07a007b2017-06-11 22:59:16 -040057# GUI Config [new GUI]
58gui_project_name: "M-CORD"
59gui_background: "cord-bg.jpg" # TODO find mcord image
60
mcord3e589142017-05-24 16:05:07 -070061enabled_gui_extensions: []
mcord3e589142017-05-24 16:05:07 -070062
63# paths defined in manifest/default.xml
64xos_services:
65 - name: vtn
Andy Baviera4638cb2017-08-30 16:02:49 -070066 path: orchestration/xos_services/vtn-service
mcord3e589142017-05-24 16:05:07 -070067 keypair: vsg_rsa
mcord3e589142017-05-24 16:05:07 -070068 - name: openstack
69 path: orchestration/xos_services/openstack
mcord3e589142017-05-24 16:05:07 -070070 - name: onos
71 path: orchestration/xos_services/onos-service
72 keypair: onos_rsa
mcord3e589142017-05-24 16:05:07 -070073 - name: fabric
74 path: orchestration/xos_services/fabric
mcord3e589142017-05-24 16:05:07 -070075 - name: exampleservice
76 path: orchestration/xos_services/exampleservice
77 keypair: exampleservice_rsa
Andy Bavier3bc3d522017-10-10 14:32:36 -070078 - name: vmme
79 path: orchestration/xos_services/vmme
80 keypair: mcord_rsa
Matteo Scandolo3fc188e2017-10-02 18:05:58 -070081
82profile_library: "mcord"
Zack Williamsbf43d752017-07-01 15:27:11 -070083
mcord3e589142017-05-24 16:05:07 -070084# VTN network configuration
85management_network_cidr: 172.27.0.0/24
86management_network_ip: 172.27.0.1/24
87data_plane_ip: 10.168.0.253/24
88
Zack Williams3eca6472017-06-22 18:18:38 -070089# Juju config
mcord3e589142017-05-24 16:05:07 -070090charm_versions:
91 ceilometer: "cs:trusty/ceilometer-17"
92 ceilometer-agent: "cs:trusty/ceilometer-agent-13"
93 glance: "cs:trusty/glance-28"
Kailash Khalasieea72cf2017-08-31 09:42:40 -070094 keystone: "cs:trusty/keystone-267"
mcord3e589142017-05-24 16:05:07 -070095 mongodb: "cs:trusty/mongodb-33"
96 percona-cluster: "cs:trusty/percona-cluster-31"
97 nagios: "cs:trusty/nagios-10"
Andy Bavier9b3e00c2017-07-27 14:45:17 -070098 neutron-api: "cs:~cordteam/trusty/neutron-api-6"
mcord3e589142017-05-24 16:05:07 -070099 nova-cloud-controller: "cs:trusty/nova-cloud-controller-64"
Andy Bavier7bf1b372017-08-08 12:37:33 -0700100 nova-compute: "cs:~cordteam/trusty/nova-compute-3"
mcord3e589142017-05-24 16:05:07 -0700101 nrpe: "cs:trusty/nrpe-4"
102 ntp: "cs:trusty/ntp-14"
103 openstack-dashboard: "cs:trusty/openstack-dashboard-19"
104 rabbitmq-server: "cs:trusty/rabbitmq-server-42"
105
mcord3e589142017-05-24 16:05:07 -0700106head_lxd_list:
107 - name: "juju-1"
108 service: "juju"
109 aliases:
110 - "juju"
111 ipv4_last_octet: 10
112
113 - name: "ceilometer-1"
114 service: "ceilometer"
115 aliases:
116 - "ceilometer"
117 ipv4_last_octet: 20
118 forwarded_ports:
119 - { ext: 8777, int: 8777 }
120
121 - name: "glance-1"
122 service: "glance"
123 aliases:
124 - "glance"
125 ipv4_last_octet: 30
126 forwarded_ports:
127 - { ext: 9292, int: 9292 }
128
129 - name: "keystone-1"
130 service: "keystone"
131 aliases:
132 - "keystone"
133 ipv4_last_octet: 40
134 forwarded_ports:
135 - { ext: 35357, int: 35357 }
136 - { ext: 4990, int: 4990 }
137 - { ext: 5000, int: 5000 }
138
139 - name: "percona-cluster-1"
140 service: "percona-cluster"
141 aliases:
142 - "percona-cluster"
143 ipv4_last_octet: 50
144
145 - name: "nagios-1"
146 service: "nagios"
147 aliases:
148 - "nagios"
149 ipv4_last_octet: 60
150 forwarded_ports:
151 - { ext: 3128, int: 80 }
152
153 - name: "neutron-api-1"
154 service: "neutron-api"
155 aliases:
156 - "neutron-api"
157 ipv4_last_octet: 70
158 forwarded_ports:
159 - { ext: 9696, int: 9696 }
160
161 - name: "nova-cloud-controller-1"
162 service: "nova-cloud-controller"
163 aliases:
164 - "nova-cloud-controller"
165 ipv4_last_octet: 80
166 forwarded_ports:
167 - { ext: 8774, int: 8774 }
168
169 - name: "openstack-dashboard-1"
170 service: "openstack-dashboard"
171 aliases:
172 - "openstack-dashboard"
173 ipv4_last_octet: 90
174 forwarded_ports:
175 - { ext: 8080, int: 80 }
176
177 - name: "rabbitmq-server-1"
178 service: "rabbitmq-server"
179 aliases:
180 - "rabbitmq-server"
181 ipv4_last_octet: 100
182
183 - name: "mongodb-1"
184 service: "mongodb"
185 aliases:
186 - "mongodb"
187 ipv4_last_octet: 110
188
189lxd_service_list:
190 - ceilometer
191 - glance
192 - keystone
193 - mongodb
194 - nagios
195 - neutron-api
196 - nova-cloud-controller
197 - openstack-dashboard
198 - percona-cluster
199 - rabbitmq-server
200
201standalone_service_list:
202 - ntp
203 - nrpe
204 - ceilometer-agent
205
206
207service_relations:
208 - name: keystone
209 relations: [ "percona-cluster", "nrpe", ]
210
211 - name: nova-cloud-controller
212 relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", "nrpe", ]
213
214 - name: glance
215 relations: [ "percona-cluster", "keystone", "nrpe", ]
216
217 - name: neutron-api
218 relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", "nrpe", ]
219
220 - name: openstack-dashboard
221 relations: [ "keystone", "nrpe", ]
222
223 - name: nagios
224 relations: [ "nrpe", ]
225
226 - name: "percona-cluster:juju-info"
227 relations: [ "nrpe:general-info", ]
228
229 - name: rabbitmq-server
230 relations: [ "nrpe", ]
231
232 - name: ceilometer
233 relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ]
234
235 - name: "ceilometer:identity-service"
236 relations: [ "keystone:identity-service", ]
237
238 - name: "ceilometer:ceilometer-service"
239 relations: [ "ceilometer-agent:ceilometer-service", ]
240
241
242compute_relations:
243 - name: nova-compute
244 relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", "nagios", "nrpe", ]
245
246 - name: "nova-compute:shared-db"
247 relations: [ "percona-cluster:shared-db", ]
248
249 - name: "nova-compute:amqp"
250 relations: [ "rabbitmq-server:amqp", ]
251
252 - name: ntp
253 relations: [ "nova-compute", ]
254
255
256xos_images:
257 - name: "trusty-server-multi-nic"
258 url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img.20170201"
259 checksum: "sha256:ebf007ba3ec1043b7cd011fc6668e2a1d1d4c69c41071e8513ab355df7a057cb"
260
261 - name: "vsg-1.1"
262 url: "http://www.vicci.org/cord/vsg-1.1.img"
263 checksum: "sha256:16b0beb6778aed0f5feecb05f8d5750e6c262f98e6011e99ddadf7d46a177b6f"
264
265 - name: "ceilometer-trusty-server-multi-nic"
266 url: "http://www.vicci.org/cord/ceilometer-trusty-server-multi-nic.compressed.qcow2"
267 checksum: "sha256:b77ef8d692b640568dea13df99fe1dfcb1f4bb4ac05408db9ff77399b34f754f"
268
269 - name: "ceilometer-service-trusty-server-multi-nic"
270 url: "http://www.vicci.org/cord/ceilometer-service-trusty-server-multi-nic.compressed.qcow2.20170131"
271 checksum: "sha256:f0341e283f0f2cb8f70cd1a6347e0081c9c8492ef34eb6397c657ef824800d4f"