diff --git a/src/opnsense/mvc/app/controllers/OPNsense/Kea/DhcpController.php b/src/opnsense/mvc/app/controllers/OPNsense/Kea/DhcpController.php index c01a11adb..1994cfc9a 100644 --- a/src/opnsense/mvc/app/controllers/OPNsense/Kea/DhcpController.php +++ b/src/opnsense/mvc/app/controllers/OPNsense/Kea/DhcpController.php @@ -50,9 +50,15 @@ class DhcpController extends \OPNsense\Base\IndexController { $this->view->pick('OPNsense/Kea/dhcpv4'); $this->view->formGeneralSettings = $this->getForm("generalSettings4"); + $this->view->formDialogSubnet = $this->getForm("dialogSubnet4"); + $this->view->formGridSubnet = $this->getFormGrid("dialogSubnet4", null, "keaChangeMessage"); + $this->view->formDialogReservation = $this->getForm("dialogReservation4"); + $this->view->formGridReservation = $this->getFormGrid("dialogReservation4", null, "keaChangeMessage"); + $this->view->formDialogPeer = $this->getForm("dialogPeer4"); + $this->view->formGridPeer = $this->getFormGrid("dialogPeer4", null, "keaChangeMessage"); } public function leases4Action() diff --git a/src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/dialogSubnet4.xml b/src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/dialogSubnet4.xml index 595cb67ce..99a70d8ad 100644 --- a/src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/dialogSubnet4.xml +++ b/src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/dialogSubnet4.xml @@ -23,6 +23,11 @@ checkbox By default KEA uses client-identifiers in stead of MAC addresses to locate clients, disabling this option changes back to matching on MAC address which is used by most dhcp implementations. + + boolean + boolean + false + header @@ -33,6 +38,11 @@ checkbox Automatically update option data for relevant attributes as routers, dns servers and ntp servers when applying settings from the gui. + + boolean + boolean + false + subnet4.option_data.routers @@ -41,12 +51,18 @@ true Default gateways to offer to the clients + + false + subnet4.option_data.static_routes text Static routes that the client should install in its routing cache, defined as dest-ip1,router-ip1;dest-ip2,router-ip2 + + false + subnet4.option_data.domain_name_servers @@ -55,12 +71,18 @@ true DNS servers to offer to the clients + + false + subnet4.option_data.domain_name text The domain name to offer to the client, set to this firewall's domain name when left empty + + false + subnet4.option_data.domain_search @@ -70,6 +92,9 @@ true , Specifies a ´search list´ of Domain Names to be used by the client to locate not-fully-qualified domain names. + + false + subnet4.option_data.ntp_servers @@ -78,6 +103,9 @@ true Specifies a list of IP addresses indicating NTP (RFC 5905) servers available to the client. + + false + subnet4.option_data.time_servers @@ -86,23 +114,35 @@ true Specifies a list of RFC 868 time servers available to the client. + + false + subnet4.next_server text Next server IP address + + false + subnet4.option_data.tftp_server_name text TFTP server address or fqdn + + false + subnet4.option_data.boot_file_name text Boot filename to request + + false + diff --git a/src/opnsense/mvc/app/views/OPNsense/Kea/dhcpv4.volt b/src/opnsense/mvc/app/views/OPNsense/Kea/dhcpv4.volt index 3ceb9b1b5..dc4aac5c2 100644 --- a/src/opnsense/mvc/app/views/OPNsense/Kea/dhcpv4.volt +++ b/src/opnsense/mvc/app/views/OPNsense/Kea/dhcpv4.volt @@ -26,7 +26,7 @@