Skip to content

Commit d911b98

Browse files
committed
test(_mapdata): add verification file for ubuntu-22 [skip ci]
1 parent b18eb3b commit d911b98

File tree

1 file changed

+186
-0
lines changed

1 file changed

+186
-0
lines changed
Lines changed: 186 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,186 @@
1+
# yamllint disable rule:indentation rule:line-length
2+
# Ubuntu-22.04
3+
---
4+
values:
5+
allow:
6+
- booting
7+
- bootp
8+
arch: amd64
9+
authoritative: false
10+
classes:
11+
foo:
12+
comment: 'You can declare a class of clients and then do address allocation
13+
14+
based on that. The example below shows a case where all clients
15+
16+
in a certain class get addresses on the 10.17.224/24 subnet, and all
17+
18+
other clients get addresses on the 10.0.29/24 subnet.'
19+
match: if substring (option vendor-class-identifier, 0, 4) = "SUNW"
20+
config: /etc/dhcp/dhcpd.conf
21+
customized_options:
22+
auto_proxy_config:
23+
code: 252
24+
type: string
25+
ddns_domainname: ''
26+
ddns_update_style: ''
27+
default_lease_time: 600
28+
deny: unknown-clients
29+
domain_name: example.org
30+
domain_name_servers:
31+
- ns1.example.org
32+
- ns2.example.org
33+
domain_search: []
34+
enable: false
35+
failover_peers:
36+
dhcp-failover:
37+
address: 10.152.187.5
38+
mclt: 3600
39+
peer_address: 10.152.187.6
40+
peer_port: 647
41+
port: 647
42+
primary: true
43+
split: 128
44+
get_lease_hostnames: ''
45+
hosts:
46+
fantasia:
47+
comment: 'Fixed IP addresses can also be specified for hosts. These addresses
48+
49+
should not also be listed as being available for dynamic assignment.
50+
51+
Hosts for which fixed IP addresses have been specified can boot using
52+
53+
BOOTP or DHCP. Hosts for which no fixed address is specified can only
54+
55+
be booted with DHCP, unless there is an address range on the subnet
56+
57+
to which a BOOTP client is connected which has the dynamic-bootp flag
58+
59+
set.'
60+
fixed_address: fantasia.fugue.com
61+
hardware: ethernet 08:00:07:26:c0:a5
62+
joe:
63+
comment: 'The hostname for a host can be passed in the DHCP response. Using
64+
the
65+
66+
host_name key sets option host-name in the dhcpd configuration.'
67+
fixed_address: joe.fugue.com
68+
hardware: ethernet 08:00:2b:4c:29:32
69+
host_name: joe
70+
passacaglia:
71+
comment: 'Hosts which require special configuration options can be listed
72+
in
73+
74+
host statements. If no address is specified, the address will be
75+
76+
allocated dynamically (if possible), but the host-specific information
77+
78+
will still come from the host declaration.'
79+
filename: vmunix.passacaglia
80+
hardware: ethernet 0:0:c0:5d:bd:95
81+
server_name: toccata.fugue.com
82+
keys: {}
83+
ldap_base_dn: ''
84+
ldap_debug_file: ''
85+
ldap_init_retry: 0
86+
ldap_method: ''
87+
ldap_password: ''
88+
ldap_port: ''
89+
ldap_server: ''
90+
ldap_ssl: ''
91+
ldap_tls_ca_dir: ''
92+
ldap_tls_ca_file: ''
93+
ldap_tls_cert: ''
94+
ldap_tls_ciphers: ''
95+
ldap_tls_crlcheck: ''
96+
ldap_tls_key: ''
97+
ldap_tls_randfile: ''
98+
ldap_tls_reqcert: ''
99+
ldap_username: ''
100+
listen_interfaces:
101+
- em1
102+
- em2
103+
log_facility: local7
104+
lookup:
105+
enable: false
106+
max_lease_time: 7200
107+
one_lease_per_client: ''
108+
routers: []
109+
server: isc-dhcp-server
110+
server_identifier: ''
111+
server_name: ''
112+
service: isc-dhcp-server
113+
service_config: /etc/default/isc-dhcp-server
114+
shared_networks:
115+
224-29:
116+
pools:
117+
- allow: members of "foo"
118+
range:
119+
- 10.17.224.10
120+
- 10.17.224.250
121+
- deny: members of "foo"
122+
range:
123+
- 10.0.29.10
124+
- 10.0.29.230
125+
subnets:
126+
10.0.29.0:
127+
netmask: 255.255.255.0
128+
routers: rtr-29.example.org
129+
10.17.224.0:
130+
netmask: 255.255.255.0
131+
routers: rtr-224.example.org
132+
subnet_mask: ''
133+
subnets:
134+
10.152.187.0:
135+
comment: 'No service will be given on this subnet, but declaring it helps
136+
the
137+
138+
DHCP server to understand the network topology.'
139+
netmask: 255.255.255.0
140+
pools:
141+
- failover_peer: dhcp-failover
142+
range:
143+
- 10.152.187.1
144+
- 10.152.187.254
145+
10.254.239.0:
146+
comment: This is a very basic subnet declaration.
147+
netmask: 255.255.255.224
148+
range:
149+
- 10.254.239.10
150+
- 10.254.239.20
151+
routers:
152+
- rtr-239-0-1.example.org
153+
- rtr-239-0-2.example.org
154+
10.254.239.32:
155+
broadcast_address: 10.254.239.31
156+
comment: 'This declaration allows BOOTP clients to get dynamic addresses,
157+
158+
which we don''t really recommend.'
159+
dynamic_bootp: true
160+
netmask: 255.255.255.224
161+
range:
162+
- 10.254.239.40
163+
- 10.254.239.60
164+
routers: rtr-239-32-1.example.org
165+
10.5.5.0:
166+
broadcast_address: 10.5.5.31
167+
comment: A slightly different configuration for an internal subnet.
168+
default_lease_time: 600
169+
domain_name: internal.example.org
170+
domain_name_servers:
171+
- ns1.internal.example.org
172+
hosts:
173+
jake:
174+
comment: Hosts can be specified for subnets, taking subnets defaults
175+
fixed_address: 10.5.5.27
176+
hardware: ethernet 08:00:a7:26:c0:a9
177+
max_lease_time: 7200
178+
netmask: 255.255.255.224
179+
range:
180+
- 10.5.5.26
181+
- 10.5.5.30
182+
routers:
183+
- 10.5.5.1
184+
update_static_leases: false
185+
use_host_decl_names: false
186+
zones: {}

0 commit comments

Comments
 (0)