blob: a2f1258cfe579441e3bac13ae9d6a6060e2837db [file] [log] [blame]
Zack Williams0aaee3c2017-10-09 15:33:22 -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 Williams0aaee3c2017-10-09 15:33:22 -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
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
26head_vm_mem: 4096
27head_vm_cpu: 8
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
46prep_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"
67 - "xosproject/xos-gui-extension-builder"
68 - "xosproject/xos-libraries"
69 - "xosproject/xos-postgres"
70 - "xosproject/xos-tosca"
71 - "xosproject/xos-ws"
72 - "xosproject/chameleon"
73 - "xosproject/gui-extension-rcord"
74 - "xosproject/gui-extension-sample"
75 - "xosproject/gui-extension-vtr"
76 - "xosproject/xos-synchronizer-base"
Scott Baker30333862017-09-08 13:51:55 -070077 - "xosproject/addressmanager-synchronizer"
Zack Williams0a7ef162017-07-18 18:15:26 -070078 - "xosproject/exampleservice-synchronizer"
79 - "xosproject/fabric-synchronizer"
80 - "xosproject/onos-synchronizer"
81 - "xosproject/openstack-synchronizer"
82 - "xosproject/volt-synchronizer"
83 - "xosproject/vrouter-synchronizer"
84 - "xosproject/vsg-synchronizer"
85 - "xosproject/vtn-synchronizer"
86 - "xosproject/vtr-synchronizer"
87 - "gliderlabs/consul-server"
88 - "gliderlabs/registrator"
89 - "nginx"
90 - "onosproject/onos"
91 - "redis"
Andy Bavier56b12b52017-08-03 11:46:42 -070092 - "node"
Zack Williams0a7ef162017-07-18 18:15:26 -070093
94# Ansible Inventory
95inventory_groups:
96
97 config:
98 localhost:
99 ansible_connection: local
100
101 build:
102 headnode:
103
104 head:
105 headnode:
106
107 compute:
108