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 | |
Andy Bavier | 99c11d3 | 2016-09-14 17:21:20 -0400 | [diff] [blame] | 17 | # Deployment configuration for VirtualBox based head node. |
| 18 | # |
| 19 | # This deployment configuration can be utilized with the head node created |
Zack Williams | a9e76ec | 2017-01-20 16:17:35 -0700 | [diff] [blame] | 20 | # via `vagrant up headnode` from the gerrit.opencord.org/maas repository. |
Andy Bavier | 99c11d3 | 2016-09-14 17:21:20 -0400 | [diff] [blame] | 21 | --- |
| 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: |
Andy Bavier | 99c11d3 | 2016-09-14 17:21:20 -0400 | [diff] [blame] | 26 | ip: '10.100.198.201' |
Zack Williams | a9e76ec | 2017-01-20 16:17:35 -0700 | [diff] [blame] | 27 | ansible_user: 'vagrant' |
| 28 | ansible_ssh_pass: 'vagrant' |
Zack Williams | 932646a | 2017-01-26 11:08:56 -0700 | [diff] [blame] | 29 | ansible_ssh_port: 22 |
Andy Bavier | 99c11d3 | 2016-09-14 17:21:20 -0400 | [diff] [blame] | 30 | |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 31 | common: |
| 32 | # all of these are written to genconfig/config.yml, and needs a rework |
| 33 | |
| 34 | # set to the "flavor" of cord you want to install |
| 35 | cord_profile: 'rcord' |
Zack Williams | 31fbc6b | 2017-04-21 22:04:44 -0700 | [diff] [blame] | 36 | |
Zack Williams | 83a94ce | 2017-05-20 13:36:09 -0700 | [diff] [blame] | 37 | # cord dir is shared to corddev VM, may need redirection to work |
Zack Williams | 31fbc6b | 2017-04-21 22:04:44 -0700 | [diff] [blame] | 38 | credentials_dir: '/opt/credentials' |
| 39 | pki_dir: '/opt/pki' |
| 40 | ssh_pki_dir: '/opt/ssh_pki' |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 41 | |
Andy Bavier | 99c11d3 | 2016-09-14 17:21:20 -0400 | [diff] [blame] | 42 | # Specifies tasks within the head node provisioning not to execute, including: |
| 43 | # |
| 44 | # switch_support - don't download the switch ONL images as there are no |
| 45 | # switches in this configuration |
| 46 | # interface_config - don't update the network configuration of the headnode |
| 47 | # as it is configured by vagrant to the proper settings |
| 48 | skipTags: |
| 49 | - 'switch_support' |
| 50 | - 'reboot' |
| 51 | - 'interface_config' |
| 52 | |
Andy Bavier | b5796fb | 2016-10-20 12:06:47 -0400 | [diff] [blame] | 53 | fabric_ip: '10.6.1.1/24' |
Andy Bavier | 99c11d3 | 2016-09-14 17:21:20 -0400 | [diff] [blame] | 54 | management_ip: '10.1.0.1/24' |
| 55 | external_iface: 'eth0' |
| 56 | management_network: '10.1.0.0/24' |
| 57 | |
| 58 | # Specifies the extra settings required for this configuration |
| 59 | # |
| 60 | # virtualbox_support - install support for managing virtual box based |
| 61 | # compute nodes |
Andy Bavier | 2505f59 | 2016-11-11 15:58:55 -0500 | [diff] [blame] | 62 | # virtualbox_support: 1 |
| 63 | # power_helper_user: 'cord' |
Andy Bavier | 99c11d3 | 2016-09-14 17:21:20 -0400 | [diff] [blame] | 64 | |
Zack Williams | a9e76ec | 2017-01-20 16:17:35 -0700 | [diff] [blame] | 65 | # on_cloudlab: True |
| 66 | cord_in_a_box: True |
| 67 | |
Andy Bavier | 99c11d3 | 2016-09-14 17:21:20 -0400 | [diff] [blame] | 68 | extraVars: |
Andy Bavier | b5796fb | 2016-10-20 12:06:47 -0400 | [diff] [blame] | 69 | - 'fabric_include_names=eth2' |
| 70 | - 'fabric_include_module_types=omit' |
| 71 | - 'fabric_exclude_names=eth0,eth1' |
| 72 | - 'management_include_names=eth1' |
| 73 | - 'management_exclude_names=eth0,eth2' |
Andy Bavier | 99c11d3 | 2016-09-14 17:21:20 -0400 | [diff] [blame] | 74 | |
| 75 | docker: |
| 76 | imageVersion: candidate |
Andy Bavier | 8a608cb | 2016-11-16 06:21:55 -0800 | [diff] [blame] | 77 | registry: '10.100.198.201:5000' |
Andy Bavier | 99c11d3 | 2016-09-14 17:21:20 -0400 | [diff] [blame] | 78 | |
| 79 | otherServers: |
| 80 | # Specifies the configuration for dynamically added compute nodes |
| 81 | fabric: |
Andy Bavier | b5796fb | 2016-10-20 12:06:47 -0400 | [diff] [blame] | 82 | network: '10.6.1.1/24' |
| 83 | management: '10.1.0.0/24' |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 84 | |