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 | |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 17 | # Deployment configuration for a phyical hardware POD |
| 18 | --- |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 19 | |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 20 | headnode: |
| 21 | ip: '10.90.0.2' |
Zack Williams | 932646a | 2017-01-26 11:08:56 -0700 | [diff] [blame] | 22 | ansible_user: 'ubuntu' |
| 23 | ansible_ssh_pass: 'ubuntu' |
| 24 | ansible_ssh_port: 22 |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 25 | |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 26 | common: |
Zack Williams | e29c7d8 | 2017-02-10 16:36:02 -0700 | [diff] [blame] | 27 | # set to the profile of cord you want to install |
| 28 | cord_profile: 'rcord' |
| 29 | |
Zack Williams | 83a94ce | 2017-05-20 13:36:09 -0700 | [diff] [blame] | 30 | # cord dir is shared to corddev VM, causing permissions issues if these aren't set |
Zack Williams | 31fbc6b | 2017-04-21 22:04:44 -0700 | [diff] [blame] | 31 | credentials_dir: '/opt/credentials' |
| 32 | pki_dir: '/opt/pki' |
| 33 | ssh_pki_dir: '/opt/ssh_pki' |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 34 | |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 35 | # Network address information for the head node: |
| 36 | # |
| 37 | # fabric_ip - the IP address and mask bits to be used to configure the network |
| 38 | # interface connected to the leaf - spine fabric |
| 39 | # |
| 40 | # management_ip - the IP address and mask bits to be used to configure the network |
| 41 | # interface connecting the head node to the POD internal |
| 42 | # management network. The head node will deliver DHCP addresses to |
| 43 | # the other compute nodes over this interface |
| 44 | # |
| 45 | # external_ip - the IP address and mask bits to be used to configure the network |
| 46 | # interface connecting the head node (and the POD) to the |
| 47 | # Internet. All traffic in the POD to external hosts will be |
| 48 | # NAT-ed through this interface |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 49 | # external_iface - the name of the interface that connects the head node to the |
| 50 | # Internet |
| 51 | # management_network - the network and mask bits to used for hosts on the management |
| 52 | # network |
| 53 | fabric_ip: '10.6.1.1/24' |
David K. Bainbridge | 1705b81 | 2016-10-27 11:00:04 -0700 | [diff] [blame] | 54 | #fabric_range_low: '10.6.1.2' |
| 55 | #fabric_range_high: '10.6.1.100' |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 56 | management_ip: '10.6.0.1/24' |
David K. Bainbridge | 9ea73d6 | 2016-11-22 12:59:28 -0800 | [diff] [blame] | 57 | #management_range_low: '10.6.0.2' |
| 58 | #management_range_high: '10.6.0.127' |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 59 | external_ip: '47.135.132.21/24' |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 60 | #external_iface: 'eth2' |
Murat Parlakisik | b7a6bf3 | 2016-08-24 06:52:28 -0700 | [diff] [blame] | 61 | management_network: 10.6.0.0/24 |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 62 | |
| 63 | # the skipTags options allow various part of the deployment to be skipped |
| 64 | # switch_support - does not deploy switch boot images to the PXE server |
| 65 | # |
| 66 | # reboot - will not reboot the head node after updating its network configuration |
| 67 | # this may mean the network configuration will not take effect, but will |
David K. Bainbridge | 53e623f | 2016-10-04 21:11:37 -0700 | [diff] [blame] | 68 | # also prevent you from being locked out of the server if there is a |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 69 | # network configuration error. |
| 70 | # |
| 71 | # interface_config - will not modify the network configuration of the head node, |
| 72 | # including the consistent naming of the network interfaces |
| 73 | skipTags: |
| 74 | # - 'switch_support' |
| 75 | # - 'reboot' |
| 76 | # - 'interface_config' |
| 77 | |
David K. Bainbridge | 53e623f | 2016-10-04 21:11:37 -0700 | [diff] [blame] | 78 | # The following variable settings can be used to customize how the network interfaces |
| 79 | # are selected into the fabric and management bridge interface or ignored/excluded. |
| 80 | # See the documentation docs/quickstart_physical.md for more information about how |
| 81 | # to set these variables. |
| 82 | extraVars: |
| 83 | # - 'fabric_include_names=<name1>,<name2>,...' |
| 84 | # - 'fabric_include_module_types=<mtype1>,<mtype2>,...' |
| 85 | # - 'fabric_include_bus_types=<btype1>,<btype2>,...' |
| 86 | # - 'fabric_exclude_names=<name1>,<name2>,...' |
| 87 | # - 'fabric_exclude_module_types=<mtype1>,<mtype2>,...' |
| 88 | # - 'fabric_exclude_bus_types=<btype1>,<btype2>,...' |
| 89 | # - 'fabric_ignore_names=<name1>,<name2>,...' |
| 90 | # - 'fabric_ignore_module_types=<mtype1>,<mtype2>,...' |
| 91 | # - 'fabric_ignore_bus_types=<btype1>,<btype2>,...' |
| 92 | # - 'management_include_names=<name1>,<name2>,...' |
| 93 | # - 'management_include_module_types=<mtype1>,<mtype2>,...' |
| 94 | # - 'management_include_bus_types=<btype1>,<btype2>,...' |
| 95 | # - 'management_exclude_names=<name1>,<name2>,...' |
| 96 | # - 'management_exclude_module_types=<mtype1>,<mtype2>,...' |
| 97 | # - 'management_exclude_bus_types=<btype1>,<btype2>,...' |
| 98 | # - 'management_ignore_names=<name1>,<name2>,...' |
| 99 | # - 'management_ignore_module_types=<mtype1>,<mtype2>,...' |
| 100 | # - 'management_ignore_bus_types=<btype1>,<btype2>,...' |
David K. Bainbridge | 1705b81 | 2016-10-27 11:00:04 -0700 | [diff] [blame] | 101 | # - ubuntu_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/archive.ubuntu.com/ubuntu trusty main universe" |
| 102 | # - ubuntu_updates_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/archive.ubuntu.com/ubuntu trusty-updates main universe" |
| 103 | # - docker_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/apt.dockerproject.org/repo ubuntu-trusty main" |
| 104 | # - java_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/ppa.launchpad.net/webupd8team/java/ubuntu trusty main" |
| 105 | # - ansible_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/ppa.launchpad.net/ansible/ansible/ubuntu trusty main" |
| 106 | # - maas_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/ppa.launchpad.net/maas/stable/ubuntu trusty main" |
| 107 | # - dell_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/linux.dell.com/repo/community trusty openmanage" |
| 108 | # - juju_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/ppa.launchpad.net/juju/stable/ubuntu trusty main" |
David K. Bainbridge | 53e623f | 2016-10-04 21:11:37 -0700 | [diff] [blame] | 109 | |
David K. Bainbridge | 0605220 | 2016-12-02 14:22:40 -0800 | [diff] [blame] | 110 | # If passwords are not set, random passwords will be generated |
| 111 | passwords: |
| 112 | #compute_node: ubuntu |
| 113 | #maas_admin: admin |
| 114 | #maas_user: cord |
| 115 | |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 116 | docker: |
| 117 | imageVersion: candidate |