Andrea Campanella | 29220c7 | 2017-04-07 13:01:12 +0200 | [diff] [blame^] | 1 | # Deployment configuration for VirtualBox based head node. |
| 2 | # |
| 3 | # This deployment configuration can be utilized with the head node created |
| 4 | # via `vagrant up headnode` from the gerrit.opencord.org/maas repository. |
| 5 | --- |
| 6 | debug: false |
| 7 | |
| 8 | # this is used to generate the genconfig/cord-inv file |
| 9 | headnode: |
| 10 | ip: '10.100.198.201' |
| 11 | ansible_user: 'vagrant' |
| 12 | ansible_ssh_pass: 'vagrant' |
| 13 | ansible_ssh_port: 22 |
| 14 | |
| 15 | common: |
| 16 | # all of these are written to genconfig/config.yml, and needs a rework |
| 17 | |
| 18 | # set to the "flavor" of cord you want to install |
| 19 | cord_profile: 'ecord' |
| 20 | cord_dir: '/opt/cord' |
| 21 | cord_profile_dir: '/opt/cord_profile' |
| 22 | |
| 23 | # Specifies tasks within the head node provisioning not to execute, including: |
| 24 | # |
| 25 | # switch_support - don't download the switch ONL images as there are no |
| 26 | # switches in this configuration |
| 27 | # interface_config - don't update the network configuration of the headnode |
| 28 | # as it is configured by vagrant to the proper settings |
| 29 | skipTags: |
| 30 | - 'switch_support' |
| 31 | - 'reboot' |
| 32 | - 'interface_config' |
| 33 | |
| 34 | fabric_ip: '10.6.1.1/24' |
| 35 | management_ip: '10.1.0.1/24' |
| 36 | external_iface: 'eth0' |
| 37 | management_network: '10.1.0.0/24' |
| 38 | |
| 39 | # Specifies the extra settings required for this configuration |
| 40 | # |
| 41 | # virtualbox_support - install support for managing virtual box based |
| 42 | # compute nodes |
| 43 | # virtualbox_support: 1 |
| 44 | # power_helper_user: 'cord' |
| 45 | |
| 46 | # on_cloudlab: True |
| 47 | cord_in_a_box: True |
| 48 | |
| 49 | extraVars: |
| 50 | - 'fabric_include_names=eth2' |
| 51 | - 'fabric_include_module_types=omit' |
| 52 | - 'fabric_exclude_names=eth0,eth1' |
| 53 | - 'management_include_names=eth1' |
| 54 | - 'management_exclude_names=eth0,eth2' |
| 55 | |
| 56 | docker: |
| 57 | imageVersion: candidate |
| 58 | registry: '10.100.198.201:5000' |
| 59 | |
| 60 | otherServers: |
| 61 | # Specifies the configuration for dynamically added compute nodes |
| 62 | fabric: |
| 63 | network: '10.6.1.1/24' |
| 64 | management: '10.1.0.0/24' |
| 65 | |