diff options
author | Francis Dupont <fdupont@isc.org> | 2023-06-06 16:05:15 +0200 |
---|---|---|
committer | Marcin Siodelski <marcin@isc.org> | 2023-06-26 14:24:42 +0200 |
commit | 608ff6009db147707936d0b468d8338a5bb4a196 (patch) | |
tree | 1f33ab2fe07c032adb51056895680eee0be95992 | |
parent | [#2866] Updated server tests (diff) | |
download | kea-608ff6009db147707936d0b468d8338a5bb4a196.tar.xz kea-608ff6009db147707936d0b468d8338a5bb4a196.zip |
[#2866] Checkpoint before last use chasing
-rw-r--r-- | doc/sphinx/arm/dhcp4-srv.rst | 6 | ||||
-rw-r--r-- | doc/sphinx/arm/dhcp6-srv.rst | 6 | ||||
-rw-r--r-- | src/lib/cc/tests/json_feed_unittests.cc | 6 |
3 files changed, 17 insertions, 1 deletions
diff --git a/doc/sphinx/arm/dhcp4-srv.rst b/doc/sphinx/arm/dhcp4-srv.rst index b23622bb6d..0ef885fcd0 100644 --- a/doc/sphinx/arm/dhcp4-srv.rst +++ b/doc/sphinx/arm/dhcp4-srv.rst @@ -1212,6 +1212,12 @@ This identifier will not change for this subnet unless the ``id`` parameter is removed or set to 0. The value of 0 forces auto-generation of the subnet identifier. +.. note:: + + The auto-generation of subnet identifier will be removed in a future + release. From 2.4.0 a subnet without an ``id`` entry or with the zero + value raises a warning at configuration time. + .. _ipv4-subnet-prefix: IPv4 Subnet Prefix diff --git a/doc/sphinx/arm/dhcp6-srv.rst b/doc/sphinx/arm/dhcp6-srv.rst index 245d740eef..b1b94667b6 100644 --- a/doc/sphinx/arm/dhcp6-srv.rst +++ b/doc/sphinx/arm/dhcp6-srv.rst @@ -993,6 +993,12 @@ This identifier will not change for this subnet unless the ``id`` parameter is removed or set to 0. The value of 0 forces auto-generation of the subnet identifier. +.. note:: + + The auto-generation of subnet identifier will be removed in a future + release. From 2.4.0 a subnet without an ``id`` entry or with the zero + value raises a warning at configuration time. + .. _ipv6-subnet-prefix: IPv6 Subnet Prefix diff --git a/src/lib/cc/tests/json_feed_unittests.cc b/src/lib/cc/tests/json_feed_unittests.cc index 84739f7f43..747d14212d 100644 --- a/src/lib/cc/tests/json_feed_unittests.cc +++ b/src/lib/cc/tests/json_feed_unittests.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2017-2021 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2017-2023 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -367,6 +367,7 @@ TEST_F(JSONFeedTest, bashComment4) { "\"subnet4\": [ { " " \"pools\": [ { \"pool\": \"192.0.2.1 - 192.0.2.100\" } ]," " \"subnet\": \"192.0.2.0/24\", " + " \"id\": 1, " " \"interface\": \"eth0\"" " } ]," "\"valid-lifetime\": 4000 } }"; @@ -389,6 +390,7 @@ TEST_F(JSONFeedTest, bashCommentsInline4) { "\"subnet4\": [ { " " \"pools\": [ { \"pool\": \"192.0.2.1 - 192.0.2.100\" } ]," " \"subnet\": \"192.0.2.0/24\", " + " \"id\": 1, " " \"interface\": \"eth0\"" " } ]," "\"valid-lifetime\": 4000 } }"; @@ -412,6 +414,7 @@ TEST_F(JSONFeedTest, cppComments6) { "\"subnet6\": [ { " " \"pools\": [ { \"pool\": \"2001:db8:1::/64\" } ]," " \"subnet\": \"2001:db8:1::/48\", " + " \"id\": 1, " " \"interface\": \"eth0\"" " } ]," "\"valid-lifetime\": 4000 } }"; @@ -436,6 +439,7 @@ TEST_F(JSONFeedTest, multilineComments6) { "\"subnet6\": [ { " " \"pools\": [ { \"pool\": \"2001:db8:1::/64\" } ]," " \"subnet\": \"2001:db8:1::/48\", " + " \"id\": 1, " " \"interface\": \"eth0\"" " } ]," "\"valid-lifetime\": 4000 } }"; |