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 | |
| 16 | |
Luca Prete | 766e940 | 2017-03-10 14:02:32 -0800 | [diff] [blame] | 17 | --- |
Luca Prete | e87ad4c | 2017-09-01 16:35:07 -0700 | [diff] [blame] | 18 | # rcord-physical-example Pod Config |
| 19 | # Example configuration for a physical R-CORD pod |
Luca Prete | 5dbee73 | 2017-03-13 17:09:50 -0700 | [diff] [blame] | 20 | |
Luca Prete | e87ad4c | 2017-09-01 16:35:07 -0700 | [diff] [blame] | 21 | cord_scenario: cord |
| 22 | cord_profile: rcord |
Luca Prete | f3a3961 | 2017-04-11 15:30:44 -0700 | [diff] [blame] | 23 | |
| 24 | |
Luca Prete | e87ad4c | 2017-09-01 16:35:07 -0700 | [diff] [blame] | 25 | vagrant_vms: |
Luca Prete | 9af3463 | 2017-09-07 11:51:36 -0700 | [diff] [blame] | 26 | - 'corddev' |
Luca Prete | f3a3961 | 2017-04-11 15:30:44 -0700 | [diff] [blame] | 27 | |
Luca Prete | e87ad4c | 2017-09-01 16:35:07 -0700 | [diff] [blame] | 28 | # Variables |
| 29 | credentials_dir: '/opt/credentials' |
| 30 | pki_dir: '/opt/pki' |
| 31 | ssh_pki_dir: '/opt/ssh_pki' |
Luca Prete | 5dbee73 | 2017-03-13 17:09:50 -0700 | [diff] [blame] | 32 | |
Luca Prete | e87ad4c | 2017-09-01 16:35:07 -0700 | [diff] [blame] | 33 | fabric_ip: '10.6.1.1/24' |
| 34 | management_ip: '10.6.0.1/24' |
| 35 | external_ip: '10.201.101.11/24' |
| 36 | external_gw: '10.201.101.1' |
| 37 | external_iface: 'eth2' |
| 38 | management_network: 10.6.0.0/24 |
Luca Prete | 766e940 | 2017-03-10 14:02:32 -0800 | [diff] [blame] | 39 | |
Luca Prete | e87ad4c | 2017-09-01 16:35:07 -0700 | [diff] [blame] | 40 | deploy_docker_registry: "10.201.101.11:5000" |
Luca Prete | f3a3961 | 2017-04-11 15:30:44 -0700 | [diff] [blame] | 41 | |
Luca Prete | e87ad4c | 2017-09-01 16:35:07 -0700 | [diff] [blame] | 42 | headnode: cord@10.201.101.11 |
Luca Prete | f3a3961 | 2017-04-11 15:30:44 -0700 | [diff] [blame] | 43 | |
Luca Prete | e87ad4c | 2017-09-01 16:35:07 -0700 | [diff] [blame] | 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: "/var/jenkins_home/workspace/cord_profile" |
| 48 | |
| 49 | build_targets: |
Luca Prete | 9af3463 | 2017-09-07 11:51:36 -0700 | [diff] [blame] | 50 | - 'setup-automation' |
Luca Prete | 8f07967 | 2017-09-05 16:40:01 -0700 | [diff] [blame] | 51 | |
| 52 | copy_cord_prereqs: |
Luca Prete | 9af3463 | 2017-09-07 11:51:36 -0700 | [diff] [blame] | 53 | - 'config-ssh-key' |
Luca Prete | e87ad4c | 2017-09-01 16:35:07 -0700 | [diff] [blame] | 54 | |
| 55 | skipTags: |
| 56 | - 'set_compute_node_password' |
Luca Prete | e87ad4c | 2017-09-01 16:35:07 -0700 | [diff] [blame] | 57 | |
| 58 | # Wait until headnode prepped before building containers, for consistent DNS |
| 59 | docker_images_prereqs: |
Luca Prete | 9af3463 | 2017-09-07 11:51:36 -0700 | [diff] [blame] | 60 | - 'prep-headnode' |
Luca Prete | e87ad4c | 2017-09-01 16:35:07 -0700 | [diff] [blame] | 61 | |
| 62 | # node topology |
| 63 | physical_node_list: |
| 64 | - name: head1 |
| 65 | aliases: |
| 66 | - head |
| 67 | |
Luca Prete | 7e99eb5 | 2017-09-01 17:55:29 -0700 | [diff] [blame] | 68 | management_ignore_names: 'eth0' |
| 69 | |
Luca Prete | e87ad4c | 2017-09-01 16:35:07 -0700 | [diff] [blame] | 70 | # Inventory for ansible, used to generate inventory.ini |
| 71 | inventory_groups: |
Luca Prete | e87ad4c | 2017-09-01 16:35:07 -0700 | [diff] [blame] | 72 | config: |
| 73 | localhost: |
| 74 | ansible_connection: local |
Luca Prete | e87ad4c | 2017-09-01 16:35:07 -0700 | [diff] [blame] | 75 | build: |
| 76 | corddev: |
Luca Prete | e87ad4c | 2017-09-01 16:35:07 -0700 | [diff] [blame] | 77 | head: |
| 78 | head1: |
| 79 | ansible_host: 10.201.101.11 |
| 80 | ansible_port: 22 |
| 81 | ansible_user: cord |
| 82 | ansible_ssh_pass: cord |
Luca Prete | 8f07967 | 2017-09-05 16:40:01 -0700 | [diff] [blame] | 83 | compute: |