blob: ebeb70e3fbf72ad5315072a5892cab3f21dbe8c1 [file] [log] [blame]
Andrea Campanellabcfb2d62017-02-15 09:37:35 -08001---
2# profile_manifests/ecord.yaml
Andrea Campanella4f155c02017-05-02 17:44:10 -07003# Configures an E-CORD global pod
Andrea Campanellabcfb2d62017-02-15 09:37:35 -08004
5# site configuration
6site_name: mysite
7site_humanname: MySite
8deployment_type: MyDeployment
9
Zack Williamsc989f262017-05-11 13:02:59 -070010credentials_dir: "{{ playbook_dir }}/credentials"
11xos_admin_user: "xosadmin@opencord.org"
12xos_admin_pass: "{{ lookup('password', credentials_dir ~ '/xosadmin@opencord.org chars=ascii_letters,digits') }}"
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080013xos_admin_first: XOS
14xos_admin_last: Admin
15
16xos_users: []
17
Andrea Campanella4ef48392017-05-16 10:07:05 -070018use_vtn: True
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080019
20xos_tosca_config_templates:
21 - openstack.yaml
Andrea Campanella4ef48392017-05-16 10:07:05 -070022 - vtn-service.yaml
23 - fabric-service.yaml
Andrea Campanella4f155c02017-05-02 17:44:10 -070024 - vnodglobal-service.yaml
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080025
Andrea Campanella4ef48392017-05-16 10:07:05 -070026xos_other_templates:
27 - fabric-network-cfg.json
28
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080029cord_profile_dir: "{{ ansible_user_dir + '/cord_profile' }}"
30
31xos_docker_volumes:
32 - host: "{{ cord_profile_dir }}/images"
33 container: /opt/xos/images
34
Andrea Campanella4f155c02017-05-02 17:44:10 -070035# GUI Config [new GUI]
36gui_project_name: "E-CORD"
37gui_background: "cord-bg.jpg" # TODO find ecord image
38gui_payoff: "Your Enterprise VNF orchestrator"
39
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080040# GUI branding
41gui_branding_name: "ECORD"
42gui_branding_icon: "/static/cord-logo.png"
43gui_branding_favicon: "/static/cord-favicon.png"
44gui_branding_bg: "/static/cord-bg.jpg"
45
Andrea Campanella4f155c02017-05-02 17:44:10 -070046enabled_gui_extensions: []
47
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080048# paths defined in manifest/default.xml
49xos_services:
50 - name: vtn
51 path: onos-apps/apps/vtn
52 - name: openstack
53 path: orchestration/xos_services/openstack
Andrea Campanella4ef48392017-05-16 10:07:05 -070054 - name: fabric
55 path: orchestration/xos_services/fabric
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080056 - name: onos
57 path: orchestration/xos_services/onos-service
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080058 - name: metronetwork
59 path: orchestration/xos_services/metro-net
60
61xos_service_sshkeys:
62 - name: onos_rsa
63 source_path: "~/.ssh/id_rsa"
64 - name: onos_rsa.pub
65 source_path: "~/.ssh/id_rsa.pub"
Andrea Campanellabcfb2d62017-02-15 09:37:35 -080066
67# VM networks/bridges on head
68virt_nets:
69 - name: mgmtbr
70 ipv4_prefix: 192.168.122
71 head_vms: true
72
73# site domain suffix
74site_suffix: cord.lab
75
76# resolv.conf settings
77dns_search:
78 - "{{ site_suffix }}"
79
80# SSL server certificate generation
81server_certs:
82 - cn: "keystone.{{ site_suffix }}"
83 subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=keystone.{{ site_suffix }}"
84 altnames:
85 - "DNS:keystone.{{ site_suffix }}"
86 - "DNS:keystone"
87 - cn: "xos-core.{{ site_suffix }}"
88 subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=xos-core.{{ site_suffix }}"
89 altnames:
90 - "DNS:xos-core.{{ site_suffix }}"
91
92# NSD/Unbound settings
93nsd_zones:
94 - name: "{{ site_suffix }}"
95 ipv4_first_octets: 192.168.122
96 name_reverse_unbound: "168.192.in-addr.arpa"
97 soa: ns1
98 ns:
99 - { name: ns1 }
100 nodelist: head_vm_list
101 aliases:
102 - { name: "ns1" , dest: "head" }
103 - { name: "ns" , dest: "head" }
104 - { name: "apt-cache" , dest: "head" }
105
106name_on_public_interface: head
107
Andrea Campanella4ef48392017-05-16 10:07:05 -0700108# VTN network configuration
109management_network_cidr: 172.27.0.0/24
110management_network_ip: 172.27.0.1/24
111data_plane_ip: 10.168.0.253/24
112
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800113
114# CORD ONOS app version
115cord_app_version: 1.2-SNAPSHOT
116
117# If true, unbound listens on the head node's `ansible_default_ipv4` interface
118unbound_listen_on_default: True
119
120# turn this on, or override it when running the playbook with --extra-vars="on_cloudlab=True"
121on_cloudlab: False
122
123# turn this off, or override when running playbook with --extra-vars="on_maas=False"
124on_maas: True
125
126run_dist_upgrade: False
127
128maas_node_key: /etc/maas/ansible/id_rsa
129
130openstack_version: kilo
131
132juju_config_name: cord
133
134juju_config_path: /usr/local/src/juju_config.yml
135
136# Pull ONOS from local Docker registry rather than Docker Hub
Andy Bavier761cf762017-05-10 14:47:08 -0400137onos_docker_image: "docker-registry:5000/onosproject/onos:candidate"
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800138
Scott Baker71954ac2017-04-10 21:41:31 -0700139# Pull XOS from local Docker registry
140xos_docker_image: "docker-registry:5000/xosproject/xos:candidate"
141
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800142keystone_admin_password: "{{ lookup('password', 'credentials/cord_keystone_admin chars=ascii_letters,digits') }}"
143
144deployment_flavors:
145 - m1.small
146 - m1.medium
147 - m1.large
148 - m1.xlarge
149
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800150charm_versions:
151 ceilometer: "cs:trusty/ceilometer-17"
152 ceilometer-agent: "cs:trusty/ceilometer-agent-13"
153 glance: "cs:trusty/glance-28"
154 keystone: "cs:trusty/keystone-33"
155 mongodb: "cs:trusty/mongodb-33"
156 percona-cluster: "cs:trusty/percona-cluster-31"
157 nagios: "cs:trusty/nagios-10"
Andy Bavierfd169692017-04-14 16:32:08 -0400158 neutron-api: "cs:~cordteam/trusty/neutron-api-5"
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800159 nova-cloud-controller: "cs:trusty/nova-cloud-controller-64"
160 nova-compute: "cs:~cordteam/trusty/nova-compute-2"
161 nrpe: "cs:trusty/nrpe-4"
162 ntp: "cs:trusty/ntp-14"
163 openstack-dashboard: "cs:trusty/openstack-dashboard-19"
164 rabbitmq-server: "cs:trusty/rabbitmq-server-42"
165
166head_vm_list: []
167
168head_lxd_list:
169 - name: "juju-1"
170 service: "juju"
171 aliases:
172 - "juju"
173 ipv4_last_octet: 10
174
175 - name: "ceilometer-1"
176 service: "ceilometer"
177 aliases:
178 - "ceilometer"
179 ipv4_last_octet: 20
180 forwarded_ports:
181 - { ext: 8777, int: 8777 }
182
183 - name: "glance-1"
184 service: "glance"
185 aliases:
186 - "glance"
187 ipv4_last_octet: 30
188 forwarded_ports:
189 - { ext: 9292, int: 9292 }
190
191 - name: "keystone-1"
192 service: "keystone"
193 aliases:
194 - "keystone"
195 ipv4_last_octet: 40
196 forwarded_ports:
197 - { ext: 35357, int: 35357 }
198 - { ext: 4990, int: 4990 }
199 - { ext: 5000, int: 5000 }
200
201 - name: "percona-cluster-1"
202 service: "percona-cluster"
203 aliases:
204 - "percona-cluster"
205 ipv4_last_octet: 50
206
207 - name: "nagios-1"
208 service: "nagios"
209 aliases:
210 - "nagios"
211 ipv4_last_octet: 60
212 forwarded_ports:
213 - { ext: 3128, int: 80 }
214
215 - name: "neutron-api-1"
216 service: "neutron-api"
217 aliases:
218 - "neutron-api"
219 ipv4_last_octet: 70
220 forwarded_ports:
221 - { ext: 9696, int: 9696 }
222
223 - name: "nova-cloud-controller-1"
224 service: "nova-cloud-controller"
225 aliases:
226 - "nova-cloud-controller"
227 ipv4_last_octet: 80
228 forwarded_ports:
229 - { ext: 8774, int: 8774 }
230
231 - name: "openstack-dashboard-1"
232 service: "openstack-dashboard"
233 aliases:
234 - "openstack-dashboard"
235 ipv4_last_octet: 90
236 forwarded_ports:
237 - { ext: 8080, int: 80 }
238
239 - name: "rabbitmq-server-1"
240 service: "rabbitmq-server"
241 aliases:
242 - "rabbitmq-server"
243 ipv4_last_octet: 100
244
245 - name: "mongodb-1"
246 service: "mongodb"
247 aliases:
248 - "mongodb"
249 ipv4_last_octet: 110
250
251lxd_service_list:
252 - ceilometer
253 - glance
254 - keystone
255 - mongodb
256 - nagios
257 - neutron-api
258 - nova-cloud-controller
259 - openstack-dashboard
260 - percona-cluster
261 - rabbitmq-server
262
263standalone_service_list:
264 - ntp
265 - nrpe
266 - ceilometer-agent
267
268
269service_relations:
270 - name: keystone
271 relations: [ "percona-cluster", "nrpe", ]
272
273 - name: nova-cloud-controller
274 relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", "nrpe", ]
275
276 - name: glance
277 relations: [ "percona-cluster", "keystone", "nrpe", ]
278
279 - name: neutron-api
280 relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", "nrpe", ]
281
282 - name: openstack-dashboard
283 relations: [ "keystone", "nrpe", ]
284
285 - name: nagios
286 relations: [ "nrpe", ]
287
288 - name: "percona-cluster:juju-info"
289 relations: [ "nrpe:general-info", ]
290
291 - name: rabbitmq-server
292 relations: [ "nrpe", ]
293
294 - name: ceilometer
295 relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ]
296
297 - name: "ceilometer:identity-service"
298 relations: [ "keystone:identity-service", ]
299
300 - name: "ceilometer:ceilometer-service"
301 relations: [ "ceilometer-agent:ceilometer-service", ]
302
303
304compute_relations:
305 - name: nova-compute
306 relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", "nagios", "nrpe", ]
307
308 - name: "nova-compute:shared-db"
309 relations: [ "percona-cluster:shared-db", ]
310
311 - name: "nova-compute:amqp"
312 relations: [ "rabbitmq-server:amqp", ]
313
314 - name: ntp
315 relations: [ "nova-compute", ]
316
317
318xos_images:
319 - name: "trusty-server-multi-nic"
320 url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img.20170201"
321 checksum: "sha256:ebf007ba3ec1043b7cd011fc6668e2a1d1d4c69c41071e8513ab355df7a057cb"
322
Andrea Campanellabcfb2d62017-02-15 09:37:35 -0800323 - name: "ceilometer-trusty-server-multi-nic"
324 url: "http://www.vicci.org/cord/ceilometer-trusty-server-multi-nic.compressed.qcow2"
325 checksum: "sha256:b77ef8d692b640568dea13df99fe1dfcb1f4bb4ac05408db9ff77399b34f754f"
326
327 - name: "ceilometer-service-trusty-server-multi-nic"
328 url: "http://www.vicci.org/cord/ceilometer-service-trusty-server-multi-nic.compressed.qcow2.20170131"
329 checksum: "sha256:f0341e283f0f2cb8f70cd1a6347e0081c9c8492ef34eb6397c657ef824800d4f"