-
Notifications
You must be signed in to change notification settings - Fork 774
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Services: Kea DHCP [new]: Kea DHCPv4 - add Custom options tab
Since our efforts to implement #7361 hasn't reached a functional state, lets move the code into a separate branch to keep master clean.
- Loading branch information
1 parent
be6c1bb
commit 56eeee5
Showing
7 changed files
with
189 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/dialogOption4.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<form> | ||
<field> | ||
<id>option.description</id> | ||
<label>Description</label> | ||
<type>text</type> | ||
</field> | ||
<field> | ||
<id>option.subnet</id> | ||
<label>Subnet</label> | ||
<type>select_multiple</type> | ||
<help>Subnet this custom option belongs to</help> | ||
</field> | ||
<field> | ||
<id>option.code</id> | ||
<label>DHCP option</label> | ||
<type>text</type> | ||
</field> | ||
<field> | ||
<id>option.space</id> | ||
<label>Space</label> | ||
<type>dropdown</type> | ||
</field> | ||
<field> | ||
<id>option.type</id> | ||
<label>Type</label> | ||
<type>dropdown</type> | ||
<help><![CDATA[A <a rel="help" href="https://kea.readthedocs.io/en/latest/arm/dhcp4-srv.html#dhcp-types">DHCP option type</a>.]]></help> | ||
</field> | ||
<field> | ||
<id>option.array</id> | ||
<label>Array</label> | ||
<type>checkbox</type> | ||
</field> | ||
<field> | ||
<id>option.data</id> | ||
<label>Data</label> | ||
<type>text</type> | ||
</field> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters