Matteo Scandolo | 60b640f | 2017-08-08 13:05: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 | |
David Bainbridge | d5af474 | 2016-05-27 17:22:38 +0000 | [diff] [blame] | 17 | # Deployment configuration for VirtualBox based head node. |
| 18 | # |
| 19 | # This deployment configuration can be utilized with the head node created |
| 20 | # via `vargrant up headnode` from the gerrit.opencord.org/maas repository. |
Zsolt Haraszti | ec7df10 | 2016-05-05 13:34:18 -0700 | [diff] [blame] | 21 | --- |
David K. Bainbridge | 6f2cbe7 | 2016-08-19 15:48:07 -0700 | [diff] [blame] | 22 | debug: false |
| 23 | |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 24 | # this is used to generate the genconfig/cord-inv file |
| 25 | headnode: |
David K. Bainbridge | 1f3b241 | 2016-06-16 18:09:46 -0700 | [diff] [blame] | 26 | ip: '10.100.198.201' |
Zack Williams | 932646a | 2017-01-26 11:08:56 -0700 | [diff] [blame] | 27 | ansible_user: 'vagrant' |
| 28 | ansible_ssh_pass: 'vagrant' |
| 29 | ansible_ssh_port: 22 |
David Bainbridge | d5af474 | 2016-05-27 17:22:38 +0000 | [diff] [blame] | 30 | |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 31 | common: |
| 32 | |
Zack Williams | e29c7d8 | 2017-02-10 16:36:02 -0700 | [diff] [blame] | 33 | # set to the profile of cord you want to install |
| 34 | cord_profile: 'rcord' |
| 35 | |
Zack Williams | 83a94ce | 2017-05-20 13:36:09 -0700 | [diff] [blame] | 36 | # cord dir is shared to corddev VM, causing permissions issues if these aren't set |
Zack Williams | 31fbc6b | 2017-04-21 22:04:44 -0700 | [diff] [blame] | 37 | credentials_dir: '/opt/credentials' |
| 38 | pki_dir: '/opt/pki' |
| 39 | ssh_pki_dir: '/opt/ssh_pki' |
Zack Williams | e29c7d8 | 2017-02-10 16:36:02 -0700 | [diff] [blame] | 40 | |
David Bainbridge | d5af474 | 2016-05-27 17:22:38 +0000 | [diff] [blame] | 41 | # Specifies tasks within the head node provisioning not to execute, including: |
| 42 | # |
David K. Bainbridge | d506aa6 | 2016-06-22 16:06:39 -0700 | [diff] [blame] | 43 | # switch_support - don't download the switch ONL images as there are no |
David Bainbridge | d5af474 | 2016-05-27 17:22:38 +0000 | [diff] [blame] | 44 | # switches in this configuration |
| 45 | # interface_config - don't update the network configuration of the headnode |
| 46 | # as it is configured by vagrant to the proper settings |
| 47 | skipTags: |
| 48 | - 'switch_support' |
David K. Bainbridge | 6f2cbe7 | 2016-08-19 15:48:07 -0700 | [diff] [blame] | 49 | - 'reboot' |
David Bainbridge | d5af474 | 2016-05-27 17:22:38 +0000 | [diff] [blame] | 50 | - 'interface_config' |
| 51 | |
David K. Bainbridge | 6f2cbe7 | 2016-08-19 15:48:07 -0700 | [diff] [blame] | 52 | fabric_ip: '10.1.1.1/24' |
David K. Bainbridge | d506aa6 | 2016-06-22 16:06:39 -0700 | [diff] [blame] | 53 | management_ip: '10.1.0.1/24' |
David K. Bainbridge | d506aa6 | 2016-06-22 16:06:39 -0700 | [diff] [blame] | 54 | external_iface: 'eth0' |
| 55 | management_network: '10.1.0.0/24' |
| 56 | |
David Bainbridge | d5af474 | 2016-05-27 17:22:38 +0000 | [diff] [blame] | 57 | # Specifies the extra settings required for this configuration |
| 58 | # |
| 59 | # virtualbox_support - install support for managing virtual box based |
| 60 | # compute nodes |
David K. Bainbridge | d506aa6 | 2016-06-22 16:06:39 -0700 | [diff] [blame] | 61 | virtualbox_support: 1 |
| 62 | power_helper_user: 'cord' |
| 63 | |
| 64 | docker: |
| 65 | imageVersion: candidate |