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