blob: a24925590fe0c03b03a20770ac2e14d970564aeb [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
Luca Prete766e9402017-03-10 14:02:32 -080017---
Luca Pretee87ad4c2017-09-01 16:35:07 -070018# rcord-physical-example Pod Config
19# Example configuration for a physical R-CORD pod
Luca Prete5dbee732017-03-13 17:09:50 -070020
Luca Pretee87ad4c2017-09-01 16:35:07 -070021cord_scenario: cord
22cord_profile: rcord
Luca Pretef3a39612017-04-11 15:30:44 -070023
24
Luca Pretee87ad4c2017-09-01 16:35:07 -070025vagrant_vms:
Luca Prete9af34632017-09-07 11:51:36 -070026 - 'corddev'
Luca Pretef3a39612017-04-11 15:30:44 -070027
Luca Pretee87ad4c2017-09-01 16:35:07 -070028# Variables
29credentials_dir: '/opt/credentials'
30pki_dir: '/opt/pki'
31ssh_pki_dir: '/opt/ssh_pki'
Luca Prete5dbee732017-03-13 17:09:50 -070032
Luca Pretee87ad4c2017-09-01 16:35:07 -070033fabric_ip: '10.6.1.1/24'
34management_ip: '10.6.0.1/24'
35external_ip: '10.201.101.11/24'
36external_gw: '10.201.101.1'
37external_iface: 'eth2'
38management_network: 10.6.0.0/24
Luca Prete766e9402017-03-10 14:02:32 -080039
Luca Pretee87ad4c2017-09-01 16:35:07 -070040deploy_docker_registry: "10.201.101.11:5000"
Luca Pretef3a39612017-04-11 15:30:44 -070041
Luca Pretee87ad4c2017-09-01 16:35:07 -070042headnode: cord@10.201.101.11
Luca Pretef3a39612017-04-11 15:30:44 -070043
Luca Pretee87ad4c2017-09-01 16:35:07 -070044# NOTE: The `host_cord_profile_dir` variable below is the path to the cord_profile dir that
45# gets mounted to corddev VM.This `cord_profile` dir typically lives in a directory
46# one level up from the `cord` directory
47host_cord_profile_dir: "/var/jenkins_home/workspace/cord_profile"
48
49build_targets:
Luca Prete9af34632017-09-07 11:51:36 -070050 - 'setup-automation'
Luca Prete8f079672017-09-05 16:40:01 -070051
52copy_cord_prereqs:
Luca Prete9af34632017-09-07 11:51:36 -070053 - 'config-ssh-key'
Luca Pretee87ad4c2017-09-01 16:35:07 -070054
55skipTags:
56 - 'set_compute_node_password'
Luca Pretee87ad4c2017-09-01 16:35:07 -070057
58# Wait until headnode prepped before building containers, for consistent DNS
59docker_images_prereqs:
Luca Prete9af34632017-09-07 11:51:36 -070060 - 'prep-headnode'
Luca Pretee87ad4c2017-09-01 16:35:07 -070061
62# node topology
63physical_node_list:
64 - name: head1
65 aliases:
66 - head
67
Luca Prete7e99eb52017-09-01 17:55:29 -070068management_ignore_names: 'eth0'
69
Luca Pretee87ad4c2017-09-01 16:35:07 -070070# Inventory for ansible, used to generate inventory.ini
71inventory_groups:
Luca Pretee87ad4c2017-09-01 16:35:07 -070072 config:
73 localhost:
74 ansible_connection: local
Luca Pretee87ad4c2017-09-01 16:35:07 -070075 build:
76 corddev:
Luca Pretee87ad4c2017-09-01 16:35:07 -070077 head:
78 head1:
79 ansible_host: 10.201.101.11
80 ansible_port: 22
81 ansible_user: cord
82 ansible_ssh_pass: cord
Luca Prete8f079672017-09-05 16:40:01 -070083 compute: