blob: 985eb4a448c711d5d68dae6d9ede56a533bd6060 [file] [log] [blame]
Zack Williamsa7104e32018-01-03 10:55:26 -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# controlkube Scenario - installs XOS/ONOS on kubernetes, similar to controlpod
17
18frontend_only: False
Zack Williams9f42b972018-01-10 15:05:35 -070019use_k8s: True
Zack Williamsa7104e32018-01-03 10:55:26 -070020use_maas: False
Zack Williams9f42b972018-01-10 15:05:35 -070021use_openstack: False
Zack Williamsa7104e32018-01-03 10:55:26 -070022
23# create a cord_profile dir next to the cord checkout
24config_cord_dir: "{{ ( playbook_dir ~ '/../..' ) | realpath }}"
25config_cord_profile_dir: "{{ ( playbook_dir ~ '/../../../cord_profile' ) | realpath }}"
26
Zack Williams9f42b972018-01-10 15:05:35 -070027create_configdirs_become: False
28
Zack Williamsa7104e32018-01-03 10:55:26 -070029build_cord_dir: /opt/cord
30
Zack Williams9f42b972018-01-10 15:05:35 -070031# Vagrant VM configuration
32vagrant_box: "bento/ubuntu-16.04"
33
34head_vm_mem: 2048
35head_vm_cpu: 4
36
37compute_vm_mem: 2048
38compute_vm_cpu: 4
39
Zack Williamsa7104e32018-01-03 10:55:26 -070040buildnode: head1
41headnode: head1
42
Zack Williams9f42b972018-01-10 15:05:35 -070043vagrant_vms:
44 - head1
45 - compute1
46 - compute2
47
Zack Williamsa7104e32018-01-03 10:55:26 -070048# Make build config
49build_targets:
Zack Williams9f42b972018-01-10 15:05:35 -070050 - start-xos-helm
Zack Williamsa7104e32018-01-03 10:55:26 -070051
52config_ssh_key_prereqs:
53 - vagrant-ssh-install
54
55copy_cord_prereqs:
56 - vagrant-ssh-install
57
58cord_config_prereqs:
59 - vagrant-ssh-install
60 - copy-cord
61
62prep_buildnode_prereqs:
63 - copy-cord
64 - copy-config
65
66# Run build prep before head prep, when build == head
67prep_headnode_prereqs:
68 - prep-buildnode
69
70# Wait until headnode prepped before building containers, for consistent DNS
71docker_images_prereqs:
72 - prep-headnode
73
Zack Williams9f42b972018-01-10 15:05:35 -070074# have kubespray skip docker installation
75skipTags:
76 - docker
77
Zack Williamsa7104e32018-01-03 10:55:26 -070078# node topology, used to bring up management interfaces
79physical_node_list:
80 - name: head1
81 ipv4_last_octet: 1
82 aliases:
83 - head
84 - name: compute1
85 ipv4_last_octet: 17
86 - name: compute2
87 ipv4_last_octet: 18
88
Zack Williams9f42b972018-01-10 15:05:35 -070089management_net_bridge: "mgmtbridge"
Zack Williamsa7104e32018-01-03 10:55:26 -070090
91vm_management_network_name: cordmgmt
92vm_public_network_name: cordpub
93vm_public_network_cidr: "10.230.100.0/24"
94
95# images for imagebuilder to build/pull (tagged elsewhere)
96docker_image_whitelist:
97 - "xosproject/xos-base"
Scott Baker3c3f06a2018-03-29 15:38:36 -070098 - "xosproject/xos-core"
Zack Williamsa7104e32018-01-03 10:55:26 -070099 - "xosproject/xos-client"
Zack Williamsa7104e32018-01-03 10:55:26 -0700100 - "xosproject/xos-gui"
101 - "xosproject/xos-gui-builder"
102 - "xosproject/xos-libraries"
Zack Williamsa7104e32018-01-03 10:55:26 -0700103 - "xosproject/xos-tosca"
104 - "xosproject/xos-ws"
105 - "xosproject/chameleon"
106 - "xosproject/xos-synchronizer-base"
Zack Williamsa7104e32018-01-03 10:55:26 -0700107 - "nginx"
Zack Williams9bb7e7b2018-04-02 13:31:29 -0700108 - "node"
Zack Williamsa7104e32018-01-03 10:55:26 -0700109 - "onosproject/onos"
Zack Williams9f42b972018-01-10 15:05:35 -0700110 - "opencord/mavenrepo"
Zack Williams9bb7e7b2018-04-02 13:31:29 -0700111 - "postgres"
Zack Williamsa7104e32018-01-03 10:55:26 -0700112 - "redis"
Zack Williamsa7104e32018-01-03 10:55:26 -0700113 - "sebp/elk"
114
115# Ansible Inventory
116inventory_groups:
117
118 config:
119 localhost:
120 ansible_connection: local
121
122 build:
123 head1:
124
125 head:
126 head1:
127
128 compute:
129 compute1:
130 compute2:
131