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 |
Luca Prete | 0a00e1d | 2017-10-12 11:23:42 -0700 | [diff] [blame] | 23 | fabric_ip: '10.6.1.1/24' |
| 24 | management_ip: '10.6.0.1/24' |
| 25 | external_ip: '192.168.18.61/24' |
| 26 | external_gw: '192.168.18.251' |
| 27 | external_iface: 'eno1' |
| 28 | management_network: 10.6.0.0/24 |
| 29 | |
| 30 | deploy_docker_registry: "192.168.18.61:5000" |
| 31 | |
| 32 | headnode: cord@192.168.18.61 |
| 33 | |
| 34 | # NOTE: The `host_cord_profile_dir` variable below is the path to the cord_profile dir that |
| 35 | # gets mounted to corddev VM.This `cord_profile` dir typically lives in a directory |
| 36 | # one level up from the `cord` directory |
| 37 | host_cord_profile_dir: "/var/jenkins_home/workspace/cord_profile" |
| 38 | |
| 39 | build_targets: |
| 40 | - 'setup-automation' |
| 41 | |
| 42 | copy_cord_prereqs: |
| 43 | - 'config-ssh-key' |
| 44 | |
| 45 | skipTags: |
| 46 | - 'set_compute_node_password' |
| 47 | |
| 48 | # Wait until headnode prepped before building containers, for consistent DNS |
| 49 | docker_images_prereqs: |
| 50 | - 'prep-headnode' |
| 51 | |
Luca Prete | 2520572 | 2017-10-23 16:24:42 -0700 | [diff] [blame] | 52 | # Node topology |
Luca Prete | 0a00e1d | 2017-10-12 11:23:42 -0700 | [diff] [blame] | 53 | physical_node_list: |
| 54 | - name: head1 |
| 55 | aliases: |
| 56 | - head |
| 57 | |
Luca Prete | 2520572 | 2017-10-23 16:24:42 -0700 | [diff] [blame] | 58 | # Extra network config |
Luca Prete | 24c8258 | 2017-11-01 16:44:40 -0700 | [diff] [blame] | 59 | fabric_include_names: 'eth4' |
| 60 | management_ignore_names: 'eth0,eth1,eth3,eth4,eth5' |
Luca Prete | 2520572 | 2017-10-23 16:24:42 -0700 | [diff] [blame] | 61 | |
Luca Prete | 0a00e1d | 2017-10-12 11:23:42 -0700 | [diff] [blame] | 62 | # Inventory for ansible, used to generate inventory.ini |
| 63 | inventory_groups: |
| 64 | config: |
| 65 | localhost: |
| 66 | ansible_connection: local |
| 67 | build: |
| 68 | corddev: |
| 69 | head: |
| 70 | head1: |
| 71 | ansible_host: 192.168.18.61 |
| 72 | ansible_port: 22 |
| 73 | ansible_user: cord |
| 74 | ansible_ssh_pass: cord |
| 75 | compute: |