blob: 1b85a9df9bb73dff5e5ebd29b5491794ecc2a50e [file] [log] [blame]
Matteo Scandolo60b640f2017-08-08 13:05:22 -07001
2# 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
16
Zack Williamsce63eb02017-02-28 10:46:22 -070017---
18# mock ("mockup") scenario
19# Brings up just core containers without synchronizers, for API tests and GUI dev
20
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
Matteo Scandolobf7013d2017-10-04 14:45:17 -070028head_vm_mem: 6048
Zack Williamsce63eb02017-02-28 10:46:22 -070029head_vm_cpu: 4
30head_vm_ip: "192.168.46.100"
31
32vagrant_vms:
33 - headnode
34
35buildnode: headnode
36headnode: headnode
37
38physical_node_list:
39 - name: headnode
40 ipv4_last_octet: 1
41 aliases:
42 - head
43
44# make targets
45build_targets:
46 - onboard-profile
47
48prep_headnode_prereqs:
49 - prep-buildnode
50
Zack Williamsa5fcefd2017-07-27 22:06:33 -070051docker_images_prereqs:
52 - prep-headnode
53
Zack Williamsce63eb02017-02-28 10:46:22 -070054# mock profile configuration
55frontend_only: True
56use_maas: False
57use_apt_cache: False
58use_openstack: False
Zack Williamsa5fcefd2017-07-27 22:06:33 -070059create_configdirs_become: False
Zack Williamsce63eb02017-02-28 10:46:22 -070060xos_images: []
61
62# whitelist of images for imagebuilder to build/pull (tagged elsewhere)
63docker_image_whitelist:
64 - "xosproject/xos-base"
65 - "xosproject/xos"
66 - "xosproject/xos-client"
67 - "xosproject/xos-corebuilder"
68 - "xosproject/xos-gui"
69 - "xosproject/xos-gui-extension-builder"
Zack Williamseeeb6dd2017-07-13 10:50:28 -070070 - "xosproject/xos-libraries"
Zack Williamsce63eb02017-02-28 10:46:22 -070071 - "xosproject/xos-postgres"
Max Chu2c6ddf32017-10-02 16:07:11 -070072 - "xosproject/xos-synchronizer-base"
Zack Williamseeeb6dd2017-07-13 10:50:28 -070073 - "xosproject/xos-tosca"
Zack Williamsce63eb02017-02-28 10:46:22 -070074 - "xosproject/xos-ws"
75 - "xosproject/chameleon"
76 - "xosproject/gui-extension-rcord"
77 - "xosproject/gui-extension-sample"
Max Chu2c6ddf32017-10-02 16:07:11 -070078 - "xosproject/gui-extension-vnaas"
Zack Williamsce63eb02017-02-28 10:46:22 -070079 - "xosproject/gui-extension-vtr"
Max Chu2c6ddf32017-10-02 16:07:11 -070080 - "xosproject/vee-synchronizer"
81 - "xosproject/veg-synchronizer"
82 - "xosproject/vnaas-synchronizer"
Zack Williamsce63eb02017-02-28 10:46:22 -070083 - "gliderlabs/consul-server"
84 - "gliderlabs/registrator"
85 - "nginx"
86 - "redis"
Andy Bavier56b12b52017-08-03 11:46:42 -070087 - "node"
Zack Williamsce63eb02017-02-28 10:46:22 -070088
89# Ansible Inventory
90inventory_groups:
91
92 config:
93 localhost:
94 ansible_connection: local
95
96 build:
97 headnode:
98
99 head:
100 headnode:
101
102 compute:
103