Jonathan Hart | 93956f5 | 2017-08-22 13:12:42 -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 | |
Zack Williams | e3579c4 | 2017-01-09 14:15:02 -0700 | [diff] [blame] | 17 | --- |
| 18 | |
David K. Bainbridge | 0a7cdbb | 2017-07-14 11:36:13 -0700 | [diff] [blame] | 19 | pub_ssh_key_file_location: "{{ pub_ssh_key_location | default ('/etc/maas/.ssh') }}" |
| 20 | pub_ssh_key: "{{ lookup('file', pub_ssh_key_file_location+'/cord_rsa.pub') }}" |
David K. Bainbridge | 8db2f30 | 2016-05-19 23:41:13 -0700 | [diff] [blame] | 21 | |
| 22 | compute_node: |
Zack Williams | e3579c4 | 2017-01-09 14:15:02 -0700 | [diff] [blame] | 23 | password: "{{password_compute_node | default(lookup('password', 'passwords/compute_node.txt chars=ascii_letters,digits'))}}" |
David K. Bainbridge | 603ee54 | 2016-10-04 21:11:05 -0700 | [diff] [blame] | 24 | fabric: |
| 25 | include: |
| 26 | names: "{{ fabric_include_names | default(omit) }}" |
| 27 | module_types: "{{ fabric_include_module_types | default('i40e, mlx4_en') }}" |
| 28 | bus_types: "{{ fabric_include_bus_types | default(omit) }}" |
| 29 | exclude: |
| 30 | names: "{{ fabric_exclude_names | default(omit) }}" |
| 31 | module_types: "{{ fabric_exclude_module_types | default(omit) }}" |
| 32 | bus_types: "{{ fabric_exclude_bus_types | default(omit) }}" |
| 33 | ignore: |
| 34 | names: "{{ fabric_ignore_names | default(omit) }}" |
| 35 | module_types: "{{ fabric_ignore_module_types | default(omit) }}" |
| 36 | bus_types: "{{ fabric_ignore_bus_types | default(omit) }}" |
| 37 | management: |
| 38 | include: |
| 39 | names: "{{ management_include_names | default(omit) }}" |
| 40 | module_types: "{{ management_include_module_types | default(omit) }}" |
| 41 | bus_types: "{{ management_include_bus_types | default(omit) }}" |
| 42 | exclude: |
| 43 | names: "{{ management_exclude_names | default(omit) }}" |
| 44 | module_types: "{{ management_exclude_module_types | default(omit) }}" |
| 45 | bus_types: "{{ management_exclude_bus_types | default(omit) }}" |
| 46 | ignore: |
| 47 | names: "{{ management_ignore_names | default(omit) }}" |
| 48 | module_types: "{{ management_ignore_module_types | default(omit) }}" |
| 49 | bus_types: "{{ management_ignore_bus_types | default(omit) }}" |
| 50 | |
David K. Bainbridge | 8db2f30 | 2016-05-19 23:41:13 -0700 | [diff] [blame] | 51 | interfaces: |
alshabib | 54cdbb2 | 2016-06-03 16:37:01 -0700 | [diff] [blame] | 52 | fabric: "{{ fabric_iface | default('fabric') }}" |
David K. Bainbridge | e80fd39 | 2016-08-19 15:46:19 -0700 | [diff] [blame] | 53 | management: "{{ management_iface | default('mgmtbr') }}" |
David K. Bainbridge | a677d4e | 2016-09-11 20:01:32 -0700 | [diff] [blame] | 54 | external: "{{ external_iface | default(None) }}" |
| 55 | file: "{{ iface_file | default('/etc/network/interfaces') }}" |
David K. Bainbridge | 8db2f30 | 2016-05-19 23:41:13 -0700 | [diff] [blame] | 56 | addresses: |
| 57 | fabric: "{{ fabric_ip | mandatory }}" |
| 58 | management: "{{ management_ip | default('dhcp') }}" |
| 59 | external: "{{ external_ip | default('manual') }}" |
David K. Bainbridge | e80fd39 | 2016-08-19 15:46:19 -0700 | [diff] [blame] | 60 | gateway: |
David K. Bainbridge | a677d4e | 2016-09-11 20:01:32 -0700 | [diff] [blame] | 61 | external: "{{ external_gw | default(omit) }}" |
David K. Bainbridge | 603ee54 | 2016-10-04 21:11:05 -0700 | [diff] [blame] | 62 | management: "{{ management_gw | default(omit) }}" |
David K. Bainbridge | a677d4e | 2016-09-11 20:01:32 -0700 | [diff] [blame] | 63 | broadcast: |
| 64 | external: "{{ external_bc | default(omit) }}" |
David K. Bainbridge | 603ee54 | 2016-10-04 21:11:05 -0700 | [diff] [blame] | 65 | management: "{{ management_bc | default(omit) }}" |