blob: c2bb8f0cb67c18c88ed0634d75e048150fda6a54 [file] [log] [blame]
You Wang37d00052017-08-31 17:33:02 -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
Luca Preteb7ea6a82017-05-08 15:52:53 -070017# Deployment configuration for a physical hardware POD
18---
19
20# this is used to generate the genconfig/cord-inv file
21headnode:
You Wang37d00052017-08-31 17:33:02 -070022 ip: '10.192.4.62'
Luca Preteb7ea6a82017-05-08 15:52:53 -070023 ansible_user: 'cord'
24 ansible_ssh_pass: 'cord'
25 ansible_ssh_port: 22
26
27common:
28 # set to the profile of cord you want to install
29 cord_profile: 'rcord'
30
You Wang37d00052017-08-31 17:33:02 -070031 # cord dir is shared to corddev VM, causing permissions issues if these aren't set
You Wangc9113ec2017-08-31 17:41:49 -070032 cord_dir: '/opt/cord'
33 cord_profile_dir: '/opt/cord_profile'
Luca Preteb7ea6a82017-05-08 15:52:53 -070034
35 # all of these are written to genconfig/config.yml, and needs a rework
36
37 # Network address information for the head node:
38 #
39 # fabric_ip - the IP address and mask bits to be used to configure the network
40 # interface connected to the leaf - spine fabric
41 #
42 # management_ip - the IP address and mask bits to be used to configure the network
43 # interface connecting the head node to the POD internal
44 # management network. The head node will deliver DHCP addresses to
45 # the other compute nodes over this interface
46 #
47 # external_ip - the IP address and mask bits to be used to configure the network
48 # interface connecting the head node (and the POD) to the
49 # Internet. All traffic in the POD to external hosts will be
50 # NAT-ed through this interface
51 fabric_ip: '10.6.1.1/24'
52 management_ip: '10.6.0.1/24'
You Wang37d00052017-08-31 17:33:02 -070053 external_ip: '10.192.4.62/20'
54 external_iface: 'enp4s0f1'
55 external_gw: '10.192.4.1'
Luca Preteb7ea6a82017-05-08 15:52:53 -070056 skipTags:
57
58passwords:
59 compute_node: "ubuntu"
60 maas_admin: "admin"
61 maas_user: "cord"
62
63docker:
64 imageVersion: candidate
65
66otherNodes:
67 # Experimental
68 #
69 # Specifies the subnet and address range that will be used to allocate IP addresses
70 # to the compute nodes as they are deployed into the POD.
71 fabric:
72 network: 10.6.1.1/24
73 range_low: 10.6.1.2
74 range_high: 10.6.1.253