blob: 66edc52c28cbbc0e99bf4889b952609e922ca964 [file] [log] [blame]
Matteo Scandolo3896c472017-08-01 13:31:42 -07001
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 Williamsba5549c2017-03-25 15:04:45 -070017---
18# dhcpd/defaults/main.yml
19
Zack Williamsba5549c2017-03-25 15:04:45 -070020# http://serverfault.com/questions/40712/what-range-of-mac-addresses-can-i-safely-use-for-my-virtual-machines
21hwaddr_prefix: "c2a4"
22
Zack Williams9cea13e2017-07-25 16:32:59 -070023site_name: placeholder-sitename
24site_suffix: "{{ site_name }}.test"
25
26# Management IP range from DHCP settings
27mgmt_ipv4_first_octets: "192.168.200"
28
29# node lists
30head_lxd_list: []
31physical_node_list: []
32
33dns_search:
34 - "{{ site_suffix }}"
35
36dns_servers:
37 - "{{ mgmt_ipv4_first_octets }}.1"
38
39dhcpd_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 Williamsba5549c2017-03-25 15:04:45 -070047
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