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