You Wang | 3e6beac | 2017-08-31 15:12:13 -0700 | [diff] [blame] | 1 | |
| 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 Prete | 92cef74 | 2017-05-10 09:38:55 -0700 | [diff] [blame] | 16 | --- |
| 17 | |
Luca Prete | 14dbba0 | 2017-09-12 13:50:36 -0700 | [diff] [blame] | 18 | cord_scenario: cord |
| 19 | cord_profile: rcord |
Luca Prete | 92cef74 | 2017-05-10 09:38:55 -0700 | [diff] [blame] | 20 | |
Luca Prete | 14dbba0 | 2017-09-12 13:50:36 -0700 | [diff] [blame] | 21 | vagrant_vms: |
| 22 | - 'corddev' |
Luca Prete | 92cef74 | 2017-05-10 09:38:55 -0700 | [diff] [blame] | 23 | |
Luca Prete | 14dbba0 | 2017-09-12 13:50:36 -0700 | [diff] [blame] | 24 | # Variables |
| 25 | credentials_dir: '/opt/credentials' |
| 26 | pki_dir: '/opt/pki' |
| 27 | ssh_pki_dir: '/opt/ssh_pki' |
Luca Prete | 92cef74 | 2017-05-10 09:38:55 -0700 | [diff] [blame] | 28 | |
Luca Prete | 14dbba0 | 2017-09-12 13:50:36 -0700 | [diff] [blame] | 29 | fabric_ip: '10.6.1.1/24' |
| 30 | management_ip: '10.6.0.1/24' |
| 31 | external_ip: '10.201.101.21/24' |
| 32 | external_gw: '10.201.101.1' |
Luca Prete | 9638ee7 | 2017-10-31 10:20:03 -0700 | [diff] [blame^] | 33 | external_iface: 'eth0' |
Luca Prete | 14dbba0 | 2017-09-12 13:50:36 -0700 | [diff] [blame] | 34 | management_network: 10.6.0.0/24 |
Luca Prete | 92cef74 | 2017-05-10 09:38:55 -0700 | [diff] [blame] | 35 | |
Luca Prete | 14dbba0 | 2017-09-12 13:50:36 -0700 | [diff] [blame] | 36 | deploy_docker_registry: "10.201.101.21:5000" |
Luca Prete | 92cef74 | 2017-05-10 09:38:55 -0700 | [diff] [blame] | 37 | |
Luca Prete | 14dbba0 | 2017-09-12 13:50:36 -0700 | [diff] [blame] | 38 | headnode: cord@10.201.101.21 |
Luca Prete | 92cef74 | 2017-05-10 09:38:55 -0700 | [diff] [blame] | 39 | |
Luca Prete | 14dbba0 | 2017-09-12 13:50:36 -0700 | [diff] [blame] | 40 | # 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 |
| 43 | host_cord_profile_dir: "/var/jenkins_home/workspace/cord_profile" |
Luca Prete | 92cef74 | 2017-05-10 09:38:55 -0700 | [diff] [blame] | 44 | |
Luca Prete | 14dbba0 | 2017-09-12 13:50:36 -0700 | [diff] [blame] | 45 | build_targets: |
| 46 | - 'setup-automation' |
Luca Prete | 92cef74 | 2017-05-10 09:38:55 -0700 | [diff] [blame] | 47 | |
Luca Prete | 14dbba0 | 2017-09-12 13:50:36 -0700 | [diff] [blame] | 48 | copy_cord_prereqs: |
| 49 | - 'config-ssh-key' |
Luca Prete | 92cef74 | 2017-05-10 09:38:55 -0700 | [diff] [blame] | 50 | |
Luca Prete | 14dbba0 | 2017-09-12 13:50:36 -0700 | [diff] [blame] | 51 | skipTags: |
| 52 | - 'set_compute_node_password' |
Luca Prete | 92cef74 | 2017-05-10 09:38:55 -0700 | [diff] [blame] | 53 | |
Luca Prete | 14dbba0 | 2017-09-12 13:50:36 -0700 | [diff] [blame] | 54 | # Wait until headnode prepped before building containers, for consistent DNS |
| 55 | docker_images_prereqs: |
| 56 | - 'prep-headnode' |
| 57 | |
| 58 | # node topology |
| 59 | physical_node_list: |
| 60 | - name: head1 |
| 61 | aliases: |
| 62 | - head |
| 63 | |
Luca Prete | 9638ee7 | 2017-10-31 10:20:03 -0700 | [diff] [blame^] | 64 | 'fabric_include_names'='eth2' |
| 65 | 'management_exclude_names'='eth2' |
Luca Prete | 14dbba0 | 2017-09-12 13:50:36 -0700 | [diff] [blame] | 66 | |
| 67 | # Inventory for ansible, used to generate inventory.ini |
| 68 | inventory_groups: |
| 69 | config: |
| 70 | localhost: |
| 71 | ansible_connection: local |
| 72 | build: |
| 73 | corddev: |
| 74 | head: |
| 75 | head1: |
| 76 | ansible_host: 10.201.101.21 |
| 77 | ansible_port: 22 |
| 78 | ansible_user: cord |
| 79 | ansible_ssh_pass: cord |
| 80 | compute: |