]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
Making some things optional
authorPiotr Strzy¿ewski <spiotr007@gmail.com>
Sun, 15 Jul 2018 17:20:57 +0000 (19:20 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Tue, 21 Aug 2018 10:18:56 +0000 (12:18 +0200)
src/lib/yang/models/ietf-dhcpv4-server.yang

index ab39d18ff8c659f6a04443339401f728e58cf08b..abd61cc54e8b79c9ab12c1ef1f07d13121f7bcca 100644 (file)
@@ -199,13 +199,11 @@ module ietf-dhcpv4-server {
               leaf renew-time {
                 type uint32;
                units "seconds";
-                mandatory true;
                 description "renew time";
               }
               leaf rebind-time {
                 type uint32;
                units "seconds";
-                mandatory true;
                 description "rebind time";
               }
 //              leaf rapid-commit {
@@ -230,7 +228,6 @@ module ietf-dhcpv4-server {
                 type leafref {
                   path "/server/server-config/option-sets/option-set/option-set-id";
                 }
-                mandatory true;
                 description "The ID field of relevant option-set to be
                     provisioned to clients of this address-pool.";
               }