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 Pretee581de12017-09-12 13:35:59 -070018# rcord-physical-example Pod Config
19# Example configuration for a physical R-CORD pod
Luca Prete5dbee732017-03-13 17:09:50 -070020
Luca Pretee581de12017-09-12 13:35:59 -070021cord_scenario: cord
22cord_profile: rcord
Luca Pretef3a39612017-04-11 15:30:44 -070023
24
Luca Pretee581de12017-09-12 13:35:59 -070025vagrant_vms:
26 - 'corddev'
Luca Pretef3a39612017-04-11 15:30:44 -070027
Luca Pretee581de12017-09-12 13:35:59 -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 Pretee581de12017-09-12 13:35:59 -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 Pretee581de12017-09-12 13:35:59 -070040deploy_docker_registry: "10.201.101.11:5000"
Luca Pretef3a39612017-04-11 15:30:44 -070041
Luca Pretee581de12017-09-12 13:35:59 -070042headnode: cord@10.201.101.11
Luca Pretef3a39612017-04-11 15:30:44 -070043
Luca Pretee581de12017-09-12 13:35:59 -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:
50 - 'setup-automation'
51
52copy_cord_prereqs:
53 - 'config-ssh-key'
54
55skipTags:
56 - 'set_compute_node_password'
57
58# Wait until headnode prepped before building containers, for consistent DNS
59docker_images_prereqs:
60 - 'prep-headnode'
61
62# node topology
63physical_node_list:
64 - name: head1
65 aliases:
66 - head
67
68management_ignore_names: 'eth0'
69
70# Inventory for ansible, used to generate inventory.ini
71inventory_groups:
72 config:
73 localhost:
74 ansible_connection: local
75 build:
76 corddev:
77 head:
78 head1:
79 ansible_host: 10.201.101.11
80 ansible_port: 22
81 ansible_user: cord
82 ansible_ssh_pass: cord
83 compute: