blob: bcdea85b393ee96533b9bbda457ba1d96f8e082e [file] [log] [blame]
Zack Williams7f3cfd42017-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 Williams7f3cfd42017-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 Williams7f3cfd42017-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
Zack Williams0a7ef162017-07-18 18:15:26 -070032physical_node_list:
Zack Williamsc818a892017-10-23 22:46:19 -070033 - name: head1
Zack Williams0a7ef162017-07-18 18:15:26 -070034 ipv4_last_octet: 1
35 aliases:
36 - head
37
38# make targets
39build_targets:
40 - onboard-profile
41
Zack Williams63dd02f2017-10-16 22:30:00 -070042cord_config_prereqs:
43 - vagrant-ssh-install
44
Zack Williams0a7ef162017-07-18 18:15:26 -070045prep_headnode_prereqs:
46 - prep-buildnode
47
Zack Williamsa5fcefd2017-07-27 22:06:33 -070048docker_images_prereqs:
49 - prep-headnode
50
Zack Williams0a7ef162017-07-18 18:15:26 -070051# single scenario configuration
52frontend_only: False
53use_maas: False
54use_apt_cache: False
55use_openstack: False
Zack Williamsa5fcefd2017-07-27 22:06:33 -070056create_configdirs_become: False
Zack Williams0a7ef162017-07-18 18:15:26 -070057xos_images: []
58
59# whitelist of images for imagebuilder to build/pull (tagged elsewhere)
60docker_image_whitelist:
61 - "xosproject/xos-base"
62 - "xosproject/xos"
63 - "xosproject/xos-client"
64 - "xosproject/xos-corebuilder"
65 - "xosproject/xos-gui"
Matteo Scandolo5c634b02017-11-16 10:13:55 -080066 - "xosproject/xos-gui-builder"
Zack Williams0a7ef162017-07-18 18:15:26 -070067 - "xosproject/xos-libraries"
68 - "xosproject/xos-postgres"
69 - "xosproject/xos-tosca"
70 - "xosproject/xos-ws"
71 - "xosproject/chameleon"
72 - "xosproject/gui-extension-rcord"
73 - "xosproject/gui-extension-sample"
Max Chu1daf5ab2017-11-06 10:34:38 -080074 - "xosproject/gui-extension-veestat"
Zack Williams7f3cfd42017-09-29 07:57:14 -070075 - "xosproject/gui-extension-vnaas"
Zack Williams0a7ef162017-07-18 18:15:26 -070076 - "xosproject/gui-extension-vtr"
77 - "xosproject/xos-synchronizer-base"
Scott Baker30333862017-09-08 13:51:55 -070078 - "xosproject/addressmanager-synchronizer"
Zack Williams0a7ef162017-07-18 18:15:26 -070079 - "xosproject/exampleservice-synchronizer"
80 - "xosproject/fabric-synchronizer"
81 - "xosproject/onos-synchronizer"
82 - "xosproject/openstack-synchronizer"
Zack Williams7f3cfd42017-09-29 07:57:14 -070083 - "xosproject/vee-synchronizer"
84 - "xosproject/veg-synchronizer"
85 - "xosproject/vnaas-synchronizer"
Zack Williams0a7ef162017-07-18 18:15:26 -070086 - "xosproject/volt-synchronizer"
87 - "xosproject/vrouter-synchronizer"
Sapan Bhatia2bc46a42017-11-03 22:57:42 -040088 - "xosproject/vepc-synchronizer"
Zack Williams0a7ef162017-07-18 18:15:26 -070089 - "xosproject/vsg-synchronizer"
90 - "xosproject/vtn-synchronizer"
91 - "xosproject/vtr-synchronizer"
Andy Bavier7231be42017-10-03 14:14:51 -070092 - "xosproject/vmme-synchronizer"
Andy Bavier19b8fbd2017-10-12 15:09:27 -070093 - "xosproject/internetemulator-synchronizer"
Woojoong Kimee82a832017-10-18 09:38:03 -070094 - "xosproject/sdncontroller-synchronizer"
JianHaof4cdf5e2017-10-20 21:53:19 +080095 - "xosproject/vspgwc-synchronizer"
Wei-Yu Chenc08aab92017-10-21 13:55:09 +080096 - "xosproject/vspgwu-synchronizer"
Matteo Scandolo4f7a4ce2017-10-06 11:31:04 -070097 - "xosproject/venb-synchronizer"
Andy Bavier770901a2017-10-24 16:54:15 -070098 - "xosproject/templateservice-synchronizer"
Zack Williams0a7ef162017-07-18 18:15:26 -070099 - "gliderlabs/consul-server"
100 - "gliderlabs/registrator"
101 - "nginx"
102 - "onosproject/onos"
Zack Williams03677532017-11-16 09:50:09 -0700103 - "opencord/mavenrepo"
Zack Williams0a7ef162017-07-18 18:15:26 -0700104 - "redis"
Andy Bavier56b12b52017-08-03 11:46:42 -0700105 - "node"
Zack Williams0a7ef162017-07-18 18:15:26 -0700106
107# Ansible Inventory
108inventory_groups:
109
110 config:
111 localhost:
112 ansible_connection: local
113
114 build:
Zack Williamsc818a892017-10-23 22:46:19 -0700115 head1:
Zack Williams0a7ef162017-07-18 18:15:26 -0700116
117 head:
Zack Williamsc818a892017-10-23 22:46:19 -0700118 head1:
Zack Williams0a7ef162017-07-18 18:15:26 -0700119
120 compute:
121