blob: 4053e811032df28724c56376cac3545959e34369 [file] [log] [blame]
Matteo Scandolo3896c472017-08-01 13:31:42 -07001
2# Copyright 2017-present Open Networking Foundation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080017---
18# profile_manifests/ecord.yaml
Zack Williams3eca6472017-06-22 18:18:38 -070019# E-CORD Profile Manifest
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080020
Zack Williams3eca6472017-06-22 18:18:38 -070021# Site configuration
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080022site_name: mysite
23site_humanname: MySite
Zack Williams3eca6472017-06-22 18:18:38 -070024site_suffix: "{{ site_name }}.opencord.org"
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080025deployment_type: MyDeployment
26
Zack Williams3eca6472017-06-22 18:18:38 -070027# Feature toggles
Zack Williamsfe284a12017-07-01 11:00:04 -070028use_maas: True
29use_apt_cache: True
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080030
Zack Williams3eca6472017-06-22 18:18:38 -070031# XOS config
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080032xos_tosca_config_templates:
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080033 - vtn-service.yaml
34 - fabric-service.yaml
Andrea Campanella4f155c02017-05-02 17:44:10 -070035 - management-net.yaml
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080036 - ecord-services.yaml
Andrea Campanella4f155c02017-05-02 17:44:10 -070037 - public-net.yaml
38 - vee-service.yaml
Matteo Scandoloae45a2f2017-06-27 14:14:19 -070039 - xos-gui-extensions.yml
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080040
41xos_other_templates:
42 - fabric-network-cfg.json
43
Andrea Campanella4f155c02017-05-02 17:44:10 -070044# GUI Config [new GUI]
45gui_project_name: "E-CORD"
46gui_background: "cord-bg.jpg" # TODO find ecord image
47gui_payoff: "Your Enterprise VNF orchestrator"
48
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080049# GUI branding
50gui_branding_name: "ECORD"
51gui_branding_icon: "/static/cord-logo.png"
52gui_branding_favicon: "/static/cord-favicon.png"
53gui_branding_bg: "/static/cord-bg.jpg"
54
Andrea Campanella4f155c02017-05-02 17:44:10 -070055enabled_gui_extensions: []
56
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080057# paths defined in manifest/default.xml
58xos_services:
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080059 - name: openstack
60 path: orchestration/xos_services/openstack
61 - name: onos
62 path: orchestration/xos_services/onos-service
Andy Bavier9e7d54a2017-04-17 11:37:02 -040063 keypair: onos_rsa
Andrea Campanellabd56e782017-02-23 15:43:21 +010064 - name: vtn
Andy Baviera4638cb2017-08-30 16:02:49 -070065 path: orchestration/xos_services/vtn-service
Andrea Campanellabd56e782017-02-23 15:43:21 +010066 - name: fabric
67 path: orchestration/xos_services/fabric
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080068 - name: vrouter
69 path: orchestration/xos_services/vrouter
70 - name: veg
71 path: orchestration/xos_services/vEG
Andy Bavier9e7d54a2017-04-17 11:37:02 -040072 keypair: veg_rsa
Andrea Campanellabd56e782017-02-23 15:43:21 +010073 - name: vnodlocal
74 path: orchestration/xos_services/metronet-local
75 - name: vee
76 path: orchestration/xos_services/vEE
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080077
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080078# SSL server certificate generation
79server_certs:
80 - cn: "keystone.{{ site_suffix }}"
81 subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=keystone.{{ site_suffix }}"
82 altnames:
83 - "DNS:keystone.{{ site_suffix }}"
84 - "DNS:keystone"
85 - cn: "xos-core.{{ site_suffix }}"
86 subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=xos-core.{{ site_suffix }}"
87 altnames:
88 - "DNS:xos-core.{{ site_suffix }}"
89
Zack Williams3eca6472017-06-22 18:18:38 -070090# Network/DNS settings
Zack Williamsbf43d752017-07-01 15:27:11 -070091headnode: head1
92
Zack Williams3eca6472017-06-22 18:18:38 -070093dns_search:
94 - "{{ site_suffix }}"
95
96mgmt_ipv4_first_octets: "192.168.200"
97
98dns_servers:
99 - "{{ mgmt_ipv4_first_octets }}.1"
100
101# DNS settings for NSD/Unbound
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800102nsd_zones:
103 - name: "{{ site_suffix }}"
Zack Williams3eca6472017-06-22 18:18:38 -0700104 ipv4_first_octets: "{{ mgmt_ipv4_first_octets }}"
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800105 name_reverse_unbound: "168.192.in-addr.arpa"
106 soa: ns1
107 ns:
108 - { name: ns1 }
Zack Williams3eca6472017-06-22 18:18:38 -0700109 nodelists:
110 - head_lxd_list
Zack Williamsbf43d752017-07-01 15:27:11 -0700111 - physical_node_list
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800112 aliases:
Zack Williamsbf43d752017-07-01 15:27:11 -0700113 - { name: "apt-cache", dest: "{{ headnode }}" }
114 - { name: "cordloghost", dest: "{{ headnode }}" }
115 - { name: "docker", dest: "{{ headnode }}" }
116 - { name: "ns", dest: "{{ headnode }}" }
117 - { name: "ns1", dest: "{{ headnode }}" }
118 - { name: "onos-cord", dest: "{{ headnode }}" }
119 - { name: "xos", dest: "{{ headnode }}" }
120 - { name: "xos-chameleon", dest: "{{ headnode }}" }
121 - { name: "xos-rest-gw", dest: "{{ headnode }}" }
122 - { name: "xos-gui", dest: "{{ headnode }}" }
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800123
Zack Williams3eca6472017-06-22 18:18:38 -0700124unbound_listen_all: True
125
126unbound_interfaces:
127 - "{{ mgmt_ipv4_first_octets }}.1/24"
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800128
Zack Williamsbf43d752017-07-01 15:27:11 -0700129
130physical_node_list:
131 - name: head1
132 ipv4_last_octet: 1
133 aliases:
134 - head
135
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800136# VTN network configuration
137management_network_cidr: 172.27.0.0/24
138management_network_ip: 172.27.0.1/24
139data_plane_ip: 10.168.0.253/24
140
Zack Williams3eca6472017-06-22 18:18:38 -0700141# Juju config
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800142charm_versions:
143 ceilometer: "cs:trusty/ceilometer-17"
144 ceilometer-agent: "cs:trusty/ceilometer-agent-13"
145 glance: "cs:trusty/glance-28"
Kailash Khalasic725e062017-08-31 09:42:40 -0700146 keystone: "cs:trusty/keystone-267"
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800147 mongodb: "cs:trusty/mongodb-33"
148 percona-cluster: "cs:trusty/percona-cluster-31"
149 nagios: "cs:trusty/nagios-10"
Andy Bavier9b3e00c2017-07-27 14:45:17 -0700150 neutron-api: "cs:~cordteam/trusty/neutron-api-6"
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800151 nova-cloud-controller: "cs:trusty/nova-cloud-controller-64"
Andy Bavier7bf1b372017-08-08 12:37:33 -0700152 nova-compute: "cs:~cordteam/trusty/nova-compute-3"
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800153 nrpe: "cs:trusty/nrpe-4"
154 ntp: "cs:trusty/ntp-14"
155 openstack-dashboard: "cs:trusty/openstack-dashboard-19"
156 rabbitmq-server: "cs:trusty/rabbitmq-server-42"
157
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800158head_lxd_list:
159 - name: "juju-1"
160 service: "juju"
161 aliases:
162 - "juju"
163 ipv4_last_octet: 10
164
165 - name: "ceilometer-1"
166 service: "ceilometer"
167 aliases:
168 - "ceilometer"
169 ipv4_last_octet: 20
170 forwarded_ports:
171 - { ext: 8777, int: 8777 }
172
173 - name: "glance-1"
174 service: "glance"
175 aliases:
176 - "glance"
177 ipv4_last_octet: 30
178 forwarded_ports:
179 - { ext: 9292, int: 9292 }
180
181 - name: "keystone-1"
182 service: "keystone"
183 aliases:
184 - "keystone"
185 ipv4_last_octet: 40
186 forwarded_ports:
187 - { ext: 35357, int: 35357 }
188 - { ext: 4990, int: 4990 }
189 - { ext: 5000, int: 5000 }
190
191 - name: "percona-cluster-1"
192 service: "percona-cluster"
193 aliases:
194 - "percona-cluster"
195 ipv4_last_octet: 50
196
197 - name: "nagios-1"
198 service: "nagios"
199 aliases:
200 - "nagios"
201 ipv4_last_octet: 60
202 forwarded_ports:
203 - { ext: 3128, int: 80 }
204
205 - name: "neutron-api-1"
206 service: "neutron-api"
207 aliases:
208 - "neutron-api"
209 ipv4_last_octet: 70
210 forwarded_ports:
211 - { ext: 9696, int: 9696 }
212
213 - name: "nova-cloud-controller-1"
214 service: "nova-cloud-controller"
215 aliases:
216 - "nova-cloud-controller"
217 ipv4_last_octet: 80
218 forwarded_ports:
219 - { ext: 8774, int: 8774 }
220
221 - name: "openstack-dashboard-1"
222 service: "openstack-dashboard"
223 aliases:
224 - "openstack-dashboard"
225 ipv4_last_octet: 90
226 forwarded_ports:
227 - { ext: 8080, int: 80 }
228
229 - name: "rabbitmq-server-1"
230 service: "rabbitmq-server"
231 aliases:
232 - "rabbitmq-server"
233 ipv4_last_octet: 100
234
235 - name: "mongodb-1"
236 service: "mongodb"
237 aliases:
238 - "mongodb"
239 ipv4_last_octet: 110
240
241lxd_service_list:
242 - ceilometer
243 - glance
244 - keystone
245 - mongodb
246 - nagios
247 - neutron-api
248 - nova-cloud-controller
249 - openstack-dashboard
250 - percona-cluster
251 - rabbitmq-server
252
253standalone_service_list:
254 - ntp
255 - nrpe
256 - ceilometer-agent
257
258
259service_relations:
260 - name: keystone
261 relations: [ "percona-cluster", "nrpe", ]
262
263 - name: nova-cloud-controller
264 relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", "nrpe", ]
265
266 - name: glance
267 relations: [ "percona-cluster", "keystone", "nrpe", ]
268
269 - name: neutron-api
270 relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", "nrpe", ]
271
272 - name: openstack-dashboard
273 relations: [ "keystone", "nrpe", ]
274
275 - name: nagios
276 relations: [ "nrpe", ]
277
278 - name: "percona-cluster:juju-info"
279 relations: [ "nrpe:general-info", ]
280
281 - name: rabbitmq-server
282 relations: [ "nrpe", ]
283
284 - name: ceilometer
285 relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ]
286
287 - name: "ceilometer:identity-service"
288 relations: [ "keystone:identity-service", ]
289
290 - name: "ceilometer:ceilometer-service"
291 relations: [ "ceilometer-agent:ceilometer-service", ]
292
293
294compute_relations:
295 - name: nova-compute
296 relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", "nagios", "nrpe", ]
297
298 - name: "nova-compute:shared-db"
299 relations: [ "percona-cluster:shared-db", ]
300
301 - name: "nova-compute:amqp"
302 relations: [ "rabbitmq-server:amqp", ]
303
304 - name: ntp
305 relations: [ "nova-compute", ]
306
307
308xos_images:
309 - name: "trusty-server-multi-nic"
310 url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img.20170201"
311 checksum: "sha256:ebf007ba3ec1043b7cd011fc6668e2a1d1d4c69c41071e8513ab355df7a057cb"
312
313 - name: "vsg-1.1"
314 url: "http://www.vicci.org/cord/vsg-1.1.img"
315 checksum: "sha256:16b0beb6778aed0f5feecb05f8d5750e6c262f98e6011e99ddadf7d46a177b6f"
316
317 - name: "ceilometer-trusty-server-multi-nic"
318 url: "http://www.vicci.org/cord/ceilometer-trusty-server-multi-nic.compressed.qcow2"
319 checksum: "sha256:b77ef8d692b640568dea13df99fe1dfcb1f4bb4ac05408db9ff77399b34f754f"
320
321 - name: "ceilometer-service-trusty-server-multi-nic"
322 url: "http://www.vicci.org/cord/ceilometer-service-trusty-server-multi-nic.compressed.qcow2.20170131"
323 checksum: "sha256:f0341e283f0f2cb8f70cd1a6347e0081c9c8492ef34eb6397c657ef824800d4f"