blob: 14d06ad4226fff8c840b6d74ad43dcb2e53fceab [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
19# opencloud profile config
20frontend_only: False
21
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 Williams0a7ef162017-07-18 18:15:26 -070039# Copy cord and config to physical/virtual nodes
Zack Williamsce63eb02017-02-28 10:46:22 -070040cord_config_prereqs:
Zack Williamsf87ef6e2017-10-16 22:30:00 -070041 - vagrant-ssh-install
Zack Williamsce63eb02017-02-28 10:46:22 -070042 - copy-cord
43
Zack Williamsce63eb02017-02-28 10:46:22 -070044prep_buildnode_prereqs:
45 - copy-cord
46 - copy-config
47
Zack Williams0a7ef162017-07-18 18:15:26 -070048# Run build prep before head prep, when build == head
Zack Williamsce63eb02017-02-28 10:46:22 -070049prep_headnode_prereqs:
50 - prep-buildnode
51
Zack Williamsa5fcefd2017-07-27 22:06:33 -070052# Wait until headnode prepped before building containers, for consistent DNS
53docker_images_prereqs:
54 - prep-headnode
55
Zack Williams0a7ef162017-07-18 18:15:26 -070056# Start elasticstack before XOS/ONOS, which log to it
Zack Williams82f24ca2017-12-30 13:53:46 -070057#start_xos_prereqs:
58# - deploy-elasticstack
59#
60#deploy_onos_prereqs:
61# - deploy-elasticstack
Zack Williams0a7ef162017-07-18 18:15:26 -070062
63# node topology, used to bring up management interfaces
64physical_node_list:
65 - name: head1
66 ipv4_last_octet: 1
67 aliases:
68 - head
69 - name: compute1
Zack Williamsa5fcefd2017-07-27 22:06:33 -070070 ipv4_last_octet: 250
Zack Williams0a7ef162017-07-18 18:15:26 -070071 - name: compute2
Zack Williamsa5fcefd2017-07-27 22:06:33 -070072 ipv4_last_octet: 251
Zack Williams0a7ef162017-07-18 18:15:26 -070073
Zack Williamsce63eb02017-02-28 10:46:22 -070074# Vagrant VM configuration
75vagrant_vms:
76 - head1
77 - compute1
Zack Williamsa5fcefd2017-07-27 22:06:33 -070078 - compute2
Zack Williamsce63eb02017-02-28 10:46:22 -070079
Zack Williams82f24ca2017-12-30 13:53:46 -070080# Vagrant VM configuration
81vagrant_box: "ubuntu/trusty64"
Zack Williams2f56eee2017-07-17 09:59:16 -070082head_vm_mem: 16384
Zack Williamsce63eb02017-02-28 10:46:22 -070083head_vm_cpu: 8
84
85compute_vm_mem: 16384
86compute_vm_cpu: 8
87
Zack Williams0a7ef162017-07-18 18:15:26 -070088vm_management_network_name: cordmgmt
89vm_public_network_name: cordpub
90vm_public_network_cidr: "10.230.100.0/24"
Zack Williamsce63eb02017-02-28 10:46:22 -070091
92# images for imagebuilder to build/pull (tagged elsewhere)
93docker_image_whitelist:
94 - "xosproject/xos-base"
95 - "xosproject/xos"
96 - "xosproject/xos-client"
97 - "xosproject/xos-corebuilder"
98 - "xosproject/xos-gui"
Matteo Scandolo9acc16b2017-11-16 10:13:55 -080099 - "xosproject/xos-gui-builder"
Zack Williamseeeb6dd2017-07-13 10:50:28 -0700100 - "xosproject/xos-libraries"
Zack Williamsce63eb02017-02-28 10:46:22 -0700101 - "xosproject/xos-postgres"
Zack Williamseeeb6dd2017-07-13 10:50:28 -0700102 - "xosproject/xos-tosca"
Zack Williamsce63eb02017-02-28 10:46:22 -0700103 - "xosproject/xos-ws"
104 - "xosproject/chameleon"
Zack Williams0a7ef162017-07-18 18:15:26 -0700105 - "xosproject/xos-synchronizer-base"
Zack Williamsce63eb02017-02-28 10:46:22 -0700106 - "gliderlabs/consul-server"
107 - "gliderlabs/registrator"
108 - "nginx"
109 - "onosproject/onos"
110 - "redis"
Andy Bavier56b12b52017-08-03 11:46:42 -0700111 - "node"
Zack Williamsce63eb02017-02-28 10:46:22 -0700112
Zack Williamsce63eb02017-02-28 10:46:22 -0700113# Ansible Inventory
114inventory_groups:
115
116 config:
117 localhost:
118 ansible_connection: local
119
120 build:
121 head1:
122
123 head:
124 head1:
125
126 compute:
127 compute1:
Zack Williamsa5fcefd2017-07-27 22:06:33 -0700128 compute2:
Zack Williamsce63eb02017-02-28 10:46:22 -0700129