]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
Units change
authorPiotr Strzy¿ewski <spiotr007@gmail.com>
Sun, 15 Jul 2018 16:28:10 +0000 (18:28 +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 7d25aa1332541cc5ba17086292b475e477655915..ab39d18ff8c659f6a04443339401f728e58cf08b 100644 (file)
@@ -197,12 +197,14 @@ module ietf-dhcpv4-server {
                 description "end address";
               }
               leaf renew-time {
-                type yang:timeticks;
+                type uint32;
+               units "seconds";
                 mandatory true;
                 description "renew time";
               }
               leaf rebind-time {
-                type yang:timeticks;
+                type uint32;
+               units "seconds";
                 mandatory true;
                 description "rebind time";
               }
@@ -220,7 +222,6 @@ module ietf-dhcpv4-server {
               }
               leaf max-address-count {
                 type threshold;
-                mandatory true;
                 description "maximum count of addresses that can
                   be allocated in this pool. This value may be
                   less than count of total addresses.";