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 | |
Andrea Campanella | 2e217ae | 2017-04-07 13:01:12 +0200 | [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 `vagrant up headnode` from the gerrit.opencord.org/maas repository. |
| 21 | --- |
| 22 | debug: false |
| 23 | |
| 24 | # this is used to generate the genconfig/cord-inv file |
| 25 | headnode: |
| 26 | ip: '10.100.198.201' |
| 27 | ansible_user: 'vagrant' |
| 28 | ansible_ssh_pass: 'vagrant' |
| 29 | ansible_ssh_port: 22 |
| 30 | |
| 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: 'ecord-global' |
Andrea Campanella | 2e217ae | 2017-04-07 13:01:12 +0200 | [diff] [blame] | 36 | |
| 37 | # Specifies tasks within the head node provisioning not to execute, including: |
| 38 | # |
| 39 | # switch_support - don't download the switch ONL images as there are no |
| 40 | # switches in this configuration |
| 41 | # interface_config - don't update the network configuration of the headnode |
| 42 | # as it is configured by vagrant to the proper settings |
| 43 | skipTags: |
| 44 | - 'switch_support' |
| 45 | - 'reboot' |
| 46 | - 'interface_config' |
| 47 | |
| 48 | fabric_ip: '10.6.1.1/24' |
| 49 | management_ip: '10.1.0.1/24' |
| 50 | external_iface: 'eth0' |
| 51 | management_network: '10.1.0.0/24' |
| 52 | |
| 53 | # Specifies the extra settings required for this configuration |
| 54 | # |
| 55 | # virtualbox_support - install support for managing virtual box based |
| 56 | # compute nodes |
| 57 | # virtualbox_support: 1 |
| 58 | # power_helper_user: 'cord' |
| 59 | |
| 60 | # on_cloudlab: True |
| 61 | cord_in_a_box: True |
| 62 | |
| 63 | extraVars: |
| 64 | - 'fabric_include_names=eth2' |
| 65 | - 'fabric_include_module_types=omit' |
| 66 | - 'fabric_exclude_names=eth0,eth1' |
| 67 | - 'management_include_names=eth1' |
| 68 | - 'management_exclude_names=eth0,eth2' |
| 69 | |
| 70 | docker: |
| 71 | imageVersion: candidate |
| 72 | registry: '10.100.198.201:5000' |
| 73 | |
| 74 | otherServers: |
| 75 | # Specifies the configuration for dynamically added compute nodes |
| 76 | fabric: |
| 77 | network: '10.6.1.1/24' |
| 78 | management: '10.1.0.0/24' |
| 79 | |