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