Matteo Scandolo | 3896c47 | 2017-08-01 13:31: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 | ba5549c | 2017-03-25 15:04:45 -0700 | [diff] [blame] | 17 | --- |
| 18 | # dhcpd/defaults/main.yml |
| 19 | |
Zack Williams | ba5549c | 2017-03-25 15:04:45 -0700 | [diff] [blame] | 20 | # http://serverfault.com/questions/40712/what-range-of-mac-addresses-can-i-safely-use-for-my-virtual-machines |
| 21 | hwaddr_prefix: "c2a4" |
| 22 | |
Zack Williams | 9cea13e | 2017-07-25 16:32:59 -0700 | [diff] [blame] | 23 | site_name: placeholder-sitename |
| 24 | site_suffix: "{{ site_name }}.test" |
| 25 | |
| 26 | # Management IP range from DHCP settings |
| 27 | mgmt_ipv4_first_octets: "192.168.200" |
| 28 | |
| 29 | # node lists |
| 30 | head_lxd_list: [] |
| 31 | physical_node_list: [] |
| 32 | |
| 33 | dns_search: |
| 34 | - "{{ site_suffix }}" |
| 35 | |
| 36 | dns_servers: |
| 37 | - "{{ mgmt_ipv4_first_octets }}.1" |
| 38 | |
| 39 | dhcpd_subnets: |
| 40 | - interface: mgmtbr |
| 41 | cidr: "{{ mgmt_ipv4_first_octets }}.1/24" |
| 42 | dhcp_first: 129 |
| 43 | dhcp_last: 254 |
| 44 | other_static: |
| 45 | - physical_node_list |
| 46 | - head_lxd_list |
Zack Williams | ba5549c | 2017-03-25 15:04:45 -0700 | [diff] [blame] | 47 | |
| 48 | # example dhcpd_subnets: |
| 49 | # |
| 50 | # dhcpd_subnets: |
| 51 | # - interface: eth1 |
| 52 | # cidr: 192.168.200.1/24 |
| 53 | # dhcp_first: 129 |
| 54 | # dhcp_last: 254 |
| 55 | # tftp_server: 192.168.200.1 |
| 56 | # static_nodes: |
| 57 | # - name: node1 |
| 58 | # ipv4_last_octet: 30 |
| 59 | # filename: boot.tftp |
| 60 | # other_static: |
| 61 | # - head_lxd_list |
| 62 | |