blob: 37a93269dab0d17270a357c73e03bd179804bf5f [file] [log] [blame]
Zack Williams3aa32f02017-12-13 19:58:19 -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# controlpod scenario
17# Brings up XOS with synchronizers and ONOS
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
Zack Williams82f24ca2017-12-30 13:53:46 -070026vagrant_box: "bento/ubuntu-16.04"
Zack Williams3aa32f02017-12-13 19:58:19 -070027head_vm_mem: 4096
28head_vm_cpu: 8
29head_vm_ip: "192.168.46.100"
30
Zack Williams7ec0e392018-01-24 17:38:56 -070031buildnode: head1
32headnode: head1
33
Zack Williams3aa32f02017-12-13 19:58:19 -070034physical_node_list:
35 - name: head1
36 ipv4_last_octet: 1
37 aliases:
38 - head
39
40# make targets
41build_targets:
42 - onboard-profile
43
44cord_config_prereqs:
45 - vagrant-ssh-install
46
47prep_headnode_prereqs:
48 - prep-buildnode
49
50docker_images_prereqs:
51 - prep-headnode
52
53start_xos_prereqs:
54 - deploy-onos
55
56# controlpod scenario configuration
57frontend_only: False
58use_maas: False
59use_apt_cache: False
60use_openstack: False
61create_configdirs_become: False
62xos_images: []
63
64# whitelist of images for imagebuilder to build/pull (tagged elsewhere)
65docker_image_whitelist:
66 - "xosproject/xos-base"
Scott Baker3c3f06a2018-03-29 15:38:36 -070067 - "xosproject/xos-core"
Zack Williams3aa32f02017-12-13 19:58:19 -070068 - "xosproject/xos-client"
Zack Williams3aa32f02017-12-13 19:58:19 -070069 - "xosproject/xos-gui"
70 - "xosproject/xos-gui-builder"
71 - "xosproject/xos-libraries"
Zack Williams3aa32f02017-12-13 19:58:19 -070072 - "xosproject/xos-tosca"
73 - "xosproject/xos-ws"
74 - "xosproject/chameleon"
75 - "xosproject/xos-synchronizer-base"
Zack Williams3aa32f02017-12-13 19:58:19 -070076 - "nginx"
Zack Williams9bb7e7b2018-04-02 13:31:29 -070077 - "node"
Zack Williams3aa32f02017-12-13 19:58:19 -070078 - "onosproject/onos"
79 - "opencord/mavenrepo"
Zack Williams9bb7e7b2018-04-02 13:31:29 -070080 - "postgres"
Zack Williams3aa32f02017-12-13 19:58:19 -070081 - "redis"
Zack Williams3aa32f02017-12-13 19:58:19 -070082
83# Ansible Inventory
84inventory_groups:
85
86 config:
87 localhost:
88 ansible_connection: local
89
90 build:
91 head1:
92
93 head:
94 head1:
95
96 compute:
97