blob: c3812a92db437cb0d02ba49e50d3154276e606a7 [file] [log] [blame]
Matteo Scandolo60b640f2017-08-08 13:05:22 -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
Zack Williamsce63eb02017-02-28 10:46:22 -070017---
18# opencloud Scenario
19# For a virtual install, physical does not use VMs
20
21# opencloud profile config
22frontend_only: False
23
24# create a cord_profile dir next to the cord checkout
25config_cord_dir: "{{ ( playbook_dir ~ '/../..' ) | realpath }}"
26config_cord_profile_dir: "{{ ( playbook_dir ~ '/../../../cord_profile' ) | realpath }}"
27
28build_cord_dir: /opt/cord
29
30buildnode: head1
31headnode: head1
32
Zack Williams0a7ef162017-07-18 18:15:26 -070033# Make build config
Zack Williamsce63eb02017-02-28 10:46:22 -070034build_targets:
Zack Williamsa5fcefd2017-07-27 22:06:33 -070035 - onos-debug
Zack Williamsce63eb02017-02-28 10:46:22 -070036 - onboard-openstack
37
38vagrant_up_prereqs:
39 - prereqs-check
40
Zack Williams0a7ef162017-07-18 18:15:26 -070041# Copy cord and config to physical/virtual nodes
Zack Williamsce63eb02017-02-28 10:46:22 -070042cord_config_prereqs:
43 - copy-cord
44
45copy_config_prereqs:
46 - cord-config
47
48prep_buildnode_prereqs:
49 - copy-cord
50 - copy-config
51
Zack Williams0a7ef162017-07-18 18:15:26 -070052# Run build prep before head prep, when build == head
Zack Williamsce63eb02017-02-28 10:46:22 -070053prep_headnode_prereqs:
54 - prep-buildnode
55
Zack Williamsa5fcefd2017-07-27 22:06:33 -070056# Wait until headnode prepped before building containers, for consistent DNS
57docker_images_prereqs:
58 - prep-headnode
59
Zack Williams0a7ef162017-07-18 18:15:26 -070060# Start elasticstack before XOS/ONOS, which log to it
61start_xos_prereqs:
62 - deploy-elasticstack
63
64deploy_onos_prereqs:
65 - deploy-elasticstack
66
67# node topology, used to bring up management interfaces
68physical_node_list:
69 - name: head1
70 ipv4_last_octet: 1
71 aliases:
72 - head
73 - name: compute1
Zack Williamsa5fcefd2017-07-27 22:06:33 -070074 ipv4_last_octet: 250
Zack Williams0a7ef162017-07-18 18:15:26 -070075 - name: compute2
Zack Williamsa5fcefd2017-07-27 22:06:33 -070076 ipv4_last_octet: 251
Zack Williams0a7ef162017-07-18 18:15:26 -070077
Zack Williamsce63eb02017-02-28 10:46:22 -070078# Vagrant VM configuration
79vagrant_vms:
80 - head1
81 - compute1
Zack Williamsa5fcefd2017-07-27 22:06:33 -070082 - compute2
Zack Williamsce63eb02017-02-28 10:46:22 -070083
Zack Williams2f56eee2017-07-17 09:59:16 -070084head_vm_mem: 16384
Zack Williamsce63eb02017-02-28 10:46:22 -070085head_vm_cpu: 8
86
87compute_vm_mem: 16384
88compute_vm_cpu: 8
89
Zack Williams0a7ef162017-07-18 18:15:26 -070090vm_management_network_name: cordmgmt
91vm_public_network_name: cordpub
92vm_public_network_cidr: "10.230.100.0/24"
Zack Williamsce63eb02017-02-28 10:46:22 -070093
94# images for imagebuilder to build/pull (tagged elsewhere)
95docker_image_whitelist:
96 - "xosproject/xos-base"
97 - "xosproject/xos"
98 - "xosproject/xos-client"
99 - "xosproject/xos-corebuilder"
100 - "xosproject/xos-gui"
101 - "xosproject/xos-gui-extension-builder"
Zack Williamseeeb6dd2017-07-13 10:50:28 -0700102 - "xosproject/xos-libraries"
Zack Williamsce63eb02017-02-28 10:46:22 -0700103 - "xosproject/xos-postgres"
Zack Williamseeeb6dd2017-07-13 10:50:28 -0700104 - "xosproject/xos-tosca"
Zack Williamsce63eb02017-02-28 10:46:22 -0700105 - "xosproject/xos-ws"
106 - "xosproject/chameleon"
107 - "xosproject/gui-extension-rcord"
108 - "xosproject/gui-extension-sample"
109 - "xosproject/gui-extension-vtr"
Zack Williams0a7ef162017-07-18 18:15:26 -0700110 - "xosproject/xos-synchronizer-base"
Scott Baker30333862017-09-08 13:51:55 -0700111 - "xosproject/addressmanager-synchronizer"
Zack Williams0a7ef162017-07-18 18:15:26 -0700112 - "xosproject/exampleservice-synchronizer"
Zack Williamsce63eb02017-02-28 10:46:22 -0700113 - "xosproject/onos-synchronizer"
114 - "xosproject/openstack-synchronizer"
115 - "xosproject/vrouter-synchronizer"
116 - "xosproject/vtn-synchronizer"
Zack Williamsce63eb02017-02-28 10:46:22 -0700117 - "gliderlabs/consul-server"
118 - "gliderlabs/registrator"
119 - "nginx"
120 - "onosproject/onos"
121 - "redis"
Andy Bavier56b12b52017-08-03 11:46:42 -0700122 - "node"
Zack Williamsce63eb02017-02-28 10:46:22 -0700123
Zack Williams0a7ef162017-07-18 18:15:26 -0700124
125
Zack Williamsce63eb02017-02-28 10:46:22 -0700126# Ansible Inventory
127inventory_groups:
128
129 config:
130 localhost:
131 ansible_connection: local
132
133 build:
134 head1:
135
136 head:
137 head1:
138
139 compute:
140 compute1:
Zack Williamsa5fcefd2017-07-27 22:06:33 -0700141 compute2:
Zack Williamsce63eb02017-02-28 10:46:22 -0700142