Zack Williams | f8ffb6f | 2017-10-17 08:33:27 -0700 | [diff] [blame] | 1 | --- |
You Wang | 3e6beac | 2017-08-31 15:12:13 -0700 | [diff] [blame] | 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 | 2e8966a | 2017-09-12 13:50:36 -0700 | [diff] [blame] | 16 | cord_scenario: cord |
| 17 | cord_profile: rcord |
Luca Prete | fe0aeba | 2017-05-10 12:12:25 -0700 | [diff] [blame] | 18 | |
Luca Prete | 2e8966a | 2017-09-12 13:50:36 -0700 | [diff] [blame] | 19 | vagrant_vms: |
| 20 | - 'corddev' |
Luca Prete | fe0aeba | 2017-05-10 12:12:25 -0700 | [diff] [blame] | 21 | |
Luca Prete | 2e8966a | 2017-09-12 13:50:36 -0700 | [diff] [blame] | 22 | # Variables |
| 23 | credentials_dir: '/opt/credentials' |
| 24 | pki_dir: '/opt/pki' |
| 25 | ssh_pki_dir: '/opt/ssh_pki' |
Luca Prete | fe0aeba | 2017-05-10 12:12:25 -0700 | [diff] [blame] | 26 | |
Luca Prete | 2e8966a | 2017-09-12 13:50:36 -0700 | [diff] [blame] | 27 | fabric_ip: '10.6.1.1/24' |
| 28 | management_ip: '10.6.0.1/24' |
| 29 | external_ip: '10.201.101.41/24' |
| 30 | external_gw: '10.201.101.1' |
| 31 | external_iface: 'eth2' |
| 32 | management_network: 10.6.0.0/24 |
Luca Prete | fe0aeba | 2017-05-10 12:12:25 -0700 | [diff] [blame] | 33 | |
Luca Prete | 2e8966a | 2017-09-12 13:50:36 -0700 | [diff] [blame] | 34 | deploy_docker_registry: "10.201.101.41:5000" |
Luca Prete | fe0aeba | 2017-05-10 12:12:25 -0700 | [diff] [blame] | 35 | |
Luca Prete | 2e8966a | 2017-09-12 13:50:36 -0700 | [diff] [blame] | 36 | headnode: cord@10.201.101.41 |
Luca Prete | fe0aeba | 2017-05-10 12:12:25 -0700 | [diff] [blame] | 37 | |
Luca Prete | 2e8966a | 2017-09-12 13:50:36 -0700 | [diff] [blame] | 38 | # NOTE: The `host_cord_profile_dir` variable below is the path to the cord_profile dir that |
| 39 | # gets mounted to corddev VM.This `cord_profile` dir typically lives in a directory |
| 40 | # one level up from the `cord` directory |
| 41 | host_cord_profile_dir: "/var/jenkins_home/workspace/cord_profile" |
Luca Prete | fe0aeba | 2017-05-10 12:12:25 -0700 | [diff] [blame] | 42 | |
Luca Prete | 2e8966a | 2017-09-12 13:50:36 -0700 | [diff] [blame] | 43 | build_targets: |
| 44 | - 'setup-automation' |
Luca Prete | fe0aeba | 2017-05-10 12:12:25 -0700 | [diff] [blame] | 45 | |
Luca Prete | 2e8966a | 2017-09-12 13:50:36 -0700 | [diff] [blame] | 46 | copy_cord_prereqs: |
| 47 | - 'config-ssh-key' |
Luca Prete | fe0aeba | 2017-05-10 12:12:25 -0700 | [diff] [blame] | 48 | |
Luca Prete | 2e8966a | 2017-09-12 13:50:36 -0700 | [diff] [blame] | 49 | skipTags: |
| 50 | - 'set_compute_node_password' |
| 51 | |
| 52 | # Wait until headnode prepped before building containers, for consistent DNS |
| 53 | docker_images_prereqs: |
| 54 | - 'prep-headnode' |
| 55 | |
| 56 | # node topology |
| 57 | physical_node_list: |
| 58 | - name: head1 |
| 59 | aliases: |
| 60 | - head |
| 61 | |
| 62 | management_ignore_names: 'eth0' |
| 63 | |
| 64 | # Inventory for ansible, used to generate inventory.ini |
| 65 | inventory_groups: |
| 66 | config: |
| 67 | localhost: |
| 68 | ansible_connection: local |
| 69 | build: |
| 70 | corddev: |
| 71 | head: |
| 72 | head1: |
| 73 | ansible_host: 10.201.101.41 |
| 74 | ansible_port: 22 |
| 75 | ansible_user: cord |
| 76 | ansible_ssh_pass: cord |
| 77 | compute: |