blob: 11f3152ea8b8c6ce286d71af7e86e12cf37ffa36 [file] [log] [blame]
Zack Williams58e41572017-09-29 07:57:14 -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 Williams58e41572017-09-29 07:57:14 -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
Zack Williams58e41572017-09-29 07:57:14 -070018# Can be used with ONOS and ElasticStack, see:
19# https://guide.opencord.org/xos/dev/workflow_mock_single.html
Zack Williams0a7ef162017-07-18 18:15:26 -070020
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
Zack Williamsf87ef6e2017-10-16 22:30:00 -070048cord_config_prereqs:
49 - vagrant-ssh-install
50
Zack Williams0a7ef162017-07-18 18:15:26 -070051prep_headnode_prereqs:
52 - prep-buildnode
53
Zack Williamsa5fcefd2017-07-27 22:06:33 -070054docker_images_prereqs:
55 - prep-headnode
56
Zack Williams0a7ef162017-07-18 18:15:26 -070057# single scenario configuration
58frontend_only: False
59use_maas: False
60use_apt_cache: False
61use_openstack: False
Zack Williamsa5fcefd2017-07-27 22:06:33 -070062create_configdirs_become: False
Zack Williams0a7ef162017-07-18 18:15:26 -070063xos_images: []
64
65# whitelist of images for imagebuilder to build/pull (tagged elsewhere)
66docker_image_whitelist:
67 - "xosproject/xos-base"
68 - "xosproject/xos"
69 - "xosproject/xos-client"
70 - "xosproject/xos-corebuilder"
71 - "xosproject/xos-gui"
72 - "xosproject/xos-gui-extension-builder"
73 - "xosproject/xos-libraries"
74 - "xosproject/xos-postgres"
75 - "xosproject/xos-tosca"
76 - "xosproject/xos-ws"
77 - "xosproject/chameleon"
78 - "xosproject/gui-extension-rcord"
79 - "xosproject/gui-extension-sample"
Zack Williams58e41572017-09-29 07:57:14 -070080 - "xosproject/gui-extension-vnaas"
Zack Williams0a7ef162017-07-18 18:15:26 -070081 - "xosproject/gui-extension-vtr"
82 - "xosproject/xos-synchronizer-base"
Scott Bakerbd37a062017-09-08 13:51:55 -070083 - "xosproject/addressmanager-synchronizer"
Zack Williams0a7ef162017-07-18 18:15:26 -070084 - "xosproject/exampleservice-synchronizer"
85 - "xosproject/fabric-synchronizer"
86 - "xosproject/onos-synchronizer"
87 - "xosproject/openstack-synchronizer"
Zack Williams58e41572017-09-29 07:57:14 -070088 - "xosproject/vee-synchronizer"
89 - "xosproject/veg-synchronizer"
90 - "xosproject/vnaas-synchronizer"
Zack Williams0a7ef162017-07-18 18:15:26 -070091 - "xosproject/volt-synchronizer"
92 - "xosproject/vrouter-synchronizer"
93 - "xosproject/vsg-synchronizer"
94 - "xosproject/vtn-synchronizer"
95 - "xosproject/vtr-synchronizer"
Andy Bavier7641a192017-10-03 14:14:51 -070096 - "xosproject/vmme-synchronizer"
Andy Bavier483ffb72017-10-20 11:24:22 -070097 - "xosproject/internetemulator-synchronizer"
98 - "xosproject/sdncontroller-synchronizer"
99 - "xosproject/vspgwc-synchronizer"
Wei-Yu Chen66186242017-10-21 13:55:09 +0800100 - "xosproject/vspgwu-synchronizer"
Zack Williams0a7ef162017-07-18 18:15:26 -0700101 - "gliderlabs/consul-server"
102 - "gliderlabs/registrator"
103 - "nginx"
104 - "onosproject/onos"
105 - "redis"
Andy Bavier56b12b52017-08-03 11:46:42 -0700106 - "node"
Zack Williams0a7ef162017-07-18 18:15:26 -0700107
108# Ansible Inventory
109inventory_groups:
110
111 config:
112 localhost:
113 ansible_connection: local
114
115 build:
116 headnode:
117
118 head:
119 headnode:
120
121 compute:
122