blob: 13909fa0907e66f285778fc5b4838e80dea04e54 [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 Williamsce63eb02017-02-28 10:46:22 -070016# opencloud Scenario
17# For a virtual install, physical does not use VMs
18
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
57start_xos_prereqs:
58 - deploy-elasticstack
59
60deploy_onos_prereqs:
61 - deploy-elasticstack
62
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 Williams2f56eee2017-07-17 09:59:16 -070080head_vm_mem: 16384
Zack Williamsce63eb02017-02-28 10:46:22 -070081head_vm_cpu: 8
82
83compute_vm_mem: 16384
84compute_vm_cpu: 8
85
Zack Williams0a7ef162017-07-18 18:15:26 -070086vm_management_network_name: cordmgmt
87vm_public_network_name: cordpub
88vm_public_network_cidr: "10.230.100.0/24"
Zack Williamsce63eb02017-02-28 10:46:22 -070089
90# images for imagebuilder to build/pull (tagged elsewhere)
91docker_image_whitelist:
92 - "xosproject/xos-base"
93 - "xosproject/xos"
94 - "xosproject/xos-client"
95 - "xosproject/xos-corebuilder"
96 - "xosproject/xos-gui"
97 - "xosproject/xos-gui-extension-builder"
Zack Williamseeeb6dd2017-07-13 10:50:28 -070098 - "xosproject/xos-libraries"
Zack Williamsce63eb02017-02-28 10:46:22 -070099 - "xosproject/xos-postgres"
Zack Williamseeeb6dd2017-07-13 10:50:28 -0700100 - "xosproject/xos-tosca"
Zack Williamsce63eb02017-02-28 10:46:22 -0700101 - "xosproject/xos-ws"
102 - "xosproject/chameleon"
103 - "xosproject/gui-extension-rcord"
104 - "xosproject/gui-extension-sample"
105 - "xosproject/gui-extension-vtr"
Zack Williams0a7ef162017-07-18 18:15:26 -0700106 - "xosproject/xos-synchronizer-base"
Scott Bakerbd37a062017-09-08 13:51:55 -0700107 - "xosproject/addressmanager-synchronizer"
Zack Williams0a7ef162017-07-18 18:15:26 -0700108 - "xosproject/exampleservice-synchronizer"
Zack Williamsce63eb02017-02-28 10:46:22 -0700109 - "xosproject/onos-synchronizer"
110 - "xosproject/openstack-synchronizer"
111 - "xosproject/vrouter-synchronizer"
112 - "xosproject/vtn-synchronizer"
Zack Williamsce63eb02017-02-28 10:46:22 -0700113 - "gliderlabs/consul-server"
114 - "gliderlabs/registrator"
115 - "nginx"
116 - "onosproject/onos"
117 - "redis"
Andy Bavier56b12b52017-08-03 11:46:42 -0700118 - "node"
Zack Williamsce63eb02017-02-28 10:46:22 -0700119
Zack Williams0a7ef162017-07-18 18:15:26 -0700120
121
Zack Williamsce63eb02017-02-28 10:46:22 -0700122# Ansible Inventory
123inventory_groups:
124
125 config:
126 localhost:
127 ansible_connection: local
128
129 build:
130 head1:
131
132 head:
133 head1:
134
135 compute:
136 compute1:
Zack Williamsa5fcefd2017-07-27 22:06:33 -0700137 compute2:
Zack Williamsce63eb02017-02-28 10:46:22 -0700138