Luca Prete | bd566d0 | 2017-10-17 10:53:22 -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 | # POD config for ONF E-CORD POD, E-CORD local POD 1 |
| 17 | cord_scenario: cord |
| 18 | cord_profile: ecord |
| 19 | |
Luca Prete | bd566d0 | 2017-10-17 10:53:22 -0700 | [diff] [blame] | 20 | # Variables |
Zack Williams | 3c255fe | 2017-10-19 08:17:32 -0700 | [diff] [blame^] | 21 | # shared between podconfigs, for root/intermediate CA setup |
| 22 | pki_dir: "{{ ( playbook_dir ~ '/../../../onf_ecord_pki' ) | realpath }}" |
| 23 | |
| 24 | # different, as passwords/SSH keys/cord_profile should be different |
| 25 | credentials_dir: "{{ ( playbook_dir ~ '/../../../onf_ecord_local_pod1_credentials' ) | realpath }}" |
| 26 | ssh_pki_dir: "{{ ( playbook_dir ~ '/../../../onf_ecord_local_pod1_ssh_pki' ) | realpath }}" |
| 27 | config_cord_profile_dir: "{{ ( playbook_dir ~ '/../../../onf_ecord_local_pod1_profile' ) | realpath }}" |
| 28 | |
| 29 | # path created on local system, mounted into corddev by Vagrant |
| 30 | host_cord_profile_dir: "/var/jenkins_home/workspace/cord_profile" |
Luca Prete | bd566d0 | 2017-10-17 10:53:22 -0700 | [diff] [blame] | 31 | |
| 32 | fabric_ip: '10.6.1.1/24' |
| 33 | management_ip: '10.6.0.1/24' |
| 34 | external_ip: '10.90.1.30/16' |
| 35 | external_gw: '10.90.0.1' |
Luca Prete | 85501ff | 2017-10-17 16:30:37 -0700 | [diff] [blame] | 36 | external_iface: 'eth0' |
Luca Prete | bd566d0 | 2017-10-17 10:53:22 -0700 | [diff] [blame] | 37 | management_network: 10.6.0.0/24 |
| 38 | |
| 39 | deploy_docker_registry: "10.90.1.30:5000" |
| 40 | |
Zack Williams | 3c255fe | 2017-10-19 08:17:32 -0700 | [diff] [blame^] | 41 | vagrant_vms: |
| 42 | - 'corddev' |
Luca Prete | bd566d0 | 2017-10-17 10:53:22 -0700 | [diff] [blame] | 43 | |
| 44 | build_targets: |
| 45 | - 'setup-automation' |
| 46 | |
| 47 | copy_cord_prereqs: |
| 48 | - 'config-ssh-key' |
| 49 | |
| 50 | skipTags: |
| 51 | - 'set_compute_node_password' |
| 52 | |
| 53 | # Wait until headnode prepped before building containers, for consistent DNS |
| 54 | docker_images_prereqs: |
| 55 | - 'prep-headnode' |
| 56 | |
Zack Williams | 3c255fe | 2017-10-19 08:17:32 -0700 | [diff] [blame^] | 57 | # headnode to ssh to for some make tasks |
| 58 | headnode: cord@10.90.1.30 |
Luca Prete | bd566d0 | 2017-10-17 10:53:22 -0700 | [diff] [blame] | 59 | |
| 60 | # Inventory for ansible, used to generate inventory.ini |
| 61 | inventory_groups: |
| 62 | config: |
| 63 | localhost: |
| 64 | ansible_connection: local |
| 65 | build: |
| 66 | corddev: |
| 67 | head: |
| 68 | head1: |
| 69 | ansible_host: 10.90.1.30 |
| 70 | ansible_port: 22 |
| 71 | ansible_user: cord |
| 72 | ansible_ssh_pass: cord |
| 73 | compute: |
Zack Williams | 3c255fe | 2017-10-19 08:17:32 -0700 | [diff] [blame^] | 74 | |