mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
Add next-server option to Kea (#7505)
--------- Co-authored-by: Harm Kroon <harm.kroon@tomtom.com>
This commit is contained in:
parent
1e948bfc2f
commit
65ab1fd638
@ -74,6 +74,12 @@
|
||||
<allownew>true</allownew>
|
||||
<help>Specifies a list of RFC 868 time servers available to the client.</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>subnet4.next_server</id>
|
||||
<label>Next server</label>
|
||||
<type>text</type>
|
||||
<help>Next server IP address</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>subnet4.option_data.tftp_server_name</id>
|
||||
<label>TFTP server</label>
|
||||
|
||||
@ -141,6 +141,7 @@ class KeaDhcpv4 extends BaseModel
|
||||
$record = [
|
||||
'id' => $subnet_id++,
|
||||
'subnet' => (string)$subnet->subnet,
|
||||
'next-server' => (string)$subnet->next_server,
|
||||
'option-data' => [],
|
||||
'pools' => [],
|
||||
'reservations' => []
|
||||
|
||||
@ -36,6 +36,10 @@
|
||||
<AddressFamily>ipv4</AddressFamily>
|
||||
<Required>Y</Required>
|
||||
</subnet>
|
||||
<next_server type="NetworkField">
|
||||
<NetMaskAllowed>N</NetMaskAllowed>
|
||||
<AddressFamily>ipv4</AddressFamily>
|
||||
</next_server>
|
||||
<option_data_autocollect type="BooleanField">
|
||||
<Default>1</Default>
|
||||
<Required>Y</Required>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user