blob: a2773186ae057929b301775eb1a18ffde63d8010 [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
19use_maas: False
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
27buildnode: head1
28headnode: head1
29
30# Make build config
31build_targets:
32 - deploy-kubespray
33# - prep-computenode
34# - prep-headnode
35# - core-image
36
37config_ssh_key_prereqs:
38 - vagrant-ssh-install
39
40copy_cord_prereqs:
41 - vagrant-ssh-install
42
43cord_config_prereqs:
44 - vagrant-ssh-install
45 - copy-cord
46
47prep_buildnode_prereqs:
48 - copy-cord
49 - copy-config
50
51# Run build prep before head prep, when build == head
52prep_headnode_prereqs:
53 - prep-buildnode
54
55# Wait until headnode prepped before building containers, for consistent DNS
56docker_images_prereqs:
57 - prep-headnode
58
59# node topology, used to bring up management interfaces
60physical_node_list:
61 - name: head1
62 ipv4_last_octet: 1
63 aliases:
64 - head
65 - name: compute1
66 ipv4_last_octet: 17
67 - name: compute2
68 ipv4_last_octet: 18
69
70# Vagrant VM configuration
71vagrant_vms:
72 - head1
73 - compute1
74 - compute2
75
76# Vagrant VM configuration
77vagrant_box: "bento/ubuntu-16.04"
78
79head_vm_mem: 2048
80head_vm_cpu: 4
81
82compute_vm_mem: 2048
83compute_vm_cpu: 4
84
85vm_management_network_name: cordmgmt
86vm_public_network_name: cordpub
87vm_public_network_cidr: "10.230.100.0/24"
88
89# images for imagebuilder to build/pull (tagged elsewhere)
90docker_image_whitelist:
91 - "xosproject/xos-base"
92 - "xosproject/xos"
93 - "xosproject/xos-client"
94 - "xosproject/xos-corebuilder"
95 - "xosproject/xos-gui"
96 - "xosproject/xos-gui-builder"
97 - "xosproject/xos-libraries"
98 - "xosproject/xos-postgres"
99 - "xosproject/xos-tosca"
100 - "xosproject/xos-ws"
101 - "xosproject/chameleon"
102 - "xosproject/xos-synchronizer-base"
103 - "gliderlabs/consul-server"
104 - "gliderlabs/registrator"
105 - "nginx"
106 - "onosproject/onos"
107 - "redis"
108 - "node"
109 - "sebp/elk"
110
111# Ansible Inventory
112inventory_groups:
113
114 config:
115 localhost:
116 ansible_connection: local
117
118 build:
119 head1:
120
121 head:
122 head1:
123
124 compute:
125 compute1:
126 compute2:
127