blob: 763187260ee75381e81a312ba507669f93b05fef [file] [log] [blame]
Zack Williamsf8ffb6f2017-10-17 08:33:27 -07001---
You Wang3e6beac2017-08-31 15:12:13 -07002# 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
Luca Prete2e8966a2017-09-12 13:50:36 -070016cord_scenario: cord
17cord_profile: rcord
Andy Bavier6e0cb302017-08-08 15:44:23 -070018
Luca Prete2e8966a2017-09-12 13:50:36 -070019vagrant_vms:
20 - 'corddev'
Andy Bavier6e0cb302017-08-08 15:44:23 -070021
Luca Prete2e8966a2017-09-12 13:50:36 -070022# Variables
Luca Prete2e8966a2017-09-12 13:50:36 -070023fabric_ip: '10.6.1.1/24'
24management_ip: '10.6.0.1/24'
25external_ip: '10.201.101.21/24'
26external_gw: '10.201.101.1'
27external_iface: 'eth2'
28management_network: 10.6.0.0/24
Andy Bavier6e0cb302017-08-08 15:44:23 -070029
Luca Prete2e8966a2017-09-12 13:50:36 -070030deploy_docker_registry: "10.201.101.21:5000"
Andy Bavier6e0cb302017-08-08 15:44:23 -070031
Luca Prete2e8966a2017-09-12 13:50:36 -070032headnode: cord@10.201.101.21
Andy Bavier6e0cb302017-08-08 15:44:23 -070033
Luca Prete2e8966a2017-09-12 13:50:36 -070034# NOTE: The `host_cord_profile_dir` variable below is the path to the cord_profile dir that
35# gets mounted to corddev VM.This `cord_profile` dir typically lives in a directory
36# one level up from the `cord` directory
Kailash Khalasi6dfaae32018-05-01 11:49:19 -070037host_cord_profile_dir: "/var/jenkins_home_new/workspace/cord_profile"
Andy Bavier6e0cb302017-08-08 15:44:23 -070038
Luca Prete2e8966a2017-09-12 13:50:36 -070039build_targets:
40 - 'setup-automation'
Andy Bavier6e0cb302017-08-08 15:44:23 -070041
Luca Prete2e8966a2017-09-12 13:50:36 -070042copy_cord_prereqs:
43 - 'config-ssh-key'
Andy Bavier6e0cb302017-08-08 15:44:23 -070044
Luca Prete2e8966a2017-09-12 13:50:36 -070045skipTags:
46 - 'set_compute_node_password'
Andy Bavier6e0cb302017-08-08 15:44:23 -070047
Luca Prete2e8966a2017-09-12 13:50:36 -070048# Wait until headnode prepped before building containers, for consistent DNS
49docker_images_prereqs:
50 - 'prep-headnode'
Andy Bavier6e0cb302017-08-08 15:44:23 -070051
Luca Prete2e8966a2017-09-12 13:50:36 -070052# node topology
53physical_node_list:
54 - name: head1
55 aliases:
56 - head
57
58management_ignore_names: 'eth0'
59
60# Inventory for ansible, used to generate inventory.ini
61inventory_groups:
62 config:
63 localhost:
64 ansible_connection: local
65 build:
66 corddev:
67 head:
68 head1:
69 ansible_host: 10.201.101.21
70 ansible_port: 22
71 ansible_user: cord
72 ansible_ssh_pass: cord
73 compute:
74
75# Experimental: DPDK config options
76enable_dpdk: True
77vcpu_pin_set: '4-7'
78kernel_opts: '''isolcpus=2-7 nohz_full=2-7 rcu_nocbs=2-7'''
79hugepages: '75%' # make sure %hugepages enough for ovs and VMs
80dpdk_socket_memory: '1024,0' # single numa else 1024,1024 # make sure %hugepages enough for ovs and VMs
81dpdk_lcore_mask: '0x4' # core2
82fabric_interfaces: 'eth2' # not sure abt which is the fabric interface
83pmd_cpu_mask: '0x8' # core3