blob: 5ff606ee4402a446cb02df85aa95a949fec2d076 [file] [log] [blame]
Zack Williams01623162017-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 Prete14dbba02017-09-12 13:50:36 -070016cord_scenario: cord
17cord_profile: rcord
Andy Bavier6e0cb302017-08-08 15:44:23 -070018
Luca Prete14dbba02017-09-12 13:50:36 -070019vagrant_vms:
20 - 'corddev'
Andy Bavier6e0cb302017-08-08 15:44:23 -070021
Luca Prete14dbba02017-09-12 13:50:36 -070022# Variables
23credentials_dir: '/opt/credentials'
24pki_dir: '/opt/pki'
25ssh_pki_dir: '/opt/ssh_pki'
Andy Bavier6e0cb302017-08-08 15:44:23 -070026
Luca Prete14dbba02017-09-12 13:50:36 -070027fabric_ip: '10.6.1.1/24'
28management_ip: '10.6.0.1/24'
29external_ip: '10.201.101.21/24'
30external_gw: '10.201.101.1'
31external_iface: 'eth2'
32management_network: 10.6.0.0/24
Andy Bavier6e0cb302017-08-08 15:44:23 -070033
Luca Prete14dbba02017-09-12 13:50:36 -070034deploy_docker_registry: "10.201.101.21:5000"
Andy Bavier6e0cb302017-08-08 15:44:23 -070035
Luca Prete14dbba02017-09-12 13:50:36 -070036headnode: cord@10.201.101.21
Andy Bavier6e0cb302017-08-08 15:44:23 -070037
Luca Prete14dbba02017-09-12 13:50:36 -070038# NOTE: The `host_cord_profile_dir` variable below is the path to the cord_profile dir that
39# gets mounted to corddev VM.This `cord_profile` dir typically lives in a directory
40# one level up from the `cord` directory
41host_cord_profile_dir: "/var/jenkins_home/workspace/cord_profile"
Andy Bavier6e0cb302017-08-08 15:44:23 -070042
Luca Prete14dbba02017-09-12 13:50:36 -070043build_targets:
44 - 'setup-automation'
Andy Bavier6e0cb302017-08-08 15:44:23 -070045
Luca Prete14dbba02017-09-12 13:50:36 -070046copy_cord_prereqs:
47 - 'config-ssh-key'
Andy Bavier6e0cb302017-08-08 15:44:23 -070048
Luca Prete14dbba02017-09-12 13:50:36 -070049skipTags:
50 - 'set_compute_node_password'
Andy Bavier6e0cb302017-08-08 15:44:23 -070051
Luca Prete14dbba02017-09-12 13:50:36 -070052# Wait until headnode prepped before building containers, for consistent DNS
53docker_images_prereqs:
54 - 'prep-headnode'
Andy Bavier6e0cb302017-08-08 15:44:23 -070055
Luca Prete14dbba02017-09-12 13:50:36 -070056# node topology
57physical_node_list:
58 - name: head1
59 aliases:
60 - head
61
62management_ignore_names: 'eth0'
63
64# Inventory for ansible, used to generate inventory.ini
65inventory_groups:
66 config:
67 localhost:
68 ansible_connection: local
69 build:
70 corddev:
71 head:
72 head1:
73 ansible_host: 10.201.101.21
74 ansible_port: 22
75 ansible_user: cord
76 ansible_ssh_pass: cord
77 compute:
78
79# Experimental: DPDK config options
80enable_dpdk: True
81vcpu_pin_set: '4-7'
82kernel_opts: '''isolcpus=2-7 nohz_full=2-7 rcu_nocbs=2-7'''
83hugepages: '75%' # make sure %hugepages enough for ovs and VMs
84dpdk_socket_memory: '1024,0' # single numa else 1024,1024 # make sure %hugepages enough for ovs and VMs
85dpdk_lcore_mask: '0x4' # core2
86fabric_interfaces: 'eth2' # not sure abt which is the fabric interface
87pmd_cpu_mask: '0x8' # core3