Zack Williams | f8ffb6f | 2017-10-17 08:33:27 -0700 | [diff] [blame] | 1 | --- |
Luca Prete | 0a00e1d | 2017-10-12 11:23:42 -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 | 0a00e1d | 2017-10-12 11:23:42 -0700 | [diff] [blame] | 16 | cord_scenario: cord |
| 17 | cord_profile: rcord |
| 18 | |
| 19 | vagrant_vms: |
| 20 | - 'corddev' |
| 21 | |
| 22 | # Variables |
| 23 | credentials_dir: '/opt/credentials' |
| 24 | pki_dir: '/opt/pki' |
| 25 | ssh_pki_dir: '/opt/ssh_pki' |
| 26 | |
| 27 | fabric_ip: '10.6.1.1/24' |
| 28 | management_ip: '10.6.0.1/24' |
| 29 | external_ip: '192.168.18.61/24' |
| 30 | external_gw: '192.168.18.251' |
| 31 | external_iface: 'eno1' |
| 32 | management_network: 10.6.0.0/24 |
| 33 | |
| 34 | deploy_docker_registry: "192.168.18.61:5000" |
| 35 | |
| 36 | headnode: cord@192.168.18.61 |
| 37 | |
| 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" |
| 42 | |
| 43 | build_targets: |
| 44 | - 'setup-automation' |
| 45 | |
| 46 | copy_cord_prereqs: |
| 47 | - 'config-ssh-key' |
| 48 | |
| 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 | |
Luca Prete | 2520572 | 2017-10-23 16:24:42 -0700 | [diff] [blame] | 56 | # Node topology |
Luca Prete | 0a00e1d | 2017-10-12 11:23:42 -0700 | [diff] [blame] | 57 | physical_node_list: |
| 58 | - name: head1 |
| 59 | aliases: |
| 60 | - head |
| 61 | |
Luca Prete | 2520572 | 2017-10-23 16:24:42 -0700 | [diff] [blame] | 62 | # Extra network config |
| 63 | 'fabric_include_names': 'eth4' |
Luca Prete | 15100a9 | 2017-10-24 18:16:13 -0700 | [diff] [blame] | 64 | 'management_ignore_names': 'eth0,eth1,eth3,eth4,eth5' |
Luca Prete | 2520572 | 2017-10-23 16:24:42 -0700 | [diff] [blame] | 65 | |
Luca Prete | 0a00e1d | 2017-10-12 11:23:42 -0700 | [diff] [blame] | 66 | # Inventory for ansible, used to generate inventory.ini |
| 67 | inventory_groups: |
| 68 | config: |
| 69 | localhost: |
| 70 | ansible_connection: local |
| 71 | build: |
| 72 | corddev: |
| 73 | head: |
| 74 | head1: |
| 75 | ansible_host: 192.168.18.61 |
| 76 | ansible_port: 22 |
| 77 | ansible_user: cord |
| 78 | ansible_ssh_pass: cord |
| 79 | compute: |