blob: b93d496f4a0c750fc71bc3b99a8891b682c88311 [file] [log] [blame]
Andy Bavier99c11d32016-09-14 17:21:20 -04001# Deployment configuration for VirtualBox based head node.
2#
3# This deployment configuration can be utilized with the head node created
Zack Williamsa9e76ec2017-01-20 16:17:35 -07004# via `vagrant up headnode` from the gerrit.opencord.org/maas repository.
Andy Bavier99c11d32016-09-14 17:21:20 -04005---
6debug: false
7
Zack Williams0620c932017-01-25 14:36:31 -07008# this is used to generate the genconfig/cord-inv file
9headnode:
Andy Bavier99c11d32016-09-14 17:21:20 -040010 ip: '10.100.198.201'
Zack Williamsa9e76ec2017-01-20 16:17:35 -070011 ansible_user: 'vagrant'
12 ansible_ssh_pass: 'vagrant'
Zack Williams932646a2017-01-26 11:08:56 -070013 ansible_ssh_port: 22
Andy Bavier99c11d32016-09-14 17:21:20 -040014
Zack Williams0620c932017-01-25 14:36:31 -070015common:
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: 'rcord'
Zack Williams31fbc6b2017-04-21 22:04:44 -070020
Zack Williams83a94ce2017-05-20 13:36:09 -070021 # cord dir is shared to corddev VM, may need redirection to work
Zack Williams31fbc6b2017-04-21 22:04:44 -070022 credentials_dir: '/opt/credentials'
23 pki_dir: '/opt/pki'
24 ssh_pki_dir: '/opt/ssh_pki'
Zack Williams0620c932017-01-25 14:36:31 -070025
Zack Williams83a94ce2017-05-20 13:36:09 -070026 # for cord in a box, config = build, so set config_cord_dir to /opt/cord
27 config_cord_dir: '/cord'
28
Andy Bavier99c11d32016-09-14 17:21:20 -040029 # Specifies tasks within the head node provisioning not to execute, including:
30 #
31 # switch_support - don't download the switch ONL images as there are no
32 # switches in this configuration
33 # interface_config - don't update the network configuration of the headnode
34 # as it is configured by vagrant to the proper settings
35 skipTags:
36 - 'switch_support'
37 - 'reboot'
38 - 'interface_config'
39
Andy Bavierb5796fb2016-10-20 12:06:47 -040040 fabric_ip: '10.6.1.1/24'
Andy Bavier99c11d32016-09-14 17:21:20 -040041 management_ip: '10.1.0.1/24'
42 external_iface: 'eth0'
43 management_network: '10.1.0.0/24'
44
45 # Specifies the extra settings required for this configuration
46 #
47 # virtualbox_support - install support for managing virtual box based
48 # compute nodes
Andy Bavier2505f592016-11-11 15:58:55 -050049 # virtualbox_support: 1
50 # power_helper_user: 'cord'
Andy Bavier99c11d32016-09-14 17:21:20 -040051
Zack Williamsa9e76ec2017-01-20 16:17:35 -070052 # on_cloudlab: True
53 cord_in_a_box: True
54
Andy Bavier99c11d32016-09-14 17:21:20 -040055 extraVars:
Andy Bavierb5796fb2016-10-20 12:06:47 -040056 - 'fabric_include_names=eth2'
57 - 'fabric_include_module_types=omit'
58 - 'fabric_exclude_names=eth0,eth1'
59 - 'management_include_names=eth1'
60 - 'management_exclude_names=eth0,eth2'
Andy Bavier99c11d32016-09-14 17:21:20 -040061
62docker:
63 imageVersion: candidate
Andy Bavier8a608cb2016-11-16 06:21:55 -080064 registry: '10.100.198.201:5000'
Andy Bavier99c11d32016-09-14 17:21:20 -040065
66otherServers:
67 # Specifies the configuration for dynamically added compute nodes
68 fabric:
Andy Bavierb5796fb2016-10-20 12:06:47 -040069 network: '10.6.1.1/24'
70 management: '10.1.0.0/24'
Zack Williams0620c932017-01-25 14:36:31 -070071