blob: c43361c48b0c73e3eed3d5bbc897c74965d31b6b [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
Andy Bavier99c11d32016-09-14 17:21:20 -040017# Deployment configuration for VirtualBox based head node.
18#
19# This deployment configuration can be utilized with the head node created
Zack Williamsa9e76ec2017-01-20 16:17:35 -070020# via `vagrant up headnode` from the gerrit.opencord.org/maas repository.
Andy Bavier99c11d32016-09-14 17:21:20 -040021---
22debug: false
23
Zack Williams0620c932017-01-25 14:36:31 -070024# this is used to generate the genconfig/cord-inv file
25headnode:
Andy Bavier99c11d32016-09-14 17:21:20 -040026 ip: '10.100.198.201'
Zack Williamsa9e76ec2017-01-20 16:17:35 -070027 ansible_user: 'vagrant'
28 ansible_ssh_pass: 'vagrant'
Zack Williams932646a2017-01-26 11:08:56 -070029 ansible_ssh_port: 22
Andy Bavier99c11d32016-09-14 17:21:20 -040030
Zack Williams0620c932017-01-25 14:36:31 -070031common:
32 # all of these are written to genconfig/config.yml, and needs a rework
33
34 # set to the "flavor" of cord you want to install
35 cord_profile: 'rcord'
Zack Williams31fbc6b2017-04-21 22:04:44 -070036
Zack Williams83a94ce2017-05-20 13:36:09 -070037 # cord dir is shared to corddev VM, may need redirection to work
Zack Williams31fbc6b2017-04-21 22:04:44 -070038 credentials_dir: '/opt/credentials'
39 pki_dir: '/opt/pki'
40 ssh_pki_dir: '/opt/ssh_pki'
Zack Williams0620c932017-01-25 14:36:31 -070041
Andy Bavier99c11d32016-09-14 17:21:20 -040042 # Specifies tasks within the head node provisioning not to execute, including:
43 #
44 # switch_support - don't download the switch ONL images as there are no
45 # switches in this configuration
46 # interface_config - don't update the network configuration of the headnode
47 # as it is configured by vagrant to the proper settings
48 skipTags:
49 - 'switch_support'
50 - 'reboot'
51 - 'interface_config'
52
Andy Bavierb5796fb2016-10-20 12:06:47 -040053 fabric_ip: '10.6.1.1/24'
Andy Bavier99c11d32016-09-14 17:21:20 -040054 management_ip: '10.1.0.1/24'
55 external_iface: 'eth0'
56 management_network: '10.1.0.0/24'
57
58 # Specifies the extra settings required for this configuration
59 #
60 # virtualbox_support - install support for managing virtual box based
61 # compute nodes
Andy Bavier2505f592016-11-11 15:58:55 -050062 # virtualbox_support: 1
63 # power_helper_user: 'cord'
Andy Bavier99c11d32016-09-14 17:21:20 -040064
Zack Williamsa9e76ec2017-01-20 16:17:35 -070065 # on_cloudlab: True
66 cord_in_a_box: True
67
Andy Bavier99c11d32016-09-14 17:21:20 -040068 extraVars:
Andy Bavierb5796fb2016-10-20 12:06:47 -040069 - 'fabric_include_names=eth2'
70 - 'fabric_include_module_types=omit'
71 - 'fabric_exclude_names=eth0,eth1'
72 - 'management_include_names=eth1'
73 - 'management_exclude_names=eth0,eth2'
Andy Bavier99c11d32016-09-14 17:21:20 -040074
75docker:
76 imageVersion: candidate
Andy Bavier8a608cb2016-11-16 06:21:55 -080077 registry: '10.100.198.201:5000'
Andy Bavier99c11d32016-09-14 17:21:20 -040078
79otherServers:
80 # Specifies the configuration for dynamically added compute nodes
81 fabric:
Andy Bavierb5796fb2016-10-20 12:06:47 -040082 network: '10.6.1.1/24'
83 management: '10.1.0.0/24'
Zack Williams0620c932017-01-25 14:36:31 -070084