blob: 2e079752b5b9486f1ca2f156179341918da62cf6 [file] [log] [blame]
You Wang3e6beac2017-08-31 15:12:13 -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 Bavier6e0cb302017-08-08 15:44:23 -070017# Deployment configuration for a physical hardware POD
18---
19
20# this is used to generate the genconfig/cord-inv file
21headnode:
22 ip: '10.201.101.21'
23 ansible_user: 'cord'
24 ansible_ssh_pass: 'cord'
25 ansible_ssh_port: 22
26
27common:
28
29 # set to the profile of cord you want to install
30 cord_profile: 'rcord'
31
32 # cord dir is shared to corddev VM, causing permissions issues if these aren't set
33 credentials_dir: '/opt/credentials'
34 pki_dir: '/opt/pki'
35 ssh_pki_dir: '/opt/ssh_pki'
36
37
38 # all of these are written to genconfig/config.yml, and needs a rework
39
40 # Network address information for the head node:
41 #
42 # fabric_ip - the IP address and mask bits to be used to configure the network
43 # interface connected to the leaf - spine fabric
44 #
45 # management_ip - the IP address and mask bits to be used to configure the network
46 # interface connecting the head node to the POD internal
47 # management network. The head node will deliver DHCP addresses to
48 # the other compute nodes over this interface
49 #
50 # external_ip - the IP address and mask bits to be used to configure the network
51 # interface connecting the head node (and the POD) to the
52 # Internet. All traffic in the POD to external hosts will be
53 # NAT-ed through this interface
54 fabric_ip: '10.6.1.1/24'
55 management_ip: '10.6.0.1/24'
56 external_ip: '10.201.101.21/24'
57 external_iface: 'eth2'
58 external_gw: '10.201.101.1'
59 skipTags:
60 extraVars:
61 - 'management_ignore_names=eth0'
62
63 # Experimental: DPDK config options
64 enable_dpdk: True
65 vcpu_pin_set: '4-7'
66 kernel_opts: '''isolcpus=2-7 nohz_full=2-7 rcu_nocbs=2-7'''
67 hugepages: '75%' # make sure %hugepages enough for ovs and VMs
68 dpdk_socket_memory: '1024,0' # single numa else 1024,1024 # make sure %hugepages enough for ovs and VMs
69 dpdk_lcore_mask: '0x4' # core2
70 fabric_interfaces: 'eth2' # not sure abt which is the fabric interface
71 pmd_cpu_mask: '0x8' # core3
72
73passwords:
74 compute_node: "ubuntu"
75 maas_admin: "admin"
76 maas_user: "cord"
77
78docker:
79 imageVersion: candidate
80
81otherNodes:
82 # Experimental
83 #
84 # Specifies the subnet and address range that will be used to allocate IP addresses
85 # to the compute nodes as they are deployed into the POD.
86 fabric:
87 network: 10.6.1.1/24
88 range_low: 10.6.1.2
89 range_high: 10.6.1.253
90