blob: a1a144f8d510ccf2c77b4f4916a98ae6653719a4 [file] [log] [blame]
Zack Williams58e41572017-09-29 07:57:14 -07001---
Matteo Scandolo60b640f2017-08-08 13:05:22 -07002# 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
Zack Williams58e41572017-09-29 07:57:14 -070016# single node scenario (head-node only)
Zack Williams0a7ef162017-07-18 18:15:26 -070017# Brings up a VM with synchronizers, for more complicated testing without OpenStack
Zack Williams58e41572017-09-29 07:57:14 -070018# Can be used with ONOS and ElasticStack, see:
19# https://guide.opencord.org/xos/dev/workflow_mock_single.html
Zack Williams0a7ef162017-07-18 18:15:26 -070020
21# create a cord_profile dir next to the cord checkout
22config_cord_dir: "{{ ( playbook_dir ~ '/../..') | realpath }}"
23config_cord_profile_dir: "{{ ( playbook_dir ~ '/../../../cord_profile' ) | realpath }}"
24
25build_cord_dir: /opt/cord
26
27# Vagrant VM configuration
Zack Williams82f24ca2017-12-30 13:53:46 -070028vagrant_box: "ubuntu/trusty64"
Sapan Bhatia377bd102017-12-12 13:55:45 -050029head_vm_mem: 8192
Zack Williams0a7ef162017-07-18 18:15:26 -070030head_vm_cpu: 8
31head_vm_ip: "192.168.46.100"
32
Zack Williams0a7ef162017-07-18 18:15:26 -070033physical_node_list:
Zack Williamsb0fa24a2017-10-23 22:46:19 -070034 - name: head1
Zack Williams0a7ef162017-07-18 18:15:26 -070035 ipv4_last_octet: 1
36 aliases:
37 - head
38
39# make targets
40build_targets:
41 - onboard-profile
42
Zack Williamsf87ef6e2017-10-16 22:30:00 -070043cord_config_prereqs:
44 - vagrant-ssh-install
45
Zack Williams0a7ef162017-07-18 18:15:26 -070046prep_headnode_prereqs:
47 - prep-buildnode
48
Zack Williamsa5fcefd2017-07-27 22:06:33 -070049docker_images_prereqs:
50 - prep-headnode
51
Zack Williams0a7ef162017-07-18 18:15:26 -070052# single scenario configuration
53frontend_only: False
54use_maas: False
55use_apt_cache: False
56use_openstack: False
Zack Williamsa5fcefd2017-07-27 22:06:33 -070057create_configdirs_become: False
Zack Williams0a7ef162017-07-18 18:15:26 -070058xos_images: []
59
Sapan Bhatia377bd102017-12-12 13:55:45 -050060# used in platform-install / roles/cord-profile/templates/docker-compose.yml.j2
61use_elasticstack: True
62
Zack Williams0a7ef162017-07-18 18:15:26 -070063# whitelist of images for imagebuilder to build/pull (tagged elsewhere)
64docker_image_whitelist:
65 - "xosproject/xos-base"
66 - "xosproject/xos"
67 - "xosproject/xos-client"
68 - "xosproject/xos-corebuilder"
69 - "xosproject/xos-gui"
Matteo Scandolo9acc16b2017-11-16 10:13:55 -080070 - "xosproject/xos-gui-builder"
Zack Williams0a7ef162017-07-18 18:15:26 -070071 - "xosproject/xos-libraries"
72 - "xosproject/xos-postgres"
73 - "xosproject/xos-tosca"
74 - "xosproject/xos-ws"
75 - "xosproject/chameleon"
Zack Williams0a7ef162017-07-18 18:15:26 -070076 - "xosproject/xos-synchronizer-base"
Zack Williams0a7ef162017-07-18 18:15:26 -070077 - "gliderlabs/consul-server"
78 - "gliderlabs/registrator"
79 - "nginx"
80 - "onosproject/onos"
Zack Williams5e039f02017-11-16 09:50:09 -070081 - "opencord/mavenrepo"
Zack Williams0a7ef162017-07-18 18:15:26 -070082 - "redis"
Andy Bavier56b12b52017-08-03 11:46:42 -070083 - "node"
Sapan Bhatia377bd102017-12-12 13:55:45 -050084 - "sebp/elk"
Zack Williams0a7ef162017-07-18 18:15:26 -070085
86# Ansible Inventory
87inventory_groups:
88
89 config:
90 localhost:
91 ansible_connection: local
92
93 build:
Zack Williamsb0fa24a2017-10-23 22:46:19 -070094 head1:
Zack Williams0a7ef162017-07-18 18:15:26 -070095
96 head:
Zack Williamsb0fa24a2017-10-23 22:46:19 -070097 head1:
Zack Williams0a7ef162017-07-18 18:15:26 -070098
99 compute:
100