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