Zack Williams | 2b26e56 | 2017-09-05 16:14:04 -0700 | [diff] [blame] | 1 | --- |
gopinath | 9b8850d | 2017-08-25 18:02:12 -0700 | [diff] [blame] | 2 | |
| 3 | # Copyright 2017-present Open Networking Foundation |
| 4 | # |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | |
| 17 | |
gopinath | 9b8850d | 2017-08-25 18:02:12 -0700 | [diff] [blame] | 18 | # rcord-physical-example Pod Config |
| 19 | # Example configuration for a physical R-CORD pod |
| 20 | |
| 21 | cord_scenario: cord |
| 22 | cord_profile: rcord |
| 23 | |
| 24 | |
| 25 | vagrant_vms: |
| 26 | - corddev |
| 27 | |
| 28 | # Variables |
| 29 | credentials_dir: '/opt/credentials' |
| 30 | pki_dir: '/opt/pki' |
| 31 | ssh_pki_dir: '/opt/ssh_pki' |
| 32 | |
| 33 | fabric_ip: '10.6.1.1/24' |
| 34 | management_ip: '10.6.0.1/24' |
| 35 | external_ip: '10.90.0.252/16' |
| 36 | external_gw: '10.90.0.1' |
| 37 | external_iface: 'eth0' |
| 38 | management_network: 10.6.0.0/24 |
| 39 | |
| 40 | deploy_docker_registry: "10.90.0.252:5000" |
| 41 | |
| 42 | headnode: cord@10.90.0.252 |
| 43 | |
| 44 | # 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 |
| 47 | host_cord_profile_dir: "~/dev/cord_profile" |
| 48 | |
| 49 | build_targets: |
| 50 | - setup-automation |
| 51 | |
| 52 | skipTags: |
| 53 | - 'set_compute_node_password' |
| 54 | - 'switch_support' |
| 55 | |
| 56 | # Wait until headnode prepped before building containers, for consistent DNS |
| 57 | docker_images_prereqs: |
| 58 | - prep-headnode |
| 59 | |
Zack Williams | 2b26e56 | 2017-09-05 16:14:04 -0700 | [diff] [blame] | 60 | copy_cord_prereqs: |
| 61 | - config-ssh-key |
| 62 | |
gopinath | 9b8850d | 2017-08-25 18:02:12 -0700 | [diff] [blame] | 63 | # node topology |
| 64 | physical_node_list: |
| 65 | - name: head1 |
| 66 | aliases: |
| 67 | - head |
| 68 | |
| 69 | # Inventory for ansible, used to generate inventory.ini |
| 70 | inventory_groups: |
| 71 | |
| 72 | config: |
| 73 | localhost: |
| 74 | ansible_connection: local |
| 75 | |
| 76 | build: |
| 77 | corddev: |
| 78 | |
| 79 | head: |
| 80 | head1: |
| 81 | ansible_host: 10.90.0.252 |
| 82 | ansible_port: 22 |
| 83 | ansible_user: cord |
| 84 | ansible_ssh_pass: cord |
| 85 | |
Zack Williams | 2b26e56 | 2017-09-05 16:14:04 -0700 | [diff] [blame] | 86 | compute: |