blob: 61172c48e930601c8de6414d19a4d990a971e502 [file] [log] [blame]
Zack Williamsafd04a82017-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
JianHaoaf3ee1d2017-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
Matteo Scandoloae45a2f2017-06-27 14:14:19 -070035 - xos-gui-extensions.yml
mcord3e589142017-05-24 16:05:07 -070036
37xos_other_templates:
38 - fabric-network-cfg.json
39
Yunpeng Zhang07a007b2017-06-11 22:59:16 -040040# GUI Config [new GUI]
41gui_project_name: "M-CORD"
42gui_background: "cord-bg.jpg" # TODO find mcord image
43
mcord3e589142017-05-24 16:05:07 -070044enabled_gui_extensions: []
mcord3e589142017-05-24 16:05:07 -070045
46# paths defined in manifest/default.xml
47xos_services:
48 - name: vtn
Andy Baviera4638cb2017-08-30 16:02:49 -070049 path: orchestration/xos_services/vtn-service
mcord3e589142017-05-24 16:05:07 -070050 keypair: vsg_rsa
mcord3e589142017-05-24 16:05:07 -070051 - name: openstack
52 path: orchestration/xos_services/openstack
mcord3e589142017-05-24 16:05:07 -070053 - name: onos
54 path: orchestration/xos_services/onos-service
55 keypair: onos_rsa
mcord3e589142017-05-24 16:05:07 -070056 - name: fabric
57 path: orchestration/xos_services/fabric
JianHaoaf3ee1d2017-09-24 00:54:31 +080058# uncomment this when vmme migration is to be done.
59# - name: vmme
60# path: orchestration/xos_services/vmme
61# keypair: mcord_rsa
62# synchronizer: true
mcord3e589142017-05-24 16:05:07 -070063 - name: exampleservice
64 path: orchestration/xos_services/exampleservice
65 keypair: exampleservice_rsa
JianHaoaf3ee1d2017-09-24 00:54:31 +080066# - name: monitoring
67# path: orchestration/xos_services/monitoring
68# keypair: monitoringservice_rsa
69# synchronizer: false
Zack Williamsbf43d752017-07-01 15:27:11 -070070
mcord3e589142017-05-24 16:05:07 -070071# VTN network configuration
72management_network_cidr: 172.27.0.0/24
73management_network_ip: 172.27.0.1/24
74data_plane_ip: 10.168.0.253/24
75
Zack Williams3eca6472017-06-22 18:18:38 -070076# Juju config
mcord3e589142017-05-24 16:05:07 -070077charm_versions:
78 ceilometer: "cs:trusty/ceilometer-17"
79 ceilometer-agent: "cs:trusty/ceilometer-agent-13"
80 glance: "cs:trusty/glance-28"
Kailash Khalasic725e062017-08-31 09:42:40 -070081 keystone: "cs:trusty/keystone-267"
mcord3e589142017-05-24 16:05:07 -070082 mongodb: "cs:trusty/mongodb-33"
83 percona-cluster: "cs:trusty/percona-cluster-31"
84 nagios: "cs:trusty/nagios-10"
Andy Bavier9b3e00c2017-07-27 14:45:17 -070085 neutron-api: "cs:~cordteam/trusty/neutron-api-6"
mcord3e589142017-05-24 16:05:07 -070086 nova-cloud-controller: "cs:trusty/nova-cloud-controller-64"
Andy Bavier7bf1b372017-08-08 12:37:33 -070087 nova-compute: "cs:~cordteam/trusty/nova-compute-3"
mcord3e589142017-05-24 16:05:07 -070088 nrpe: "cs:trusty/nrpe-4"
89 ntp: "cs:trusty/ntp-14"
90 openstack-dashboard: "cs:trusty/openstack-dashboard-19"
91 rabbitmq-server: "cs:trusty/rabbitmq-server-42"
92
mcord3e589142017-05-24 16:05:07 -070093head_lxd_list:
94 - name: "juju-1"
95 service: "juju"
96 aliases:
97 - "juju"
98 ipv4_last_octet: 10
99
100 - name: "ceilometer-1"
101 service: "ceilometer"
102 aliases:
103 - "ceilometer"
104 ipv4_last_octet: 20
105 forwarded_ports:
106 - { ext: 8777, int: 8777 }
107
108 - name: "glance-1"
109 service: "glance"
110 aliases:
111 - "glance"
112 ipv4_last_octet: 30
113 forwarded_ports:
114 - { ext: 9292, int: 9292 }
115
116 - name: "keystone-1"
117 service: "keystone"
118 aliases:
119 - "keystone"
120 ipv4_last_octet: 40
121 forwarded_ports:
122 - { ext: 35357, int: 35357 }
123 - { ext: 4990, int: 4990 }
124 - { ext: 5000, int: 5000 }
125
126 - name: "percona-cluster-1"
127 service: "percona-cluster"
128 aliases:
129 - "percona-cluster"
130 ipv4_last_octet: 50
131
132 - name: "nagios-1"
133 service: "nagios"
134 aliases:
135 - "nagios"
136 ipv4_last_octet: 60
137 forwarded_ports:
138 - { ext: 3128, int: 80 }
139
140 - name: "neutron-api-1"
141 service: "neutron-api"
142 aliases:
143 - "neutron-api"
144 ipv4_last_octet: 70
145 forwarded_ports:
146 - { ext: 9696, int: 9696 }
147
148 - name: "nova-cloud-controller-1"
149 service: "nova-cloud-controller"
150 aliases:
151 - "nova-cloud-controller"
152 ipv4_last_octet: 80
153 forwarded_ports:
154 - { ext: 8774, int: 8774 }
155
156 - name: "openstack-dashboard-1"
157 service: "openstack-dashboard"
158 aliases:
159 - "openstack-dashboard"
160 ipv4_last_octet: 90
161 forwarded_ports:
162 - { ext: 8080, int: 80 }
163
164 - name: "rabbitmq-server-1"
165 service: "rabbitmq-server"
166 aliases:
167 - "rabbitmq-server"
168 ipv4_last_octet: 100
169
170 - name: "mongodb-1"
171 service: "mongodb"
172 aliases:
173 - "mongodb"
174 ipv4_last_octet: 110
175
176lxd_service_list:
177 - ceilometer
178 - glance
179 - keystone
180 - mongodb
181 - nagios
182 - neutron-api
183 - nova-cloud-controller
184 - openstack-dashboard
185 - percona-cluster
186 - rabbitmq-server
187
188standalone_service_list:
189 - ntp
190 - nrpe
191 - ceilometer-agent
192
193
194service_relations:
195 - name: keystone
196 relations: [ "percona-cluster", "nrpe", ]
197
198 - name: nova-cloud-controller
199 relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", "nrpe", ]
200
201 - name: glance
202 relations: [ "percona-cluster", "keystone", "nrpe", ]
203
204 - name: neutron-api
205 relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", "nrpe", ]
206
207 - name: openstack-dashboard
208 relations: [ "keystone", "nrpe", ]
209
210 - name: nagios
211 relations: [ "nrpe", ]
212
213 - name: "percona-cluster:juju-info"
214 relations: [ "nrpe:general-info", ]
215
216 - name: rabbitmq-server
217 relations: [ "nrpe", ]
218
219 - name: ceilometer
220 relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ]
221
222 - name: "ceilometer:identity-service"
223 relations: [ "keystone:identity-service", ]
224
225 - name: "ceilometer:ceilometer-service"
226 relations: [ "ceilometer-agent:ceilometer-service", ]
227
228
229compute_relations:
230 - name: nova-compute
231 relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", "nagios", "nrpe", ]
232
233 - name: "nova-compute:shared-db"
234 relations: [ "percona-cluster:shared-db", ]
235
236 - name: "nova-compute:amqp"
237 relations: [ "rabbitmq-server:amqp", ]
238
239 - name: ntp
240 relations: [ "nova-compute", ]
241
242
243xos_images:
244 - name: "trusty-server-multi-nic"
245 url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img.20170201"
246 checksum: "sha256:ebf007ba3ec1043b7cd011fc6668e2a1d1d4c69c41071e8513ab355df7a057cb"
247
248 - name: "vsg-1.1"
249 url: "http://www.vicci.org/cord/vsg-1.1.img"
250 checksum: "sha256:16b0beb6778aed0f5feecb05f8d5750e6c262f98e6011e99ddadf7d46a177b6f"
251
252 - name: "ceilometer-trusty-server-multi-nic"
253 url: "http://www.vicci.org/cord/ceilometer-trusty-server-multi-nic.compressed.qcow2"
254 checksum: "sha256:b77ef8d692b640568dea13df99fe1dfcb1f4bb4ac05408db9ff77399b34f754f"
255
256 - name: "ceilometer-service-trusty-server-multi-nic"
257 url: "http://www.vicci.org/cord/ceilometer-service-trusty-server-multi-nic.compressed.qcow2.20170131"
258 checksum: "sha256:f0341e283f0f2cb8f70cd1a6347e0081c9c8492ef34eb6397c657ef824800d4f"