blob: 5db6506877632d44854f1212055b7f5d5c04d884 [file] [log] [blame]
Zack Williamsf87ef6e2017-10-16 22:30:00 -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 Williamsce63eb02017-02-28 10:46:22 -070016# mock ("mockup") scenario
17# Brings up just core containers without synchronizers, for API tests and GUI dev
18
19# create a cord_profile dir next to the cord checkout
20config_cord_dir: "{{ ( playbook_dir ~ '/../..') | realpath }}"
21config_cord_profile_dir: "{{ ( playbook_dir ~ '/../../../cord_profile' ) | realpath }}"
22
23build_cord_dir: /opt/cord
24
25# Vagrant VM configuration
Zack Williams82f24ca2017-12-30 13:53:46 -070026vagrant_box: "ubuntu/trusty64"
Andy Bavier3316e602017-12-20 19:36:00 -070027head_vm_mem: 2048
28head_vm_cpu: 1
Zack Williamsce63eb02017-02-28 10:46:22 -070029head_vm_ip: "192.168.46.100"
30
Zack Williams7ec0e392018-01-24 17:38:56 -070031buildnode: head1
32headnode: head1
33
Zack Williamsce63eb02017-02-28 10:46:22 -070034physical_node_list:
Zack Williamsb0fa24a2017-10-23 22:46:19 -070035 - name: head1
Zack Williamsce63eb02017-02-28 10:46:22 -070036 ipv4_last_octet: 1
37 aliases:
38 - head
39
40# make targets
41build_targets:
42 - onboard-profile
43
Zack Williamsf87ef6e2017-10-16 22:30:00 -070044cord_config_prereqs:
45 - vagrant-ssh-install
46
Zack Williamsce63eb02017-02-28 10:46:22 -070047prep_headnode_prereqs:
48 - prep-buildnode
49
Zack Williamsa5fcefd2017-07-27 22:06:33 -070050docker_images_prereqs:
51 - prep-headnode
52
Zack Williamsce63eb02017-02-28 10:46:22 -070053# mock profile configuration
54frontend_only: True
55use_maas: False
56use_apt_cache: False
57use_openstack: False
Zack Williamsa5fcefd2017-07-27 22:06:33 -070058create_configdirs_become: False
Zack Williamsce63eb02017-02-28 10:46:22 -070059xos_images: []
60
61# whitelist of images for imagebuilder to build/pull (tagged elsewhere)
62docker_image_whitelist:
63 - "xosproject/xos-base"
64 - "xosproject/xos"
65 - "xosproject/xos-client"
66 - "xosproject/xos-corebuilder"
67 - "xosproject/xos-gui"
Matteo Scandolo9acc16b2017-11-16 10:13:55 -080068 - "xosproject/xos-gui-builder"
Zack Williamseeeb6dd2017-07-13 10:50:28 -070069 - "xosproject/xos-libraries"
Zack Williamsce63eb02017-02-28 10:46:22 -070070 - "xosproject/xos-postgres"
Max Chu2c6ddf32017-10-02 16:07:11 -070071 - "xosproject/xos-synchronizer-base"
Zack Williamseeeb6dd2017-07-13 10:50:28 -070072 - "xosproject/xos-tosca"
Zack Williamsce63eb02017-02-28 10:46:22 -070073 - "xosproject/xos-ws"
74 - "xosproject/chameleon"
Zack Williamsce63eb02017-02-28 10:46:22 -070075 - "nginx"
76 - "redis"
Andy Bavier56b12b52017-08-03 11:46:42 -070077 - "node"
Zack Williamsce63eb02017-02-28 10:46:22 -070078
79# Ansible Inventory
80inventory_groups:
81
82 config:
83 localhost:
84 ansible_connection: local
85
86 build:
Zack Williamsb0fa24a2017-10-23 22:46:19 -070087 head1:
Zack Williamsce63eb02017-02-28 10:46:22 -070088
89 head:
Zack Williamsb0fa24a2017-10-23 22:46:19 -070090 head1:
Zack Williamsce63eb02017-02-28 10:46:22 -070091
92 compute:
93