blob: 03c6ef91462f072815b391e1348f526cdd2587bd [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
Matteo Scandolobf7013d2017-10-04 14:45:17 -070026head_vm_mem: 6048
Zack Williamsce63eb02017-02-28 10:46:22 -070027head_vm_cpu: 4
28head_vm_ip: "192.168.46.100"
29
30vagrant_vms:
31 - headnode
32
33buildnode: headnode
34headnode: headnode
35
36physical_node_list:
37 - name: headnode
38 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 Williamsce63eb02017-02-28 10:46:22 -070049prep_headnode_prereqs:
50 - prep-buildnode
51
Zack Williamsa5fcefd2017-07-27 22:06:33 -070052docker_images_prereqs:
53 - prep-headnode
54
Zack Williamsce63eb02017-02-28 10:46:22 -070055# mock profile configuration
56frontend_only: True
57use_maas: False
58use_apt_cache: False
59use_openstack: False
Zack Williamsa5fcefd2017-07-27 22:06:33 -070060create_configdirs_become: False
Zack Williamsce63eb02017-02-28 10:46:22 -070061xos_images: []
62
63# whitelist of images for imagebuilder to build/pull (tagged elsewhere)
64docker_image_whitelist:
65 - "xosproject/xos-base"
66 - "xosproject/xos"
67 - "xosproject/xos-client"
68 - "xosproject/xos-corebuilder"
69 - "xosproject/xos-gui"
70 - "xosproject/xos-gui-extension-builder"
Zack Williamseeeb6dd2017-07-13 10:50:28 -070071 - "xosproject/xos-libraries"
Zack Williamsce63eb02017-02-28 10:46:22 -070072 - "xosproject/xos-postgres"
Max Chu2c6ddf32017-10-02 16:07:11 -070073 - "xosproject/xos-synchronizer-base"
Zack Williamseeeb6dd2017-07-13 10:50:28 -070074 - "xosproject/xos-tosca"
Zack Williamsce63eb02017-02-28 10:46:22 -070075 - "xosproject/xos-ws"
76 - "xosproject/chameleon"
77 - "xosproject/gui-extension-rcord"
78 - "xosproject/gui-extension-sample"
Max Chu2c6ddf32017-10-02 16:07:11 -070079 - "xosproject/gui-extension-vnaas"
Zack Williamsce63eb02017-02-28 10:46:22 -070080 - "xosproject/gui-extension-vtr"
Max Chu2c6ddf32017-10-02 16:07:11 -070081 - "xosproject/vee-synchronizer"
82 - "xosproject/veg-synchronizer"
83 - "xosproject/vnaas-synchronizer"
Zack Williamsce63eb02017-02-28 10:46:22 -070084 - "gliderlabs/consul-server"
85 - "gliderlabs/registrator"
86 - "nginx"
87 - "redis"
Andy Bavier56b12b52017-08-03 11:46:42 -070088 - "node"
Zack Williamsce63eb02017-02-28 10:46:22 -070089
90# Ansible Inventory
91inventory_groups:
92
93 config:
94 localhost:
95 ansible_connection: local
96
97 build:
98 headnode:
99
100 head:
101 headnode:
102
103 compute:
104