blob: d7d1d6d431480c797226b133d6652e47dd5b1dc0 [file] [log] [blame]
Zack Williams1b96a952017-07-17 16:48:01 -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# rcord-physical-example Pod Config
17# Example configuration for a physical R-CORD pod
18
19cord_scenario: cord
20cord_profile: rcord
21
Zack Williams1b96a952017-07-17 16:48:01 -070022# Bring up the corddev VM. This is the `build` node as specified in ansible
23# inventory below.
24vagrant_vms:
25 - 'corddev'
26
27# Location of the cord_profile directory to be mounted in the `corddev` VM by
28# Vagrant.
29#
30# host_cord_profile_dir: "/path_to/cord_profile"
31
32# Set these directory paths if the defaults aren't suitable, or if deploying
33# multiple pods from the same source tree where the credentials, keys, and
34# profile should differ.
35#
36# credentials_dir: '/path_to/credentials'
37# pki_dir: '/path_to/pki'
38# ssh_pki_dir: '/path_to/ssh_pki'
39
Zack Williamsce63eb02017-02-28 10:46:22 -070040# Variables
Zack Williams1b96a952017-07-17 16:48:01 -070041# IP address used for the ONOS Fabric
Zack Williamsce63eb02017-02-28 10:46:22 -070042fabric_ip: '10.6.1.1/24'
Zack Williamsce63eb02017-02-28 10:46:22 -070043
Zack Williams1b96a952017-07-17 16:48:01 -070044# IP and range of the management network, which MaaS serves DHCP
45management_ip: '10.6.0.1/24'
46management_network: '10.6.0.0/24'
47
48# External gateway IP address and range that the head node is on
49external_ip: '10.80.1.1/24'
50
51# name or IP of the POD head node, used to SSH to the head node. You can also
52# specify the head node user here in user@hostname format. This could also be
53# `cord@headnode.site1.opencord.org` as specified later in inventory, if
54# external DNS is set up.
55headnode: 'cord@10.80.1.200'
56
57# the external IP on the head node and docker registry (on the head node)
58external_gw: '10.80.1.200'
59deploy_docker_registry: "10.80.1.200:5000"
60
61# Makefile targets
62# primary build target (the final MaaS build step in this case)
63build_targets:
64 - 'setup-automation'
65
66copy_cord_prereqs:
67 - 'config-ssh-key'
68
69skipTags:
70 - 'set_compute_node_password'
71
72# Wait until headnode prepped before building containers, for consistent DNS
73docker_images_prereqs:
74 - 'prep-headnode'
Zack Williamsce63eb02017-02-28 10:46:22 -070075
76# Inventory for ansible, used to generate inventory.ini
Zack Williams1b96a952017-07-17 16:48:01 -070077# There must be a config, build, head, and compute sections
Zack Williamsce63eb02017-02-28 10:46:22 -070078inventory_groups:
79
80 config:
81 localhost:
82 ansible_connection: local
83
84 build:
Zack Williams1b96a952017-07-17 16:48:01 -070085 corddev:
Zack Williamsce63eb02017-02-28 10:46:22 -070086
87 head:
88 headnode.site1.opencord.org:
Zack Williams1b96a952017-07-17 16:48:01 -070089 ansible_host: 10.80.1.200
Zack Williamsce63eb02017-02-28 10:46:22 -070090 ansible_port: 22
Zack Williams1b96a952017-07-17 16:48:01 -070091 ansible_user: cord
92 ansible_ssh_pass: cordpass
Zack Williamsce63eb02017-02-28 10:46:22 -070093
94 compute:
95