blob: 906b56ea14a9546e6fd36311ff22783e00c15bc2 [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 Williams0a7ef162017-07-18 18:15:26 -070017---
18# single head-node scenario
19# Brings up a VM with synchronizers, for more complicated testing without OpenStack
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
28head_vm_mem: 4096
29head_vm_cpu: 8
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 Williams0a7ef162017-07-18 18:15:26 -070054# single scenario configuration
55frontend_only: False
56use_maas: False
57use_apt_cache: False
58use_openstack: False
Zack Williamsa5fcefd2017-07-27 22:06:33 -070059create_configdirs_become: False
Zack Williams0a7ef162017-07-18 18:15:26 -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"
70 - "xosproject/xos-libraries"
71 - "xosproject/xos-postgres"
72 - "xosproject/xos-tosca"
73 - "xosproject/xos-ws"
74 - "xosproject/chameleon"
75 - "xosproject/gui-extension-rcord"
76 - "xosproject/gui-extension-sample"
77 - "xosproject/gui-extension-vtr"
78 - "xosproject/xos-synchronizer-base"
Scott Baker30333862017-09-08 13:51:55 -070079 - "xosproject/addressmanager-synchronizer"
Zack Williams0a7ef162017-07-18 18:15:26 -070080 - "xosproject/exampleservice-synchronizer"
81 - "xosproject/fabric-synchronizer"
82 - "xosproject/onos-synchronizer"
83 - "xosproject/openstack-synchronizer"
84 - "xosproject/volt-synchronizer"
85 - "xosproject/vrouter-synchronizer"
86 - "xosproject/vsg-synchronizer"
87 - "xosproject/vtn-synchronizer"
88 - "xosproject/vtr-synchronizer"
89 - "gliderlabs/consul-server"
90 - "gliderlabs/registrator"
91 - "nginx"
92 - "onosproject/onos"
93 - "redis"
Andy Bavier56b12b52017-08-03 11:46:42 -070094 - "node"
Zack Williams0a7ef162017-07-18 18:15:26 -070095
96# Ansible Inventory
97inventory_groups:
98
99 config:
100 localhost:
101 ansible_connection: local
102
103 build:
104 headnode:
105
106 head:
107 headnode:
108
109 compute:
110