blob: caec656e07fa5ae66d7747bb277cb18a104b3a66 [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
David K. Bainbridged54ca702016-07-13 22:27:12 -070017# Deployment configuration for a phyical hardware POD
18---
David K. Bainbridged54ca702016-07-13 22:27:12 -070019
Zack Williams0620c932017-01-25 14:36:31 -070020headnode:
21 ip: '10.90.0.2'
Zack Williams932646a2017-01-26 11:08:56 -070022 ansible_user: 'ubuntu'
23 ansible_ssh_pass: 'ubuntu'
24 ansible_ssh_port: 22
David K. Bainbridged54ca702016-07-13 22:27:12 -070025
Zack Williams0620c932017-01-25 14:36:31 -070026common:
Zack Williamse29c7d82017-02-10 16:36:02 -070027 # set to the profile of cord you want to install
28 cord_profile: 'rcord'
29
Zack Williams83a94ce2017-05-20 13:36:09 -070030 # cord dir is shared to corddev VM, causing permissions issues if these aren't set
Zack Williams31fbc6b2017-04-21 22:04:44 -070031 credentials_dir: '/opt/credentials'
32 pki_dir: '/opt/pki'
33 ssh_pki_dir: '/opt/ssh_pki'
Zack Williams0620c932017-01-25 14:36:31 -070034
David K. Bainbridged54ca702016-07-13 22:27:12 -070035 # Network address information for the head node:
36 #
37 # fabric_ip - the IP address and mask bits to be used to configure the network
38 # interface connected to the leaf - spine fabric
39 #
40 # management_ip - the IP address and mask bits to be used to configure the network
41 # interface connecting the head node to the POD internal
42 # management network. The head node will deliver DHCP addresses to
43 # the other compute nodes over this interface
44 #
45 # external_ip - the IP address and mask bits to be used to configure the network
46 # interface connecting the head node (and the POD) to the
47 # Internet. All traffic in the POD to external hosts will be
48 # NAT-ed through this interface
David K. Bainbridged54ca702016-07-13 22:27:12 -070049 # external_iface - the name of the interface that connects the head node to the
50 # Internet
51 # management_network - the network and mask bits to used for hosts on the management
52 # network
53 fabric_ip: '10.6.1.1/24'
David K. Bainbridge1705b812016-10-27 11:00:04 -070054 #fabric_range_low: '10.6.1.2'
55 #fabric_range_high: '10.6.1.100'
David K. Bainbridged54ca702016-07-13 22:27:12 -070056 management_ip: '10.6.0.1/24'
David K. Bainbridge9ea73d62016-11-22 12:59:28 -080057 #management_range_low: '10.6.0.2'
58 #management_range_high: '10.6.0.127'
David K. Bainbridged54ca702016-07-13 22:27:12 -070059 external_ip: '47.135.132.21/24'
David K. Bainbridged54ca702016-07-13 22:27:12 -070060 #external_iface: 'eth2'
Murat Parlakisikb7a6bf32016-08-24 06:52:28 -070061 management_network: 10.6.0.0/24
David K. Bainbridged54ca702016-07-13 22:27:12 -070062
63 # the skipTags options allow various part of the deployment to be skipped
64 # switch_support - does not deploy switch boot images to the PXE server
65 #
66 # reboot - will not reboot the head node after updating its network configuration
67 # this may mean the network configuration will not take effect, but will
David K. Bainbridge53e623f2016-10-04 21:11:37 -070068 # also prevent you from being locked out of the server if there is a
David K. Bainbridged54ca702016-07-13 22:27:12 -070069 # network configuration error.
70 #
71 # interface_config - will not modify the network configuration of the head node,
72 # including the consistent naming of the network interfaces
73 skipTags:
74 # - 'switch_support'
75 # - 'reboot'
76 # - 'interface_config'
77
David K. Bainbridge53e623f2016-10-04 21:11:37 -070078 # The following variable settings can be used to customize how the network interfaces
79 # are selected into the fabric and management bridge interface or ignored/excluded.
80 # See the documentation docs/quickstart_physical.md for more information about how
81 # to set these variables.
82 extraVars:
83 # - 'fabric_include_names=<name1>,<name2>,...'
84 # - 'fabric_include_module_types=<mtype1>,<mtype2>,...'
85 # - 'fabric_include_bus_types=<btype1>,<btype2>,...'
86 # - 'fabric_exclude_names=<name1>,<name2>,...'
87 # - 'fabric_exclude_module_types=<mtype1>,<mtype2>,...'
88 # - 'fabric_exclude_bus_types=<btype1>,<btype2>,...'
89 # - 'fabric_ignore_names=<name1>,<name2>,...'
90 # - 'fabric_ignore_module_types=<mtype1>,<mtype2>,...'
91 # - 'fabric_ignore_bus_types=<btype1>,<btype2>,...'
92 # - 'management_include_names=<name1>,<name2>,...'
93 # - 'management_include_module_types=<mtype1>,<mtype2>,...'
94 # - 'management_include_bus_types=<btype1>,<btype2>,...'
95 # - 'management_exclude_names=<name1>,<name2>,...'
96 # - 'management_exclude_module_types=<mtype1>,<mtype2>,...'
97 # - 'management_exclude_bus_types=<btype1>,<btype2>,...'
98 # - 'management_ignore_names=<name1>,<name2>,...'
99 # - 'management_ignore_module_types=<mtype1>,<mtype2>,...'
100 # - 'management_ignore_bus_types=<btype1>,<btype2>,...'
David K. Bainbridge1705b812016-10-27 11:00:04 -0700101 # - ubuntu_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/archive.ubuntu.com/ubuntu trusty main universe"
102 # - ubuntu_updates_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/archive.ubuntu.com/ubuntu trusty-updates main universe"
103 # - docker_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/apt.dockerproject.org/repo ubuntu-trusty main"
104 # - java_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/ppa.launchpad.net/webupd8team/java/ubuntu trusty main"
105 # - ansible_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/ppa.launchpad.net/ansible/ansible/ubuntu trusty main"
106 # - maas_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/ppa.launchpad.net/maas/stable/ubuntu trusty main"
107 # - dell_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/linux.dell.com/repo/community trusty openmanage"
108 # - juju_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/ppa.launchpad.net/juju/stable/ubuntu trusty main"
David K. Bainbridge53e623f2016-10-04 21:11:37 -0700109
David K. Bainbridge06052202016-12-02 14:22:40 -0800110# If passwords are not set, random passwords will be generated
111passwords:
112 #compute_node: ubuntu
113 #maas_admin: admin
114 #maas_user: cord
115
David K. Bainbridged54ca702016-07-13 22:27:12 -0700116docker:
117 imageVersion: candidate