blob: ae6e38ad53cbdf5a86ad8495f77ad158f56ac5c9 [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
Matteo Scandolo3fc188e2017-10-02 18:05:58 -070039 - mcord-services.yml
Pingping Lin040a7732017-10-05 20:23:40 -070040 - xos-gui-extensions.yml
Matteo Scandolo3fc188e2017-10-02 18:05:58 -070041
42xos_new_tosca_config_templates:
43 - mcord-subscriber.yml
mcord3e589142017-05-24 16:05:07 -070044
45xos_other_templates:
46 - fabric-network-cfg.json
47
Yunpeng Zhang07a007b2017-06-11 22:59:16 -040048# GUI Config [new GUI]
49gui_project_name: "M-CORD"
50gui_background: "cord-bg.jpg" # TODO find mcord image
51
mcord3e589142017-05-24 16:05:07 -070052enabled_gui_extensions: []
mcord3e589142017-05-24 16:05:07 -070053
54# paths defined in manifest/default.xml
55xos_services:
56 - name: vtn
Andy Baviera4638cb2017-08-30 16:02:49 -070057 path: orchestration/xos_services/vtn-service
mcord3e589142017-05-24 16:05:07 -070058 keypair: vsg_rsa
mcord3e589142017-05-24 16:05:07 -070059 - name: openstack
60 path: orchestration/xos_services/openstack
mcord3e589142017-05-24 16:05:07 -070061 - name: onos
62 path: orchestration/xos_services/onos-service
63 keypair: onos_rsa
mcord3e589142017-05-24 16:05:07 -070064 - name: fabric
65 path: orchestration/xos_services/fabric
mcord3e589142017-05-24 16:05:07 -070066 - name: exampleservice
67 path: orchestration/xos_services/exampleservice
68 keypair: exampleservice_rsa
Andy Bavier3bc3d522017-10-10 14:32:36 -070069 - name: vmme
70 path: orchestration/xos_services/vmme
71 keypair: mcord_rsa
Matteo Scandolo3fc188e2017-10-02 18:05:58 -070072
73profile_library: "mcord"
Zack Williamsbf43d752017-07-01 15:27:11 -070074
mcord3e589142017-05-24 16:05:07 -070075# VTN network configuration
76management_network_cidr: 172.27.0.0/24
77management_network_ip: 172.27.0.1/24
78data_plane_ip: 10.168.0.253/24
79
Zack Williams3eca6472017-06-22 18:18:38 -070080# Juju config
mcord3e589142017-05-24 16:05:07 -070081charm_versions:
82 ceilometer: "cs:trusty/ceilometer-17"
83 ceilometer-agent: "cs:trusty/ceilometer-agent-13"
84 glance: "cs:trusty/glance-28"
Kailash Khalasieea72cf2017-08-31 09:42:40 -070085 keystone: "cs:trusty/keystone-267"
mcord3e589142017-05-24 16:05:07 -070086 mongodb: "cs:trusty/mongodb-33"
87 percona-cluster: "cs:trusty/percona-cluster-31"
88 nagios: "cs:trusty/nagios-10"
Andy Bavier9b3e00c2017-07-27 14:45:17 -070089 neutron-api: "cs:~cordteam/trusty/neutron-api-6"
mcord3e589142017-05-24 16:05:07 -070090 nova-cloud-controller: "cs:trusty/nova-cloud-controller-64"
Andy Bavier7bf1b372017-08-08 12:37:33 -070091 nova-compute: "cs:~cordteam/trusty/nova-compute-3"
mcord3e589142017-05-24 16:05:07 -070092 nrpe: "cs:trusty/nrpe-4"
93 ntp: "cs:trusty/ntp-14"
94 openstack-dashboard: "cs:trusty/openstack-dashboard-19"
95 rabbitmq-server: "cs:trusty/rabbitmq-server-42"
96
mcord3e589142017-05-24 16:05:07 -070097head_lxd_list:
98 - name: "juju-1"
99 service: "juju"
100 aliases:
101 - "juju"
102 ipv4_last_octet: 10
103
104 - name: "ceilometer-1"
105 service: "ceilometer"
106 aliases:
107 - "ceilometer"
108 ipv4_last_octet: 20
109 forwarded_ports:
110 - { ext: 8777, int: 8777 }
111
112 - name: "glance-1"
113 service: "glance"
114 aliases:
115 - "glance"
116 ipv4_last_octet: 30
117 forwarded_ports:
118 - { ext: 9292, int: 9292 }
119
120 - name: "keystone-1"
121 service: "keystone"
122 aliases:
123 - "keystone"
124 ipv4_last_octet: 40
125 forwarded_ports:
126 - { ext: 35357, int: 35357 }
127 - { ext: 4990, int: 4990 }
128 - { ext: 5000, int: 5000 }
129
130 - name: "percona-cluster-1"
131 service: "percona-cluster"
132 aliases:
133 - "percona-cluster"
134 ipv4_last_octet: 50
135
136 - name: "nagios-1"
137 service: "nagios"
138 aliases:
139 - "nagios"
140 ipv4_last_octet: 60
141 forwarded_ports:
142 - { ext: 3128, int: 80 }
143
144 - name: "neutron-api-1"
145 service: "neutron-api"
146 aliases:
147 - "neutron-api"
148 ipv4_last_octet: 70
149 forwarded_ports:
150 - { ext: 9696, int: 9696 }
151
152 - name: "nova-cloud-controller-1"
153 service: "nova-cloud-controller"
154 aliases:
155 - "nova-cloud-controller"
156 ipv4_last_octet: 80
157 forwarded_ports:
158 - { ext: 8774, int: 8774 }
159
160 - name: "openstack-dashboard-1"
161 service: "openstack-dashboard"
162 aliases:
163 - "openstack-dashboard"
164 ipv4_last_octet: 90
165 forwarded_ports:
166 - { ext: 8080, int: 80 }
167
168 - name: "rabbitmq-server-1"
169 service: "rabbitmq-server"
170 aliases:
171 - "rabbitmq-server"
172 ipv4_last_octet: 100
173
174 - name: "mongodb-1"
175 service: "mongodb"
176 aliases:
177 - "mongodb"
178 ipv4_last_octet: 110
179
180lxd_service_list:
181 - ceilometer
182 - glance
183 - keystone
184 - mongodb
185 - nagios
186 - neutron-api
187 - nova-cloud-controller
188 - openstack-dashboard
189 - percona-cluster
190 - rabbitmq-server
191
192standalone_service_list:
193 - ntp
194 - nrpe
195 - ceilometer-agent
196
197
198service_relations:
199 - name: keystone
200 relations: [ "percona-cluster", "nrpe", ]
201
202 - name: nova-cloud-controller
203 relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", "nrpe", ]
204
205 - name: glance
206 relations: [ "percona-cluster", "keystone", "nrpe", ]
207
208 - name: neutron-api
209 relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", "nrpe", ]
210
211 - name: openstack-dashboard
212 relations: [ "keystone", "nrpe", ]
213
214 - name: nagios
215 relations: [ "nrpe", ]
216
217 - name: "percona-cluster:juju-info"
218 relations: [ "nrpe:general-info", ]
219
220 - name: rabbitmq-server
221 relations: [ "nrpe", ]
222
223 - name: ceilometer
224 relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ]
225
226 - name: "ceilometer:identity-service"
227 relations: [ "keystone:identity-service", ]
228
229 - name: "ceilometer:ceilometer-service"
230 relations: [ "ceilometer-agent:ceilometer-service", ]
231
232
233compute_relations:
234 - name: nova-compute
235 relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", "nagios", "nrpe", ]
236
237 - name: "nova-compute:shared-db"
238 relations: [ "percona-cluster:shared-db", ]
239
240 - name: "nova-compute:amqp"
241 relations: [ "rabbitmq-server:amqp", ]
242
243 - name: ntp
244 relations: [ "nova-compute", ]
245
246
247xos_images:
248 - name: "trusty-server-multi-nic"
249 url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img.20170201"
250 checksum: "sha256:ebf007ba3ec1043b7cd011fc6668e2a1d1d4c69c41071e8513ab355df7a057cb"
251
252 - name: "vsg-1.1"
253 url: "http://www.vicci.org/cord/vsg-1.1.img"
254 checksum: "sha256:16b0beb6778aed0f5feecb05f8d5750e6c262f98e6011e99ddadf7d46a177b6f"
255
256 - name: "ceilometer-trusty-server-multi-nic"
257 url: "http://www.vicci.org/cord/ceilometer-trusty-server-multi-nic.compressed.qcow2"
258 checksum: "sha256:b77ef8d692b640568dea13df99fe1dfcb1f4bb4ac05408db9ff77399b34f754f"
259
260 - name: "ceilometer-service-trusty-server-multi-nic"
261 url: "http://www.vicci.org/cord/ceilometer-service-trusty-server-multi-nic.compressed.qcow2.20170131"
262 checksum: "sha256:f0341e283f0f2cb8f70cd1a6347e0081c9c8492ef34eb6397c657ef824800d4f"