blob: 9071ca0f7d295f33b2bde0a220f1e09dd5dedecd [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---
Zack Williams3eca6472017-06-22 18:18:38 -070018# profile_manifests/ecord-global.yml
19# 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
Max Chu733504d2017-08-18 15:04:53 -070024# site_suffix: "{{ site_name }}.cord.lab"
25site_suffix: "cord.lab"
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080026deployment_type: MyDeployment
27
Zack Williams3eca6472017-06-22 18:18:38 -070028# Feature toggles
Zack Williamsfe284a12017-07-01 11:00:04 -070029use_maas: True
30use_apt_cache: True
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080031
Zack Williams3eca6472017-06-22 18:18:38 -070032# XOS config
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080033xos_tosca_config_templates:
Andrea Campanella4ef48392017-05-16 10:07:05 -070034 - vtn-service.yaml
35 - fabric-service.yaml
Andrea Campanella4f155c02017-05-02 17:44:10 -070036 - vnodglobal-service.yaml
Matteo Scandoloae45a2f2017-06-27 14:14:19 -070037 - xos-gui-extensions.yml
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080038
Andrea Campanella4ef48392017-05-16 10:07:05 -070039xos_other_templates:
40 - fabric-network-cfg.json
41
Andrea Campanella4f155c02017-05-02 17:44:10 -070042# GUI Config [new GUI]
43gui_project_name: "E-CORD"
44gui_background: "cord-bg.jpg" # TODO find ecord image
45gui_payoff: "Your Enterprise VNF orchestrator"
46
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080047# GUI branding
48gui_branding_name: "ECORD"
49gui_branding_icon: "/static/cord-logo.png"
50gui_branding_favicon: "/static/cord-favicon.png"
51gui_branding_bg: "/static/cord-bg.jpg"
52
Andrea Campanella4f155c02017-05-02 17:44:10 -070053enabled_gui_extensions: []
54
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080055# paths defined in manifest/default.xml
56xos_services:
57 - name: vtn
58 path: onos-apps/apps/vtn
59 - name: openstack
60 path: orchestration/xos_services/openstack
Andrea Campanella4ef48392017-05-16 10:07:05 -070061 - name: fabric
62 path: orchestration/xos_services/fabric
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080063 - name: onos
64 path: orchestration/xos_services/onos-service
Max Chufd2274b2017-07-11 13:11:30 -070065 - name: metro-net
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080066 path: orchestration/xos_services/metro-net
67
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080068# SSL server certificate generation
69server_certs:
70 - cn: "keystone.{{ site_suffix }}"
71 subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=keystone.{{ site_suffix }}"
72 altnames:
73 - "DNS:keystone.{{ site_suffix }}"
74 - "DNS:keystone"
75 - cn: "xos-core.{{ site_suffix }}"
76 subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=xos-core.{{ site_suffix }}"
77 altnames:
78 - "DNS:xos-core.{{ site_suffix }}"
79
Zack Williams3eca6472017-06-22 18:18:38 -070080# Network/DNS settings
81dns_search:
82 - "{{ site_suffix }}"
83
84mgmt_ipv4_first_octets: "192.168.200"
85
86dns_servers:
87 - "{{ mgmt_ipv4_first_octets }}.1"
88
89# DNS settings for NSD/Unbound
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080090nsd_zones:
91 - name: "{{ site_suffix }}"
Zack Williams3eca6472017-06-22 18:18:38 -070092 ipv4_first_octets: "{{ mgmt_ipv4_first_octets }}"
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080093 name_reverse_unbound: "168.192.in-addr.arpa"
94 soa: ns1
95 ns:
96 - { name: ns1 }
Zack Williams3eca6472017-06-22 18:18:38 -070097 nodelists:
98 - head_lxd_list
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080099 aliases:
Zack Williams3eca6472017-06-22 18:18:38 -0700100 - { name: "apt-cache", dest: "head1" }
101 - { name: "cordloghost", dest: "head1" }
102 - { name: "docker", dest: "head1" }
103 - { name: "ns", dest: "head1" }
104 - { name: "ns1", dest: "head1" }
105 - { name: "onos-cord", dest: "head1" }
106 - { name: "xos", dest: "head1" }
107 - { name: "xos-chameleon", dest: "head1" }
108 - { name: "xos-rest-gw", dest: "head1" }
109 - { name: "xos-spa-gui", dest: "head1" }
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800110
Zack Williams3eca6472017-06-22 18:18:38 -0700111unbound_listen_all: True
112
113unbound_interfaces:
114 - "{{ mgmt_ipv4_first_octets }}.1/24"
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800115
Andrea Campanella4ef48392017-05-16 10:07:05 -0700116# VTN network configuration
117management_network_cidr: 172.27.0.0/24
118management_network_ip: 172.27.0.1/24
119data_plane_ip: 10.168.0.253/24
120
Zack Williams3eca6472017-06-22 18:18:38 -0700121# Juju config
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800122charm_versions:
123 ceilometer: "cs:trusty/ceilometer-17"
124 ceilometer-agent: "cs:trusty/ceilometer-agent-13"
125 glance: "cs:trusty/glance-28"
126 keystone: "cs:trusty/keystone-33"
127 mongodb: "cs:trusty/mongodb-33"
128 percona-cluster: "cs:trusty/percona-cluster-31"
129 nagios: "cs:trusty/nagios-10"
Andy Bavier9b3e00c2017-07-27 14:45:17 -0700130 neutron-api: "cs:~cordteam/trusty/neutron-api-6"
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800131 nova-cloud-controller: "cs:trusty/nova-cloud-controller-64"
Andy Bavier7bf1b372017-08-08 12:37:33 -0700132 nova-compute: "cs:~cordteam/trusty/nova-compute-3"
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800133 nrpe: "cs:trusty/nrpe-4"
134 ntp: "cs:trusty/ntp-14"
135 openstack-dashboard: "cs:trusty/openstack-dashboard-19"
136 rabbitmq-server: "cs:trusty/rabbitmq-server-42"
137
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800138
139head_lxd_list:
140 - name: "juju-1"
141 service: "juju"
142 aliases:
143 - "juju"
144 ipv4_last_octet: 10
145
146 - name: "ceilometer-1"
147 service: "ceilometer"
148 aliases:
149 - "ceilometer"
150 ipv4_last_octet: 20
151 forwarded_ports:
152 - { ext: 8777, int: 8777 }
153
154 - name: "glance-1"
155 service: "glance"
156 aliases:
157 - "glance"
158 ipv4_last_octet: 30
159 forwarded_ports:
160 - { ext: 9292, int: 9292 }
161
162 - name: "keystone-1"
163 service: "keystone"
164 aliases:
165 - "keystone"
166 ipv4_last_octet: 40
167 forwarded_ports:
168 - { ext: 35357, int: 35357 }
169 - { ext: 4990, int: 4990 }
170 - { ext: 5000, int: 5000 }
171
172 - name: "percona-cluster-1"
173 service: "percona-cluster"
174 aliases:
175 - "percona-cluster"
176 ipv4_last_octet: 50
177
178 - name: "nagios-1"
179 service: "nagios"
180 aliases:
181 - "nagios"
182 ipv4_last_octet: 60
183 forwarded_ports:
184 - { ext: 3128, int: 80 }
185
186 - name: "neutron-api-1"
187 service: "neutron-api"
188 aliases:
189 - "neutron-api"
190 ipv4_last_octet: 70
191 forwarded_ports:
192 - { ext: 9696, int: 9696 }
193
194 - name: "nova-cloud-controller-1"
195 service: "nova-cloud-controller"
196 aliases:
197 - "nova-cloud-controller"
198 ipv4_last_octet: 80
199 forwarded_ports:
200 - { ext: 8774, int: 8774 }
201
202 - name: "openstack-dashboard-1"
203 service: "openstack-dashboard"
204 aliases:
205 - "openstack-dashboard"
206 ipv4_last_octet: 90
207 forwarded_ports:
208 - { ext: 8080, int: 80 }
209
210 - name: "rabbitmq-server-1"
211 service: "rabbitmq-server"
212 aliases:
213 - "rabbitmq-server"
214 ipv4_last_octet: 100
215
216 - name: "mongodb-1"
217 service: "mongodb"
218 aliases:
219 - "mongodb"
220 ipv4_last_octet: 110
221
222lxd_service_list:
223 - ceilometer
224 - glance
225 - keystone
226 - mongodb
227 - nagios
228 - neutron-api
229 - nova-cloud-controller
230 - openstack-dashboard
231 - percona-cluster
232 - rabbitmq-server
233
Zack Williams3eca6472017-06-22 18:18:38 -0700234
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800235standalone_service_list:
236 - ntp
237 - nrpe
238 - ceilometer-agent
239
240
241service_relations:
242 - name: keystone
243 relations: [ "percona-cluster", "nrpe", ]
244
245 - name: nova-cloud-controller
246 relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", "nrpe", ]
247
248 - name: glance
249 relations: [ "percona-cluster", "keystone", "nrpe", ]
250
251 - name: neutron-api
252 relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", "nrpe", ]
253
254 - name: openstack-dashboard
255 relations: [ "keystone", "nrpe", ]
256
257 - name: nagios
258 relations: [ "nrpe", ]
259
260 - name: "percona-cluster:juju-info"
261 relations: [ "nrpe:general-info", ]
262
263 - name: rabbitmq-server
264 relations: [ "nrpe", ]
265
266 - name: ceilometer
267 relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ]
268
269 - name: "ceilometer:identity-service"
270 relations: [ "keystone:identity-service", ]
271
272 - name: "ceilometer:ceilometer-service"
273 relations: [ "ceilometer-agent:ceilometer-service", ]
274
275
276compute_relations:
277 - name: nova-compute
278 relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", "nagios", "nrpe", ]
279
280 - name: "nova-compute:shared-db"
281 relations: [ "percona-cluster:shared-db", ]
282
283 - name: "nova-compute:amqp"
284 relations: [ "rabbitmq-server:amqp", ]
285
286 - name: ntp
287 relations: [ "nova-compute", ]
288
289
290xos_images:
291 - name: "trusty-server-multi-nic"
292 url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img.20170201"
293 checksum: "sha256:ebf007ba3ec1043b7cd011fc6668e2a1d1d4c69c41071e8513ab355df7a057cb"
294
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800295 - name: "ceilometer-trusty-server-multi-nic"
296 url: "http://www.vicci.org/cord/ceilometer-trusty-server-multi-nic.compressed.qcow2"
297 checksum: "sha256:b77ef8d692b640568dea13df99fe1dfcb1f4bb4ac05408db9ff77399b34f754f"
298
299 - name: "ceilometer-service-trusty-server-multi-nic"
300 url: "http://www.vicci.org/cord/ceilometer-service-trusty-server-multi-nic.compressed.qcow2.20170131"
301 checksum: "sha256:f0341e283f0f2cb8f70cd1a6347e0081c9c8492ef34eb6397c657ef824800d4f"