blob: f227c0a2ddc15f218b633c963c67bf450649f6ef [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
Zack Williams3eca6472017-06-22 18:18:38 -070024site_suffix: "{{ site_name }}.cord.lab"
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 Campanella4ef48392017-05-16 10:07:05 -070033 - vtn-service.yaml
34 - fabric-service.yaml
Andrea Campanella4f155c02017-05-02 17:44:10 -070035 - vnodglobal-service.yaml
Matteo Scandoloae45a2f2017-06-27 14:14:19 -070036 - xos-gui-extensions.yml
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080037
Andrea Campanella4ef48392017-05-16 10:07:05 -070038xos_other_templates:
39 - fabric-network-cfg.json
40
Andrea Campanella4f155c02017-05-02 17:44:10 -070041# GUI Config [new GUI]
42gui_project_name: "E-CORD"
43gui_background: "cord-bg.jpg" # TODO find ecord image
44gui_payoff: "Your Enterprise VNF orchestrator"
45
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080046# GUI branding
47gui_branding_name: "ECORD"
48gui_branding_icon: "/static/cord-logo.png"
49gui_branding_favicon: "/static/cord-favicon.png"
50gui_branding_bg: "/static/cord-bg.jpg"
51
Andrea Campanella4f155c02017-05-02 17:44:10 -070052enabled_gui_extensions: []
53
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080054# paths defined in manifest/default.xml
55xos_services:
56 - name: vtn
57 path: onos-apps/apps/vtn
58 - name: openstack
59 path: orchestration/xos_services/openstack
Andrea Campanella4ef48392017-05-16 10:07:05 -070060 - name: fabric
61 path: orchestration/xos_services/fabric
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080062 - name: onos
63 path: orchestration/xos_services/onos-service
Max Chufd2274b2017-07-11 13:11:30 -070064 - name: metro-net
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080065 path: orchestration/xos_services/metro-net
66
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080067# SSL server certificate generation
68server_certs:
69 - cn: "keystone.{{ site_suffix }}"
70 subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=keystone.{{ site_suffix }}"
71 altnames:
72 - "DNS:keystone.{{ site_suffix }}"
73 - "DNS:keystone"
74 - cn: "xos-core.{{ site_suffix }}"
75 subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=xos-core.{{ site_suffix }}"
76 altnames:
77 - "DNS:xos-core.{{ site_suffix }}"
78
Zack Williams3eca6472017-06-22 18:18:38 -070079# Network/DNS settings
80dns_search:
81 - "{{ site_suffix }}"
82
83mgmt_ipv4_first_octets: "192.168.200"
84
85dns_servers:
86 - "{{ mgmt_ipv4_first_octets }}.1"
87
88# DNS settings for NSD/Unbound
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080089nsd_zones:
90 - name: "{{ site_suffix }}"
Zack Williams3eca6472017-06-22 18:18:38 -070091 ipv4_first_octets: "{{ mgmt_ipv4_first_octets }}"
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080092 name_reverse_unbound: "168.192.in-addr.arpa"
93 soa: ns1
94 ns:
95 - { name: ns1 }
Zack Williams3eca6472017-06-22 18:18:38 -070096 nodelists:
97 - head_lxd_list
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080098 aliases:
Zack Williams3eca6472017-06-22 18:18:38 -070099 - { name: "apt-cache", dest: "head1" }
100 - { name: "cordloghost", dest: "head1" }
101 - { name: "docker", dest: "head1" }
102 - { name: "ns", dest: "head1" }
103 - { name: "ns1", dest: "head1" }
104 - { name: "onos-cord", dest: "head1" }
105 - { name: "xos", dest: "head1" }
106 - { name: "xos-chameleon", dest: "head1" }
107 - { name: "xos-rest-gw", dest: "head1" }
108 - { name: "xos-spa-gui", dest: "head1" }
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800109
Zack Williams3eca6472017-06-22 18:18:38 -0700110unbound_listen_all: True
111
112unbound_interfaces:
113 - "{{ mgmt_ipv4_first_octets }}.1/24"
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800114
Andrea Campanella4ef48392017-05-16 10:07:05 -0700115# VTN network configuration
116management_network_cidr: 172.27.0.0/24
117management_network_ip: 172.27.0.1/24
118data_plane_ip: 10.168.0.253/24
119
Zack Williams3eca6472017-06-22 18:18:38 -0700120# Juju config
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800121charm_versions:
122 ceilometer: "cs:trusty/ceilometer-17"
123 ceilometer-agent: "cs:trusty/ceilometer-agent-13"
124 glance: "cs:trusty/glance-28"
125 keystone: "cs:trusty/keystone-33"
126 mongodb: "cs:trusty/mongodb-33"
127 percona-cluster: "cs:trusty/percona-cluster-31"
128 nagios: "cs:trusty/nagios-10"
Andy Bavier9b3e00c2017-07-27 14:45:17 -0700129 neutron-api: "cs:~cordteam/trusty/neutron-api-6"
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800130 nova-cloud-controller: "cs:trusty/nova-cloud-controller-64"
Andy Bavier7bf1b372017-08-08 12:37:33 -0700131 nova-compute: "cs:~cordteam/trusty/nova-compute-3"
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800132 nrpe: "cs:trusty/nrpe-4"
133 ntp: "cs:trusty/ntp-14"
134 openstack-dashboard: "cs:trusty/openstack-dashboard-19"
135 rabbitmq-server: "cs:trusty/rabbitmq-server-42"
136
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800137
138head_lxd_list:
139 - name: "juju-1"
140 service: "juju"
141 aliases:
142 - "juju"
143 ipv4_last_octet: 10
144
145 - name: "ceilometer-1"
146 service: "ceilometer"
147 aliases:
148 - "ceilometer"
149 ipv4_last_octet: 20
150 forwarded_ports:
151 - { ext: 8777, int: 8777 }
152
153 - name: "glance-1"
154 service: "glance"
155 aliases:
156 - "glance"
157 ipv4_last_octet: 30
158 forwarded_ports:
159 - { ext: 9292, int: 9292 }
160
161 - name: "keystone-1"
162 service: "keystone"
163 aliases:
164 - "keystone"
165 ipv4_last_octet: 40
166 forwarded_ports:
167 - { ext: 35357, int: 35357 }
168 - { ext: 4990, int: 4990 }
169 - { ext: 5000, int: 5000 }
170
171 - name: "percona-cluster-1"
172 service: "percona-cluster"
173 aliases:
174 - "percona-cluster"
175 ipv4_last_octet: 50
176
177 - name: "nagios-1"
178 service: "nagios"
179 aliases:
180 - "nagios"
181 ipv4_last_octet: 60
182 forwarded_ports:
183 - { ext: 3128, int: 80 }
184
185 - name: "neutron-api-1"
186 service: "neutron-api"
187 aliases:
188 - "neutron-api"
189 ipv4_last_octet: 70
190 forwarded_ports:
191 - { ext: 9696, int: 9696 }
192
193 - name: "nova-cloud-controller-1"
194 service: "nova-cloud-controller"
195 aliases:
196 - "nova-cloud-controller"
197 ipv4_last_octet: 80
198 forwarded_ports:
199 - { ext: 8774, int: 8774 }
200
201 - name: "openstack-dashboard-1"
202 service: "openstack-dashboard"
203 aliases:
204 - "openstack-dashboard"
205 ipv4_last_octet: 90
206 forwarded_ports:
207 - { ext: 8080, int: 80 }
208
209 - name: "rabbitmq-server-1"
210 service: "rabbitmq-server"
211 aliases:
212 - "rabbitmq-server"
213 ipv4_last_octet: 100
214
215 - name: "mongodb-1"
216 service: "mongodb"
217 aliases:
218 - "mongodb"
219 ipv4_last_octet: 110
220
221lxd_service_list:
222 - ceilometer
223 - glance
224 - keystone
225 - mongodb
226 - nagios
227 - neutron-api
228 - nova-cloud-controller
229 - openstack-dashboard
230 - percona-cluster
231 - rabbitmq-server
232
Zack Williams3eca6472017-06-22 18:18:38 -0700233
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800234standalone_service_list:
235 - ntp
236 - nrpe
237 - ceilometer-agent
238
239
240service_relations:
241 - name: keystone
242 relations: [ "percona-cluster", "nrpe", ]
243
244 - name: nova-cloud-controller
245 relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", "nrpe", ]
246
247 - name: glance
248 relations: [ "percona-cluster", "keystone", "nrpe", ]
249
250 - name: neutron-api
251 relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", "nrpe", ]
252
253 - name: openstack-dashboard
254 relations: [ "keystone", "nrpe", ]
255
256 - name: nagios
257 relations: [ "nrpe", ]
258
259 - name: "percona-cluster:juju-info"
260 relations: [ "nrpe:general-info", ]
261
262 - name: rabbitmq-server
263 relations: [ "nrpe", ]
264
265 - name: ceilometer
266 relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ]
267
268 - name: "ceilometer:identity-service"
269 relations: [ "keystone:identity-service", ]
270
271 - name: "ceilometer:ceilometer-service"
272 relations: [ "ceilometer-agent:ceilometer-service", ]
273
274
275compute_relations:
276 - name: nova-compute
277 relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", "nagios", "nrpe", ]
278
279 - name: "nova-compute:shared-db"
280 relations: [ "percona-cluster:shared-db", ]
281
282 - name: "nova-compute:amqp"
283 relations: [ "rabbitmq-server:amqp", ]
284
285 - name: ntp
286 relations: [ "nova-compute", ]
287
288
289xos_images:
290 - name: "trusty-server-multi-nic"
291 url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img.20170201"
292 checksum: "sha256:ebf007ba3ec1043b7cd011fc6668e2a1d1d4c69c41071e8513ab355df7a057cb"
293
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800294 - name: "ceilometer-trusty-server-multi-nic"
295 url: "http://www.vicci.org/cord/ceilometer-trusty-server-multi-nic.compressed.qcow2"
296 checksum: "sha256:b77ef8d692b640568dea13df99fe1dfcb1f4bb4ac05408db9ff77399b34f754f"
297
298 - name: "ceilometer-service-trusty-server-multi-nic"
299 url: "http://www.vicci.org/cord/ceilometer-service-trusty-server-multi-nic.compressed.qcow2.20170131"
300 checksum: "sha256:f0341e283f0f2cb8f70cd1a6347e0081c9c8492ef34eb6397c657ef824800d4f"