blob: b364f7429c61d7299bf36514ece5424d0059c903 [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"
Scott Baker3c3f06a2018-03-29 15:38:36 -070069 - "xosproject/xos-core"
Zack Williams0a7ef162017-07-18 18:15:26 -070070 - "xosproject/xos-client"
Zack Williams0a7ef162017-07-18 18:15:26 -070071 - "xosproject/xos-gui"
Matteo Scandolo9acc16b2017-11-16 10:13:55 -080072 - "xosproject/xos-gui-builder"
Zack Williams0a7ef162017-07-18 18:15:26 -070073 - "xosproject/xos-libraries"
Zack Williams0a7ef162017-07-18 18:15:26 -070074 - "xosproject/xos-tosca"
75 - "xosproject/xos-ws"
76 - "xosproject/chameleon"
Zack Williams0a7ef162017-07-18 18:15:26 -070077 - "xosproject/xos-synchronizer-base"
Zack Williams0a7ef162017-07-18 18:15:26 -070078 - "nginx"
Zack Williams9bb7e7b2018-04-02 13:31:29 -070079 - "node"
Zack Williams0a7ef162017-07-18 18:15:26 -070080 - "onosproject/onos"
Zack Williams5e039f02017-11-16 09:50:09 -070081 - "opencord/mavenrepo"
Zack Williams9bb7e7b2018-04-02 13:31:29 -070082 - "postgres"
Zack Williams0a7ef162017-07-18 18:15:26 -070083 - "redis"
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