blob: 12967f9edb9ae22dda516fb701ff00fb9936e84b [file] [log] [blame]
Zack Williamsf87ef6e2017-10-16 22:30:00 -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 Williams82f24ca2017-12-30 13:53:46 -070016# preppedpod Scenario - install CORD on prepared systems with OS installed
17# Only used with a virtual install, physical does not use VMs
Zack Williamsce63eb02017-02-28 10:46:22 -070018
Zack Williamsce63eb02017-02-28 10:46:22 -070019frontend_only: False
Zack Williamsa7104e32018-01-03 10:55:26 -070020use_maas: False
Zack Williamsce63eb02017-02-28 10:46:22 -070021
22# create a cord_profile dir next to the cord checkout
23config_cord_dir: "{{ ( playbook_dir ~ '/../..' ) | realpath }}"
24config_cord_profile_dir: "{{ ( playbook_dir ~ '/../../../cord_profile' ) | realpath }}"
25
26build_cord_dir: /opt/cord
27
28buildnode: head1
29headnode: head1
30
Zack Williams0a7ef162017-07-18 18:15:26 -070031# Make build config
Zack Williamsce63eb02017-02-28 10:46:22 -070032build_targets:
Zack Williamsf87ef6e2017-10-16 22:30:00 -070033 - onos-debug
34 - onboard-openstack
Zack Williamsce63eb02017-02-28 10:46:22 -070035
36vagrant_up_prereqs:
37 - prereqs-check
38
Zack Williamsa7104e32018-01-03 10:55:26 -070039config_ssh_key_prereqs:
40 - vagrant-ssh-install
41
42copy_cord_prereqs:
43 - vagrant-ssh-install
44
Zack Williamsce63eb02017-02-28 10:46:22 -070045cord_config_prereqs:
Zack Williamsf87ef6e2017-10-16 22:30:00 -070046 - vagrant-ssh-install
Zack Williamsce63eb02017-02-28 10:46:22 -070047 - copy-cord
48
Zack Williamsce63eb02017-02-28 10:46:22 -070049prep_buildnode_prereqs:
50 - copy-cord
51 - copy-config
52
Zack Williams0a7ef162017-07-18 18:15:26 -070053# Run build prep before head prep, when build == head
Zack Williamsce63eb02017-02-28 10:46:22 -070054prep_headnode_prereqs:
55 - prep-buildnode
56
Zack Williamsa5fcefd2017-07-27 22:06:33 -070057# Wait until headnode prepped before building containers, for consistent DNS
58docker_images_prereqs:
59 - prep-headnode
60
Zack Williams0a7ef162017-07-18 18:15:26 -070061# Start elasticstack before XOS/ONOS, which log to it
Zack Williams82f24ca2017-12-30 13:53:46 -070062#start_xos_prereqs:
63# - deploy-elasticstack
64#
65#deploy_onos_prereqs:
66# - deploy-elasticstack
Zack Williams0a7ef162017-07-18 18:15:26 -070067
68# node topology, used to bring up management interfaces
69physical_node_list:
70 - name: head1
71 ipv4_last_octet: 1
72 aliases:
73 - head
74 - name: compute1
Zack Williamsa5fcefd2017-07-27 22:06:33 -070075 ipv4_last_octet: 250
Zack Williams0a7ef162017-07-18 18:15:26 -070076 - name: compute2
Zack Williamsa5fcefd2017-07-27 22:06:33 -070077 ipv4_last_octet: 251
Zack Williams0a7ef162017-07-18 18:15:26 -070078
Zack Williamsce63eb02017-02-28 10:46:22 -070079# Vagrant VM configuration
80vagrant_vms:
81 - head1
82 - compute1
Zack Williamsa5fcefd2017-07-27 22:06:33 -070083 - compute2
Zack Williamsce63eb02017-02-28 10:46:22 -070084
Zack Williams82f24ca2017-12-30 13:53:46 -070085# Vagrant VM configuration
86vagrant_box: "ubuntu/trusty64"
Zack Williams2f56eee2017-07-17 09:59:16 -070087head_vm_mem: 16384
Zack Williamsce63eb02017-02-28 10:46:22 -070088head_vm_cpu: 8
89
90compute_vm_mem: 16384
91compute_vm_cpu: 8
92
Zack Williams0a7ef162017-07-18 18:15:26 -070093vm_management_network_name: cordmgmt
94vm_public_network_name: cordpub
95vm_public_network_cidr: "10.230.100.0/24"
Zack Williamsce63eb02017-02-28 10:46:22 -070096
97# images for imagebuilder to build/pull (tagged elsewhere)
98docker_image_whitelist:
99 - "xosproject/xos-base"
100 - "xosproject/xos"
101 - "xosproject/xos-client"
102 - "xosproject/xos-corebuilder"
103 - "xosproject/xos-gui"
Matteo Scandolo9acc16b2017-11-16 10:13:55 -0800104 - "xosproject/xos-gui-builder"
Zack Williamseeeb6dd2017-07-13 10:50:28 -0700105 - "xosproject/xos-libraries"
Zack Williamsce63eb02017-02-28 10:46:22 -0700106 - "xosproject/xos-postgres"
Zack Williamseeeb6dd2017-07-13 10:50:28 -0700107 - "xosproject/xos-tosca"
Zack Williamsce63eb02017-02-28 10:46:22 -0700108 - "xosproject/xos-ws"
109 - "xosproject/chameleon"
Zack Williams0a7ef162017-07-18 18:15:26 -0700110 - "xosproject/xos-synchronizer-base"
Zack Williamsce63eb02017-02-28 10:46:22 -0700111 - "gliderlabs/consul-server"
112 - "gliderlabs/registrator"
113 - "nginx"
114 - "onosproject/onos"
115 - "redis"
Andy Bavier56b12b52017-08-03 11:46:42 -0700116 - "node"
Sapan Bhatia377bd102017-12-12 13:55:45 -0500117 - "sebp/elk"
Zack Williamsce63eb02017-02-28 10:46:22 -0700118
Zack Williamsce63eb02017-02-28 10:46:22 -0700119# Ansible Inventory
120inventory_groups:
121
122 config:
123 localhost:
124 ansible_connection: local
125
126 build:
127 head1:
128
129 head:
130 head1:
131
132 compute:
133 compute1:
Zack Williamsa5fcefd2017-07-27 22:06:33 -0700134 compute2:
Zack Williamsce63eb02017-02-28 10:46:22 -0700135