blob: c9813ad4a13fe83ead73ea473afa770b95513a52 [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"
Scott Baker3c3f06a2018-03-29 15:38:36 -070064 - "xosproject/xos-core"
Zack Williamsce63eb02017-02-28 10:46:22 -070065 - "xosproject/xos-client"
Zack Williamsce63eb02017-02-28 10:46:22 -070066 - "xosproject/xos-gui"
Matteo Scandolo9acc16b2017-11-16 10:13:55 -080067 - "xosproject/xos-gui-builder"
Zack Williamseeeb6dd2017-07-13 10:50:28 -070068 - "xosproject/xos-libraries"
Max Chu2c6ddf32017-10-02 16:07:11 -070069 - "xosproject/xos-synchronizer-base"
Zack Williamseeeb6dd2017-07-13 10:50:28 -070070 - "xosproject/xos-tosca"
Zack Williamsce63eb02017-02-28 10:46:22 -070071 - "xosproject/xos-ws"
72 - "xosproject/chameleon"
Zack Williamsce63eb02017-02-28 10:46:22 -070073 - "nginx"
Andy Bavier56b12b52017-08-03 11:46:42 -070074 - "node"
Zack Williams9bb7e7b2018-04-02 13:31:29 -070075 - "postgres"
76 - "redis"
Zack Williamsce63eb02017-02-28 10:46:22 -070077
78# Ansible Inventory
79inventory_groups:
80
81 config:
82 localhost:
83 ansible_connection: local
84
85 build:
Zack Williamsb0fa24a2017-10-23 22:46:19 -070086 head1:
Zack Williamsce63eb02017-02-28 10:46:22 -070087
88 head:
Zack Williamsb0fa24a2017-10-23 22:46:19 -070089 head1:
Zack Williamsce63eb02017-02-28 10:46:22 -070090
91 compute:
92