blob: 4bf4450dad7c71d8b4acc96564604ec985a9d73e [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"
Zack Williams0a7ef162017-07-18 18:15:26 -070029head_vm_mem: 4096
30head_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
60# whitelist of images for imagebuilder to build/pull (tagged elsewhere)
61docker_image_whitelist:
62 - "xosproject/xos-base"
63 - "xosproject/xos"
64 - "xosproject/xos-client"
65 - "xosproject/xos-corebuilder"
66 - "xosproject/xos-gui"
Matteo Scandolo9acc16b2017-11-16 10:13:55 -080067 - "xosproject/xos-gui-builder"
Zack Williams0a7ef162017-07-18 18:15:26 -070068 - "xosproject/xos-libraries"
69 - "xosproject/xos-postgres"
70 - "xosproject/xos-tosca"
71 - "xosproject/xos-ws"
72 - "xosproject/chameleon"
Zack Williams0a7ef162017-07-18 18:15:26 -070073 - "xosproject/xos-synchronizer-base"
Zack Williams0a7ef162017-07-18 18:15:26 -070074 - "gliderlabs/consul-server"
75 - "gliderlabs/registrator"
76 - "nginx"
77 - "onosproject/onos"
Zack Williams5e039f02017-11-16 09:50:09 -070078 - "opencord/mavenrepo"
Zack Williams0a7ef162017-07-18 18:15:26 -070079 - "redis"
Andy Bavier56b12b52017-08-03 11:46:42 -070080 - "node"
Zack Williams0a7ef162017-07-18 18:15:26 -070081
82# Ansible Inventory
83inventory_groups:
84
85 config:
86 localhost:
87 ansible_connection: local
88
89 build:
Zack Williamsb0fa24a2017-10-23 22:46:19 -070090 head1:
Zack Williams0a7ef162017-07-18 18:15:26 -070091
92 head:
Zack Williamsb0fa24a2017-10-23 22:46:19 -070093 head1:
Zack Williams0a7ef162017-07-18 18:15:26 -070094
95 compute:
96