Luca Prete | cb9a463 | 2017-06-15 13:44:29 +0200 | [diff] [blame] | 1 | # CORD POD - Sample configuration |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 2 | --- |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 3 | |
Luca Prete | cb9a463 | 2017-06-15 13:44:29 +0200 | [diff] [blame] | 4 | # Head node access information: |
| 5 | # |
| 6 | # ip - The IP address that the dev node uses to reach the head node |
| 7 | # |
| 8 | # ansible_user - A valid sudoer user on the head node |
| 9 | # |
| 10 | # ansible_ssh_pass - The password of the sudoer user on the head node |
| 11 | # |
| 12 | # ansible_ssh_port - The SSH port that the dev node should use to reach the head node |
| 13 | # |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 14 | headnode: |
Luca Prete | cb9a463 | 2017-06-15 13:44:29 +0200 | [diff] [blame] | 15 | ip: '192.168.1.1' |
| 16 | ansible_user: 'cord' |
| 17 | ansible_ssh_pass: 'cord' |
Zack Williams | 932646a | 2017-01-26 11:08:56 -0700 | [diff] [blame] | 18 | ansible_ssh_port: 22 |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 19 | |
Luca Prete | cb9a463 | 2017-06-15 13:44:29 +0200 | [diff] [blame] | 20 | # Other passwords: |
| 21 | # |
| 22 | # Password are optional. If not set, random passwords will be generated. |
| 23 | # |
| 24 | passwords: |
| 25 | # compute_node: 'ubuntu' |
| 26 | # maas_admin: 'admin' |
| 27 | # maas_user: 'cord' |
Zack Williams | e29c7d8 | 2017-02-10 16:36:02 -0700 | [diff] [blame] | 28 | |
Luca Prete | cb9a463 | 2017-06-15 13:44:29 +0200 | [diff] [blame] | 29 | # Docker settings: |
| 30 | # |
| 31 | docker: |
| 32 | imageVersion: 'candidate' |
| 33 | |
| 34 | common: |
| 35 | # CORD profile |
| 36 | # |
| 37 | # cord_profile - The profile of CORD you'd like to deploy. |
| 38 | # Options: rcord, ecord, ecord_global, mcord. For default, leave rcord |
| 39 | # cord_dir - The directory on the head node where CORD is copied to |
| 40 | # |
| 41 | # cord_profile_dir - The directory on the head node where the CORD profile is copied to |
| 42 | # |
| 43 | cord_profile: 'rcord' |
Zack Williams | e29c7d8 | 2017-02-10 16:36:02 -0700 | [diff] [blame] | 44 | cord_dir: '/opt/cord' |
| 45 | cord_profile_dir: '/opt/cord_profile' |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 46 | # |
Luca Prete | cb9a463 | 2017-06-15 13:44:29 +0200 | [diff] [blame] | 47 | # Head node: external network configuration: |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 48 | # |
Luca Prete | cb9a463 | 2017-06-15 13:44:29 +0200 | [diff] [blame] | 49 | # external_iface - The name of the interface that connects the head node to the |
| 50 | # Internet (optional) |
| 51 | # external_ip - The IP address and mask bits to be used to configure the network |
| 52 | # interface connecting the head node (and the POD) to the |
| 53 | # Internet. All traffic in the POD to external hosts will be |
| 54 | # NAT-ed through this interface |
| 55 | # external_gw - The IP address of the external network gateway, used to reach |
| 56 | # the Internet |
| 57 | #external_iface: 'eth2' |
| 58 | external_ip: '192.168.1.1/24' |
| 59 | external_gw: '192.168.1.254' |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 60 | # |
Luca Prete | cb9a463 | 2017-06-15 13:44:29 +0200 | [diff] [blame] | 61 | # Head node: internal (management) network configuration: |
| 62 | # |
| 63 | # management_network - The network and mask bits to used for hosts on the management |
| 64 | # network |
| 65 | # management_ip - The IP address and mask bits to be used to configure the network |
| 66 | # interface connecting the head node to the POD internal |
| 67 | # management network. The head node will deliver DHCP addresses to |
| 68 | # the other compute nodes over this interface |
| 69 | # management_range_low - The lowest IP to be assigned on the internal management network |
| 70 | # (optional) |
| 71 | # management_range_high - The highest IP to be assigned on the internal management network |
| 72 | # (optional) |
| 73 | management_network: '10.6.0.0/24' |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 74 | management_ip: '10.6.0.1/24' |
David K. Bainbridge | 9ea73d6 | 2016-11-22 12:59:28 -0800 | [diff] [blame] | 75 | #management_range_low: '10.6.0.2' |
| 76 | #management_range_high: '10.6.0.127' |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 77 | # |
Luca Prete | cb9a463 | 2017-06-15 13:44:29 +0200 | [diff] [blame] | 78 | # Head node: fabric network configuartion: |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 79 | # |
Luca Prete | cb9a463 | 2017-06-15 13:44:29 +0200 | [diff] [blame] | 80 | # fabric_ip - The IP address and mask bits to be used to configure the network |
| 81 | # interface connected to the leaf - spine fabric |
| 82 | # fabric_range_low - The lowest IP to be assigned to the fabric switches (optional) |
| 83 | # |
| 84 | # fabric_range_high - The highest IP to be assigned to the fabric switches (optional) |
| 85 | # |
| 86 | fabric_ip: '10.6.1.1/24' |
| 87 | #fabric_range_low: '10.6.1.2' |
| 88 | #fabric_range_high: '10.6.1.100' |
| 89 | # |
| 90 | # SkipTags options |
| 91 | # |
| 92 | # Allow various part of the deployment to be skipped. |
| 93 | # All extra vars are optional. |
| 94 | # |
| 95 | # switch_support - Does not deploy switch boot images to the PXE server |
| 96 | # |
| 97 | # reboot - Will not reboot the head node after updating its network configuration |
| 98 | # this may mean the network configuration will not take effect, but will |
| 99 | # also prevent you from being locked out of the server if there is a |
| 100 | # network configuration error |
| 101 | # interface_config - Will not modify the network configuration of the head node, |
| 102 | # including the consistent naming of the network interfaces |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 103 | skipTags: |
| 104 | # - 'switch_support' |
| 105 | # - 'reboot' |
| 106 | # - 'interface_config' |
Luca Prete | cb9a463 | 2017-06-15 13:44:29 +0200 | [diff] [blame] | 107 | # |
| 108 | # Extra vars: |
| 109 | # |
David K. Bainbridge | 53e623f | 2016-10-04 21:11:37 -0700 | [diff] [blame] | 110 | # The following variable settings can be used to customize how the network interfaces |
| 111 | # are selected into the fabric and management bridge interface or ignored/excluded. |
Luca Prete | cb9a463 | 2017-06-15 13:44:29 +0200 | [diff] [blame] | 112 | # See the documentation for more information about how to set these variables. |
| 113 | # All extra vars are optional. |
| 114 | # |
David K. Bainbridge | 53e623f | 2016-10-04 21:11:37 -0700 | [diff] [blame] | 115 | extraVars: |
| 116 | # - 'fabric_include_names=<name1>,<name2>,...' |
| 117 | # - 'fabric_include_module_types=<mtype1>,<mtype2>,...' |
| 118 | # - 'fabric_include_bus_types=<btype1>,<btype2>,...' |
| 119 | # - 'fabric_exclude_names=<name1>,<name2>,...' |
| 120 | # - 'fabric_exclude_module_types=<mtype1>,<mtype2>,...' |
| 121 | # - 'fabric_exclude_bus_types=<btype1>,<btype2>,...' |
| 122 | # - 'fabric_ignore_names=<name1>,<name2>,...' |
| 123 | # - 'fabric_ignore_module_types=<mtype1>,<mtype2>,...' |
| 124 | # - 'fabric_ignore_bus_types=<btype1>,<btype2>,...' |
| 125 | # - 'management_include_names=<name1>,<name2>,...' |
| 126 | # - 'management_include_module_types=<mtype1>,<mtype2>,...' |
| 127 | # - 'management_include_bus_types=<btype1>,<btype2>,...' |
| 128 | # - 'management_exclude_names=<name1>,<name2>,...' |
| 129 | # - 'management_exclude_module_types=<mtype1>,<mtype2>,...' |
| 130 | # - 'management_exclude_bus_types=<btype1>,<btype2>,...' |
| 131 | # - 'management_ignore_names=<name1>,<name2>,...' |
| 132 | # - 'management_ignore_module_types=<mtype1>,<mtype2>,...' |
| 133 | # - 'management_ignore_bus_types=<btype1>,<btype2>,...' |
Luca Prete | cb9a463 | 2017-06-15 13:44:29 +0200 | [diff] [blame] | 134 | # - 'ubuntu_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/archive.ubuntu.com/ubuntu trusty main universe"' |
| 135 | # - 'ubuntu_updates_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/archive.ubuntu.com/ubuntu trusty-updates main universe"' |
| 136 | # - 'docker_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/apt.dockerproject.org/repo ubuntu-trusty main"' |
| 137 | # - 'java_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/ppa.launchpad.net/webupd8team/java/ubuntu trusty main"' |
| 138 | # - 'ansible_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/ppa.launchpad.net/ansible/ansible/ubuntu trusty main"' |
| 139 | # - 'maas_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/ppa.launchpad.net/maas/stable/ubuntu trusty main"' |
| 140 | # - 'dell_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/linux.dell.com/repo/community trusty openmanage"' |
| 141 | # - 'juju_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/ppa.launchpad.net/juju/stable/ubuntu trusty main"' |