blob: 19dad554f915eefd8c548e11f8204964266a6294 [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:
26 - 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 Prete8f079672017-09-05 16:40:01 -070050 - setup-automation
51
52copy_cord_prereqs:
53 - config-ssh-key
Luca Pretee87ad4c2017-09-01 16:35:07 -070054
55skipTags:
56 - 'set_compute_node_password'
57 - 'switch_support'
58
59# Wait until headnode prepped before building containers, for consistent DNS
60docker_images_prereqs:
61 - prep-headnode
62
63# node topology
64physical_node_list:
65 - name: head1
66 aliases:
67 - head
68
Luca Prete7e99eb52017-09-01 17:55:29 -070069management_ignore_names: 'eth0'
70
Luca Pretee87ad4c2017-09-01 16:35:07 -070071# Inventory for ansible, used to generate inventory.ini
72inventory_groups:
73
74 config:
75 localhost:
76 ansible_connection: local
77
78 build:
79 corddev:
80
81 head:
82 head1:
83 ansible_host: 10.201.101.11
84 ansible_port: 22
85 ansible_user: cord
86 ansible_ssh_pass: cord
87
Luca Prete8f079672017-09-05 16:40:01 -070088 compute:
89