blob: cb86c6c4caaacfad42fed6c19cfe3bc7593f8acb [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 Williams7ec0e392018-01-24 17:38:56 -070033buildnode: head1
34headnode: head1
35
Zack Williams0a7ef162017-07-18 18:15:26 -070036physical_node_list:
Zack Williamsb0fa24a2017-10-23 22:46:19 -070037 - name: head1
Zack Williams0a7ef162017-07-18 18:15:26 -070038 ipv4_last_octet: 1
39 aliases:
40 - head
41
42# make targets
43build_targets:
44 - onboard-profile
45
Zack Williamsf87ef6e2017-10-16 22:30:00 -070046cord_config_prereqs:
47 - vagrant-ssh-install
48
Zack Williams0a7ef162017-07-18 18:15:26 -070049prep_headnode_prereqs:
50 - prep-buildnode
51
Zack Williamsa5fcefd2017-07-27 22:06:33 -070052docker_images_prereqs:
53 - prep-headnode
54
Zack Williams0a7ef162017-07-18 18:15:26 -070055# single scenario configuration
56frontend_only: False
57use_maas: False
58use_apt_cache: False
59use_openstack: False
Zack Williamsa5fcefd2017-07-27 22:06:33 -070060create_configdirs_become: False
Zack Williams0a7ef162017-07-18 18:15:26 -070061xos_images: []
62
Sapan Bhatia377bd102017-12-12 13:55:45 -050063# used in platform-install / roles/cord-profile/templates/docker-compose.yml.j2
64use_elasticstack: True
65
Zack Williams0a7ef162017-07-18 18:15:26 -070066# whitelist of images for imagebuilder to build/pull (tagged elsewhere)
67docker_image_whitelist:
68 - "xosproject/xos-base"
69 - "xosproject/xos"
Scott Baker9a4d0a12018-03-09 07:52:02 -080070 - "xosproject/xos-ui"
Zack Williams0a7ef162017-07-18 18:15:26 -070071 - "xosproject/xos-client"
72 - "xosproject/xos-corebuilder"
73 - "xosproject/xos-gui"
Matteo Scandolo9acc16b2017-11-16 10:13:55 -080074 - "xosproject/xos-gui-builder"
Zack Williams0a7ef162017-07-18 18:15:26 -070075 - "xosproject/xos-libraries"
76 - "xosproject/xos-postgres"
77 - "xosproject/xos-tosca"
78 - "xosproject/xos-ws"
79 - "xosproject/chameleon"
Zack Williams0a7ef162017-07-18 18:15:26 -070080 - "xosproject/xos-synchronizer-base"
Zack Williams0a7ef162017-07-18 18:15:26 -070081 - "nginx"
82 - "onosproject/onos"
Zack Williams5e039f02017-11-16 09:50:09 -070083 - "opencord/mavenrepo"
Zack Williams0a7ef162017-07-18 18:15:26 -070084 - "redis"
Andy Bavier56b12b52017-08-03 11:46:42 -070085 - "node"
Sapan Bhatia377bd102017-12-12 13:55:45 -050086 - "sebp/elk"
Zack Williams0a7ef162017-07-18 18:15:26 -070087
88# Ansible Inventory
89inventory_groups:
90
91 config:
92 localhost:
93 ansible_connection: local
94
95 build:
Zack Williamsb0fa24a2017-10-23 22:46:19 -070096 head1:
Zack Williams0a7ef162017-07-18 18:15:26 -070097
98 head:
Zack Williamsb0fa24a2017-10-23 22:46:19 -070099 head1:
Zack Williams0a7ef162017-07-18 18:15:26 -0700100
101 compute:
102