Expose Kea option v6-only-preferred in the GUI (#8286)

* Add Kea GUI options for IPv6-only Preferred (option 108)

* Indentation

* Add advanced, mention option 108 in option title, mention minim value in help
This commit is contained in:
Chris 2025-02-05 19:34:15 +01:00 committed by GitHub
parent 7c09ab5549
commit 3aee9456bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 0 deletions

View File

@ -145,4 +145,14 @@
<visible>false</visible>
</grid_view>
</field>
<field>
<id>subnet4.option_data.v6_only_preferred</id>
<label>IPv6-only Preferred (Option 108)</label>
<type>text</type>
<help>The number of seconds for which the client should disable DHCPv4. The minimum value is 300 seconds.</help>
<grid_view>
<visible>false</visible>
</grid_view>
<advanced>true</advanced>
</field>
</form>

View File

@ -101,6 +101,9 @@
<boot_file_name type="TextField">
<Mask>/^([^\n"])*$/u</Mask>
</boot_file_name>
<v6_only_preferred type="IntegerField">
<MinimumValue>300</MinimumValue>
</v6_only_preferred>
</option_data>
<match-client-id type="BooleanField">
<Default>1</Default>