blob: 6e6dbbb37ec30d1667e65249d5f06899bbce2694 [file] [log] [blame]
mcord3e589142017-05-24 16:05:07 -07001---
Zack Williams3eca6472017-06-22 18:18:38 -07002# profile_manifests/mcord.yml
mcord3e589142017-05-24 16:05:07 -07003# Configures an M-CORD pod
4
5# site configuration
6site_name: mysite
7site_humanname: MySite
Zack Williams3eca6472017-06-22 18:18:38 -07008site_suffix: "{{ site_name }}.opencord.org"
mcord3e589142017-05-24 16:05:07 -07009deployment_type: MyDeployment
10
Zack Williams3eca6472017-06-22 18:18:38 -070011# Feature toggles
Zack Williamsfe284a12017-07-01 11:00:04 -070012use_maas: True
13use_apt_cache: True
mcord3e589142017-05-24 16:05:07 -070014
Zack Williams3eca6472017-06-22 18:18:38 -070015# XOS config
mcord3e589142017-05-24 16:05:07 -070016xos_tosca_config_templates:
mcord3e589142017-05-24 16:05:07 -070017 - vtn-service.yaml
18 - fabric-service.yaml
19 - management-net.yaml
Matteo Scandoloae45a2f2017-06-27 14:14:19 -070020 - xos-gui-extensions.yml
mcord3e589142017-05-24 16:05:07 -070021# - mcord-services.yaml # should unify this with services.yaml.j2 eventually
22# - public-net.yaml
23# - volt-devices.yaml
24# - vrouter.yaml
25
26xos_other_templates:
27 - fabric-network-cfg.json
28
Yunpeng Zhang07a007b2017-06-11 22:59:16 -040029# GUI Config [new GUI]
30gui_project_name: "M-CORD"
31gui_background: "cord-bg.jpg" # TODO find mcord image
32
mcord3e589142017-05-24 16:05:07 -070033# GUI branding [OLD GUI to be removed]
34gui_branding_name: "MCORD"
35gui_branding_icon: "/static/mcord-logo.png"
36gui_branding_favicon: "/static/mcord-favicon.png"
37gui_branding_bg: "/static/mcord-bg.jpg"
38
39enabled_gui_extensions: []
40#enabled_gui_extensions:
41# - name: vtr
42# path: orchestration/xos_services/vtr/xos/gui
43# - name: rcord
44# path: orchestration/profiles/rcord/xos/gui
45
46# paths defined in manifest/default.xml
47xos_services:
48 - name: vtn
49 path: onos-apps/apps/vtn
50 keypair: vsg_rsa
51 synchronizer: true
52 - name: openstack
53 path: orchestration/xos_services/openstack
54 synchronizer: true
55 - name: onos
56 path: orchestration/xos_services/onos-service
57 keypair: onos_rsa
58 synchronizer: true
59 - name: fabric
60 path: orchestration/xos_services/fabric
61 synchronizer: true
62# - name: vBBU
63# path: orchestration/xos_services/vBBU
64# keypair: mcord_rsa
65# synchronizer: true
Pingping Linae423382017-06-09 17:44:02 -070066 - name: vmme
67 path: orchestration/xos_services/vmme
68 keypair: mcord_rsa
69 synchronizer: true
mcord3e589142017-05-24 16:05:07 -070070# - name: vSGW
71# path: orchestration/xos_services/vSGW
72# keypair: mcord_rsa
73# synchronizer: true
74# - name: vPGWC
75# path: orchestration/xos_services/vPGWC
76# keypair: mcord_rsa
77# synchronizer: true
78# needed onboarding synchronizer doesn't require service code to be present when started
79 - name: exampleservice
80 path: orchestration/xos_services/exampleservice
81 keypair: exampleservice_rsa
82 synchronizer: true
83 - name: monitoring
84 path: orchestration/xos_services/monitoring
85 keypair: monitoringservice_rsa
86 synchronizer: false
87
mcord3e589142017-05-24 16:05:07 -070088# profile_library: "mcord"
89
mcord3e589142017-05-24 16:05:07 -070090# SSL server certificate generation
91server_certs:
92 - cn: "keystone.{{ site_suffix }}"
93 subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=keystone.{{ site_suffix }}"
94 altnames:
95 - "DNS:keystone.{{ site_suffix }}"
96 - "DNS:keystone"
97 - cn: "xos-core.{{ site_suffix }}"
98 subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=xos-core.{{ site_suffix }}"
99 altnames:
100 - "DNS:xos-core.{{ site_suffix }}"
101
Zack Williams3eca6472017-06-22 18:18:38 -0700102# Network/DNS settings
Zack Williamsbf43d752017-07-01 15:27:11 -0700103headnode: head1
104
Zack Williams3eca6472017-06-22 18:18:38 -0700105dns_search:
106 - "{{ site_suffix }}"
107
108mgmt_ipv4_first_octets: "192.168.200"
109
110dns_servers:
111 - "{{ mgmt_ipv4_first_octets }}.1"
112
113# DNS settings for NSD/Unbound
mcord3e589142017-05-24 16:05:07 -0700114nsd_zones:
115 - name: "{{ site_suffix }}"
Zack Williams3eca6472017-06-22 18:18:38 -0700116 ipv4_first_octets: "{{ mgmt_ipv4_first_octets }}"
mcord3e589142017-05-24 16:05:07 -0700117 name_reverse_unbound: "168.192.in-addr.arpa"
118 soa: ns1
119 ns:
120 - { name: ns1 }
Zack Williams3eca6472017-06-22 18:18:38 -0700121 nodelists:
122 - head_lxd_list
Zack Williamsbf43d752017-07-01 15:27:11 -0700123 - physical_node_list
mcord3e589142017-05-24 16:05:07 -0700124 aliases:
Zack Williamsbf43d752017-07-01 15:27:11 -0700125 - { name: "apt-cache", dest: "{{ headnode }}" }
126 - { name: "cordloghost", dest: "{{ headnode }}" }
127 - { name: "docker", dest: "{{ headnode }}" }
128 - { name: "ns", dest: "{{ headnode }}" }
129 - { name: "ns1", dest: "{{ headnode }}" }
130 - { name: "onos-cord", dest: "{{ headnode }}" }
131 - { name: "xos", dest: "{{ headnode }}" }
132 - { name: "xos-chameleon", dest: "{{ headnode }}" }
133 - { name: "xos-rest-gw", dest: "{{ headnode }}" }
134 - { name: "xos-gui", dest: "{{ headnode }}" }
mcord3e589142017-05-24 16:05:07 -0700135
Zack Williams3eca6472017-06-22 18:18:38 -0700136unbound_listen_all: True
137
138unbound_interfaces:
139 - "{{ mgmt_ipv4_first_octets }}.1/24"
mcord3e589142017-05-24 16:05:07 -0700140
Zack Williamsbf43d752017-07-01 15:27:11 -0700141physical_node_list:
142 - name: head1
143 ipv4_last_octet: 1
144 aliases:
145 - head
146
mcord3e589142017-05-24 16:05:07 -0700147# VTN network configuration
148management_network_cidr: 172.27.0.0/24
149management_network_ip: 172.27.0.1/24
150data_plane_ip: 10.168.0.253/24
151
Zack Williams3eca6472017-06-22 18:18:38 -0700152# Juju config
mcord3e589142017-05-24 16:05:07 -0700153charm_versions:
154 ceilometer: "cs:trusty/ceilometer-17"
155 ceilometer-agent: "cs:trusty/ceilometer-agent-13"
156 glance: "cs:trusty/glance-28"
157 keystone: "cs:trusty/keystone-33"
158 mongodb: "cs:trusty/mongodb-33"
159 percona-cluster: "cs:trusty/percona-cluster-31"
160 nagios: "cs:trusty/nagios-10"
Andy Bavier9b3e00c2017-07-27 14:45:17 -0700161 neutron-api: "cs:~cordteam/trusty/neutron-api-6"
mcord3e589142017-05-24 16:05:07 -0700162 nova-cloud-controller: "cs:trusty/nova-cloud-controller-64"
163 nova-compute: "cs:~cordteam/trusty/nova-compute-2"
164 nrpe: "cs:trusty/nrpe-4"
165 ntp: "cs:trusty/ntp-14"
166 openstack-dashboard: "cs:trusty/openstack-dashboard-19"
167 rabbitmq-server: "cs:trusty/rabbitmq-server-42"
168
mcord3e589142017-05-24 16:05:07 -0700169head_lxd_list:
170 - name: "juju-1"
171 service: "juju"
172 aliases:
173 - "juju"
174 ipv4_last_octet: 10
175
176 - name: "ceilometer-1"
177 service: "ceilometer"
178 aliases:
179 - "ceilometer"
180 ipv4_last_octet: 20
181 forwarded_ports:
182 - { ext: 8777, int: 8777 }
183
184 - name: "glance-1"
185 service: "glance"
186 aliases:
187 - "glance"
188 ipv4_last_octet: 30
189 forwarded_ports:
190 - { ext: 9292, int: 9292 }
191
192 - name: "keystone-1"
193 service: "keystone"
194 aliases:
195 - "keystone"
196 ipv4_last_octet: 40
197 forwarded_ports:
198 - { ext: 35357, int: 35357 }
199 - { ext: 4990, int: 4990 }
200 - { ext: 5000, int: 5000 }
201
202 - name: "percona-cluster-1"
203 service: "percona-cluster"
204 aliases:
205 - "percona-cluster"
206 ipv4_last_octet: 50
207
208 - name: "nagios-1"
209 service: "nagios"
210 aliases:
211 - "nagios"
212 ipv4_last_octet: 60
213 forwarded_ports:
214 - { ext: 3128, int: 80 }
215
216 - name: "neutron-api-1"
217 service: "neutron-api"
218 aliases:
219 - "neutron-api"
220 ipv4_last_octet: 70
221 forwarded_ports:
222 - { ext: 9696, int: 9696 }
223
224 - name: "nova-cloud-controller-1"
225 service: "nova-cloud-controller"
226 aliases:
227 - "nova-cloud-controller"
228 ipv4_last_octet: 80
229 forwarded_ports:
230 - { ext: 8774, int: 8774 }
231
232 - name: "openstack-dashboard-1"
233 service: "openstack-dashboard"
234 aliases:
235 - "openstack-dashboard"
236 ipv4_last_octet: 90
237 forwarded_ports:
238 - { ext: 8080, int: 80 }
239
240 - name: "rabbitmq-server-1"
241 service: "rabbitmq-server"
242 aliases:
243 - "rabbitmq-server"
244 ipv4_last_octet: 100
245
246 - name: "mongodb-1"
247 service: "mongodb"
248 aliases:
249 - "mongodb"
250 ipv4_last_octet: 110
251
252lxd_service_list:
253 - ceilometer
254 - glance
255 - keystone
256 - mongodb
257 - nagios
258 - neutron-api
259 - nova-cloud-controller
260 - openstack-dashboard
261 - percona-cluster
262 - rabbitmq-server
263
264standalone_service_list:
265 - ntp
266 - nrpe
267 - ceilometer-agent
268
269
270service_relations:
271 - name: keystone
272 relations: [ "percona-cluster", "nrpe", ]
273
274 - name: nova-cloud-controller
275 relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", "nrpe", ]
276
277 - name: glance
278 relations: [ "percona-cluster", "keystone", "nrpe", ]
279
280 - name: neutron-api
281 relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", "nrpe", ]
282
283 - name: openstack-dashboard
284 relations: [ "keystone", "nrpe", ]
285
286 - name: nagios
287 relations: [ "nrpe", ]
288
289 - name: "percona-cluster:juju-info"
290 relations: [ "nrpe:general-info", ]
291
292 - name: rabbitmq-server
293 relations: [ "nrpe", ]
294
295 - name: ceilometer
296 relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ]
297
298 - name: "ceilometer:identity-service"
299 relations: [ "keystone:identity-service", ]
300
301 - name: "ceilometer:ceilometer-service"
302 relations: [ "ceilometer-agent:ceilometer-service", ]
303
304
305compute_relations:
306 - name: nova-compute
307 relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", "nagios", "nrpe", ]
308
309 - name: "nova-compute:shared-db"
310 relations: [ "percona-cluster:shared-db", ]
311
312 - name: "nova-compute:amqp"
313 relations: [ "rabbitmq-server:amqp", ]
314
315 - name: ntp
316 relations: [ "nova-compute", ]
317
318
319xos_images:
320 - name: "trusty-server-multi-nic"
321 url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img.20170201"
322 checksum: "sha256:ebf007ba3ec1043b7cd011fc6668e2a1d1d4c69c41071e8513ab355df7a057cb"
323
324 - name: "vsg-1.1"
325 url: "http://www.vicci.org/cord/vsg-1.1.img"
326 checksum: "sha256:16b0beb6778aed0f5feecb05f8d5750e6c262f98e6011e99ddadf7d46a177b6f"
327
328 - name: "ceilometer-trusty-server-multi-nic"
329 url: "http://www.vicci.org/cord/ceilometer-trusty-server-multi-nic.compressed.qcow2"
330 checksum: "sha256:b77ef8d692b640568dea13df99fe1dfcb1f4bb4ac05408db9ff77399b34f754f"
331
332 - name: "ceilometer-service-trusty-server-multi-nic"
333 url: "http://www.vicci.org/cord/ceilometer-service-trusty-server-multi-nic.compressed.qcow2.20170131"
334 checksum: "sha256:f0341e283f0f2cb8f70cd1a6347e0081c9c8492ef34eb6397c657ef824800d4f"