blob: 25036e3859055c4b123ace87d0b02f85bbbde968 [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
Luca Preteed0bf282017-05-05 12:02:23 -070016---
17
Luca Prete2e8966a2017-09-12 13:50:36 -070018cord_scenario: cord
19cord_profile: rcord
Luca Preteed0bf282017-05-05 12:02:23 -070020
Luca Prete2e8966a2017-09-12 13:50:36 -070021vagrant_vms:
22 - 'corddev'
Luca Preteed0bf282017-05-05 12:02:23 -070023
Luca Prete2e8966a2017-09-12 13:50:36 -070024# Variables
25credentials_dir: '/opt/credentials'
26pki_dir: '/opt/pki'
27ssh_pki_dir: '/opt/ssh_pki'
Luca Preteed0bf282017-05-05 12:02:23 -070028
Luca Prete2e8966a2017-09-12 13:50:36 -070029fabric_ip: '10.6.1.1/24'
30management_ip: '10.6.0.1/24'
31external_ip: '10.66.12.7/24'
32external_gw: '10.66.12.20'
33external_iface: 'ens255f1'
34management_network: 10.6.0.0/24
Luca Preteed0bf282017-05-05 12:02:23 -070035
Luca Prete2e8966a2017-09-12 13:50:36 -070036deploy_docker_registry: "10.66.12.7:5000"
Luca Preteed0bf282017-05-05 12:02:23 -070037
Luca Prete2e8966a2017-09-12 13:50:36 -070038headnode: cord@10.66.12.7
Luca Preteed0bf282017-05-05 12:02:23 -070039
Luca Prete2e8966a2017-09-12 13:50:36 -070040# NOTE: The `host_cord_profile_dir` variable below is the path to the cord_profile dir that
41# gets mounted to corddev VM.This `cord_profile` dir typically lives in a directory
42# one level up from the `cord` directory
43host_cord_profile_dir: "/var/jenkins_home/workspace/cord_profile"
Luca Preteed0bf282017-05-05 12:02:23 -070044
Luca Prete2e8966a2017-09-12 13:50:36 -070045build_targets:
46 - 'setup-automation'
Luca Preteed0bf282017-05-05 12:02:23 -070047
Luca Prete2e8966a2017-09-12 13:50:36 -070048copy_cord_prereqs:
49 - 'config-ssh-key'
Luca Preteed0bf282017-05-05 12:02:23 -070050
Luca Prete2e8966a2017-09-12 13:50:36 -070051skipTags:
52 - 'set_compute_node_password'
53
54# Wait until headnode prepped before building containers, for consistent DNS
55docker_images_prereqs:
56 - 'prep-headnode'
57
58# node topology
59physical_node_list:
60 - name: head1
61 aliases:
62 - head
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.66.12.7
74 ansible_port: 22
75 ansible_user: cord
76 ansible_ssh_pass: cord
77 compute: