blob: d793dfe35230b85f2209087cc6a35f4c5087d12f [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
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080017# profile_manifests/ecord.yaml
Zack Williams3eca6472017-06-22 18:18:38 -070018# E-CORD Profile Manifest
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080019
Zack Williams3eca6472017-06-22 18:18:38 -070020# Site configuration
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080021site_name: mysite
22site_humanname: MySite
Zack Williams3eca6472017-06-22 18:18:38 -070023site_suffix: "{{ site_name }}.opencord.org"
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080024deployment_type: MyDeployment
25
Zack Williams3eca6472017-06-22 18:18:38 -070026# Feature toggles
Zack Williamsfe284a12017-07-01 11:00:04 -070027use_maas: True
28use_apt_cache: True
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080029
Zack Williams3eca6472017-06-22 18:18:38 -070030# XOS config
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080031xos_tosca_config_templates:
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080032 - vtn-service.yaml
33 - fabric-service.yaml
Andrea Campanella4f155c02017-05-02 17:44:10 -070034 - management-net.yaml
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080035 - ecord-services.yaml
Andrea Campanella4f155c02017-05-02 17:44:10 -070036 - public-net.yaml
37 - vee-service.yaml
Matteo Scandoloae45a2f2017-06-27 14:14:19 -070038 - xos-gui-extensions.yml
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080039
40xos_other_templates:
41 - fabric-network-cfg.json
42
Andrea Campanella4f155c02017-05-02 17:44:10 -070043# GUI Config [new GUI]
44gui_project_name: "E-CORD"
45gui_background: "cord-bg.jpg" # TODO find ecord image
46gui_payoff: "Your Enterprise VNF orchestrator"
47
Andrea Campanella4f155c02017-05-02 17:44:10 -070048enabled_gui_extensions: []
49
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080050# paths defined in manifest/default.xml
51xos_services:
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080052 - name: openstack
53 path: orchestration/xos_services/openstack
54 - name: onos
55 path: orchestration/xos_services/onos-service
Andy Bavier9e7d54a2017-04-17 11:37:02 -040056 keypair: onos_rsa
Andrea Campanellabd56e782017-02-23 15:43:21 +010057 - name: vtn
Andy Baviera4638cb2017-08-30 16:02:49 -070058 path: orchestration/xos_services/vtn-service
Andrea Campanellabd56e782017-02-23 15:43:21 +010059 - name: fabric
60 path: orchestration/xos_services/fabric
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080061 - name: vrouter
62 path: orchestration/xos_services/vrouter
63 - name: veg
64 path: orchestration/xos_services/vEG
Andy Bavier9e7d54a2017-04-17 11:37:02 -040065 keypair: veg_rsa
Andrea Campanellabd56e782017-02-23 15:43:21 +010066 - name: vnodlocal
67 path: orchestration/xos_services/metronet-local
68 - name: vee
69 path: orchestration/xos_services/vEE
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080070
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080071# SSL server certificate generation
72server_certs:
73 - cn: "keystone.{{ site_suffix }}"
74 subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=keystone.{{ site_suffix }}"
75 altnames:
76 - "DNS:keystone.{{ site_suffix }}"
77 - "DNS:keystone"
78 - cn: "xos-core.{{ site_suffix }}"
79 subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=xos-core.{{ site_suffix }}"
80 altnames:
81 - "DNS:xos-core.{{ site_suffix }}"
82
Zack Williams3eca6472017-06-22 18:18:38 -070083# Network/DNS settings
Zack Williamsbf43d752017-07-01 15:27:11 -070084headnode: head1
85
Zack Williams3eca6472017-06-22 18:18:38 -070086dns_search:
87 - "{{ site_suffix }}"
88
89mgmt_ipv4_first_octets: "192.168.200"
90
91dns_servers:
92 - "{{ mgmt_ipv4_first_octets }}.1"
93
94# DNS settings for NSD/Unbound
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080095nsd_zones:
96 - name: "{{ site_suffix }}"
Zack Williams3eca6472017-06-22 18:18:38 -070097 ipv4_first_octets: "{{ mgmt_ipv4_first_octets }}"
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080098 name_reverse_unbound: "168.192.in-addr.arpa"
99 soa: ns1
100 ns:
101 - { name: ns1 }
Zack Williams3eca6472017-06-22 18:18:38 -0700102 nodelists:
103 - head_lxd_list
Zack Williamsbf43d752017-07-01 15:27:11 -0700104 - physical_node_list
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800105 aliases:
Zack Williamsbf43d752017-07-01 15:27:11 -0700106 - { name: "apt-cache", dest: "{{ headnode }}" }
107 - { name: "cordloghost", dest: "{{ headnode }}" }
108 - { name: "docker", dest: "{{ headnode }}" }
109 - { name: "ns", dest: "{{ headnode }}" }
110 - { name: "ns1", dest: "{{ headnode }}" }
111 - { name: "onos-cord", dest: "{{ headnode }}" }
112 - { name: "xos", dest: "{{ headnode }}" }
113 - { name: "xos-chameleon", dest: "{{ headnode }}" }
114 - { name: "xos-rest-gw", dest: "{{ headnode }}" }
115 - { name: "xos-gui", dest: "{{ headnode }}" }
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800116
Zack Williams3eca6472017-06-22 18:18:38 -0700117unbound_listen_all: True
118
119unbound_interfaces:
120 - "{{ mgmt_ipv4_first_octets }}.1/24"
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800121
Zack Williamsbf43d752017-07-01 15:27:11 -0700122
123physical_node_list:
124 - name: head1
125 ipv4_last_octet: 1
126 aliases:
127 - head
128
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800129# VTN network configuration
130management_network_cidr: 172.27.0.0/24
131management_network_ip: 172.27.0.1/24
132data_plane_ip: 10.168.0.253/24
133
Zack Williams3eca6472017-06-22 18:18:38 -0700134# Juju config
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800135charm_versions:
136 ceilometer: "cs:trusty/ceilometer-17"
137 ceilometer-agent: "cs:trusty/ceilometer-agent-13"
138 glance: "cs:trusty/glance-28"
Kailash Khalasic725e062017-08-31 09:42:40 -0700139 keystone: "cs:trusty/keystone-267"
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800140 mongodb: "cs:trusty/mongodb-33"
141 percona-cluster: "cs:trusty/percona-cluster-31"
142 nagios: "cs:trusty/nagios-10"
Andy Bavier9b3e00c2017-07-27 14:45:17 -0700143 neutron-api: "cs:~cordteam/trusty/neutron-api-6"
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800144 nova-cloud-controller: "cs:trusty/nova-cloud-controller-64"
Andy Bavier7bf1b372017-08-08 12:37:33 -0700145 nova-compute: "cs:~cordteam/trusty/nova-compute-3"
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800146 nrpe: "cs:trusty/nrpe-4"
147 ntp: "cs:trusty/ntp-14"
148 openstack-dashboard: "cs:trusty/openstack-dashboard-19"
149 rabbitmq-server: "cs:trusty/rabbitmq-server-42"
150
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800151head_lxd_list:
152 - name: "juju-1"
153 service: "juju"
154 aliases:
155 - "juju"
156 ipv4_last_octet: 10
157
158 - name: "ceilometer-1"
159 service: "ceilometer"
160 aliases:
161 - "ceilometer"
162 ipv4_last_octet: 20
163 forwarded_ports:
164 - { ext: 8777, int: 8777 }
165
166 - name: "glance-1"
167 service: "glance"
168 aliases:
169 - "glance"
170 ipv4_last_octet: 30
171 forwarded_ports:
172 - { ext: 9292, int: 9292 }
173
174 - name: "keystone-1"
175 service: "keystone"
176 aliases:
177 - "keystone"
178 ipv4_last_octet: 40
179 forwarded_ports:
180 - { ext: 35357, int: 35357 }
181 - { ext: 4990, int: 4990 }
182 - { ext: 5000, int: 5000 }
183
184 - name: "percona-cluster-1"
185 service: "percona-cluster"
186 aliases:
187 - "percona-cluster"
188 ipv4_last_octet: 50
189
190 - name: "nagios-1"
191 service: "nagios"
192 aliases:
193 - "nagios"
194 ipv4_last_octet: 60
195 forwarded_ports:
196 - { ext: 3128, int: 80 }
197
198 - name: "neutron-api-1"
199 service: "neutron-api"
200 aliases:
201 - "neutron-api"
202 ipv4_last_octet: 70
203 forwarded_ports:
204 - { ext: 9696, int: 9696 }
205
206 - name: "nova-cloud-controller-1"
207 service: "nova-cloud-controller"
208 aliases:
209 - "nova-cloud-controller"
210 ipv4_last_octet: 80
211 forwarded_ports:
212 - { ext: 8774, int: 8774 }
213
214 - name: "openstack-dashboard-1"
215 service: "openstack-dashboard"
216 aliases:
217 - "openstack-dashboard"
218 ipv4_last_octet: 90
219 forwarded_ports:
220 - { ext: 8080, int: 80 }
221
222 - name: "rabbitmq-server-1"
223 service: "rabbitmq-server"
224 aliases:
225 - "rabbitmq-server"
226 ipv4_last_octet: 100
227
228 - name: "mongodb-1"
229 service: "mongodb"
230 aliases:
231 - "mongodb"
232 ipv4_last_octet: 110
233
234lxd_service_list:
235 - ceilometer
236 - glance
237 - keystone
238 - mongodb
239 - nagios
240 - neutron-api
241 - nova-cloud-controller
242 - openstack-dashboard
243 - percona-cluster
244 - rabbitmq-server
245
246standalone_service_list:
247 - ntp
248 - nrpe
249 - ceilometer-agent
250
251
252service_relations:
253 - name: keystone
254 relations: [ "percona-cluster", "nrpe", ]
255
256 - name: nova-cloud-controller
257 relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", "nrpe", ]
258
259 - name: glance
260 relations: [ "percona-cluster", "keystone", "nrpe", ]
261
262 - name: neutron-api
263 relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", "nrpe", ]
264
265 - name: openstack-dashboard
266 relations: [ "keystone", "nrpe", ]
267
268 - name: nagios
269 relations: [ "nrpe", ]
270
271 - name: "percona-cluster:juju-info"
272 relations: [ "nrpe:general-info", ]
273
274 - name: rabbitmq-server
275 relations: [ "nrpe", ]
276
277 - name: ceilometer
278 relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ]
279
280 - name: "ceilometer:identity-service"
281 relations: [ "keystone:identity-service", ]
282
283 - name: "ceilometer:ceilometer-service"
284 relations: [ "ceilometer-agent:ceilometer-service", ]
285
286
287compute_relations:
288 - name: nova-compute
289 relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", "nagios", "nrpe", ]
290
291 - name: "nova-compute:shared-db"
292 relations: [ "percona-cluster:shared-db", ]
293
294 - name: "nova-compute:amqp"
295 relations: [ "rabbitmq-server:amqp", ]
296
297 - name: ntp
298 relations: [ "nova-compute", ]
299
300
301xos_images:
302 - name: "trusty-server-multi-nic"
303 url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img.20170201"
304 checksum: "sha256:ebf007ba3ec1043b7cd011fc6668e2a1d1d4c69c41071e8513ab355df7a057cb"
305
306 - name: "vsg-1.1"
307 url: "http://www.vicci.org/cord/vsg-1.1.img"
308 checksum: "sha256:16b0beb6778aed0f5feecb05f8d5750e6c262f98e6011e99ddadf7d46a177b6f"
309
310 - name: "ceilometer-trusty-server-multi-nic"
311 url: "http://www.vicci.org/cord/ceilometer-trusty-server-multi-nic.compressed.qcow2"
312 checksum: "sha256:b77ef8d692b640568dea13df99fe1dfcb1f4bb4ac05408db9ff77399b34f754f"
313
314 - name: "ceilometer-service-trusty-server-multi-nic"
315 url: "http://www.vicci.org/cord/ceilometer-service-trusty-server-multi-nic.compressed.qcow2.20170131"
316 checksum: "sha256:f0341e283f0f2cb8f70cd1a6347e0081c9c8492ef34eb6397c657ef824800d4f"