]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[386-remove-obsolete-experimental-dhcpv6-options] Removed no future experimental...
authorFrancis Dupont <fdupont@isc.org>
Thu, 10 Jan 2019 23:30:15 +0000 (00:30 +0100)
committerFrancis Dupont <fdupont@isc.org>
Fri, 11 Jan 2019 13:29:48 +0000 (08:29 -0500)
doc/guide/dhcp6-srv.xml
src/lib/dhcp/dhcp6.h
src/lib/dhcp/std_option_defs.h
src/lib/dhcp/tests/libdhcp++_unittest.cc

index 4262ca767659047a0887546d70c424377a78e080..ea466ba7b95d28a8c3ecb639032fbad6c55754a0 100644 (file)
@@ -1,5 +1,5 @@
 <!--
- - Copyright (C) 2014-2018 Internet Systems Consortium, Inc. ("ISC")
+ - Copyright (C) 2014-2019 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
@@ -1462,27 +1462,6 @@ temporarily override a list of interface names and listen on all interfaces.
       options is non-functional. However, it may be useful in some
       limited lab testing, hence the definition formats are listed here.
     </para>
-
-    <para>
-      <table frame="all" xml:id="dhcp6-exp-options-list">
-        <title>List of Experimental DHCPv6 Options</title>
-        <tgroup cols="4">
-        <colspec colname="name"/>
-        <colspec colname="code" align="center"/>
-        <colspec colname="type" align="center"/>
-        <colspec colname="array" align="center"/>
-        <thead>
-          <row><entry>Name</entry><entry>Code</entry><entry>Type</entry><entry>Array?</entry></row>
-        </thead>
-        <tbody>
-<row><entry>public-key</entry><entry>701</entry><entry>hex</entry><entry>false</entry></row>
-<row><entry>certificate</entry><entry>702</entry><entry>hex</entry><entry>false</entry></row>
-<row><entry>signature</entry><entry>703</entry><entry>record (uint8, uint8, hex)</entry><entry>false</entry></row>
-<row><entry>timestamp</entry><entry>704</entry><entry>hex</entry><entry>false</entry></row>
-        </tbody>
-        </tgroup>
-      </table>
-    </para>
     </section>
 
     <section id="s46-options">
index a6fa4dceda1c9d76b855fcee8186d32907bf4f86..1f4a350e317b97e25defe3700b485f233305660b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2018 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2006-2019 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
@@ -154,16 +154,7 @@ enum DHCPv6OptionType {
 // D6O_F_STATE_EXPIRATION_TIME            = 134, /* RFC8156 */
    D6O_RELAY_SOURCE_PORT                  = 135, /* RFC8357 */
    // 136-142 unassigned
-   D6O_IPV6_ADDRESS_ANDSF                 = 143, /* RFC6153 */
-
-// The following are EXPERIMENTAL and may change when IANA assigns official
-// values.
-/* secure DHCPv6 (draft-ietf-dhc-sedhcpv6-08) */
-/* temporary values for hackathon 93 */
-   D6O_PUBLIC_KEY                         = 701,
-   D6O_CERTIFICATE                        = 702,
-   D6O_SIGNATURE                          = 703,
-   D6O_TIMESTAMP                          = 704
+   D6O_IPV6_ADDRESS_ANDSF                 = 143 /* RFC6153 */
 };
 
 /*
index 25d9ae3795c19aaeaef6be06faf371876365dca9..b1f1042446e585c8025f0f9d87e32ae814fbb6b3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2012-2018 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2012-2019 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
@@ -451,14 +451,6 @@ const OptionDefParams STANDARD_V6_OPTION_DEFINITIONS[] = {
     { "relay-source-port", D6O_RELAY_SOURCE_PORT, OPT_UINT16_TYPE, false, NO_RECORD_DEF, "" },
     { "ipv6-address-andsf", D6O_IPV6_ADDRESS_ANDSF, OPT_IPV6_ADDRESS_TYPE, true,
       NO_RECORD_DEF, "" },
-    { "public-key", D6O_PUBLIC_KEY, OPT_BINARY_TYPE, false,
-      NO_RECORD_DEF, "" },
-    { "certificate", D6O_CERTIFICATE, OPT_BINARY_TYPE, false,
-      NO_RECORD_DEF, "" },
-    { "signature", D6O_SIGNATURE, OPT_RECORD_TYPE, false,
-      RECORD_DEF(SIGNATURE_RECORDS), "" },
-    { "timestamp", D6O_TIMESTAMP, OPT_BINARY_TYPE, false,
-      NO_RECORD_DEF, "" },
     { "s46-cont-mape", D6O_S46_CONT_MAPE, OPT_EMPTY_TYPE, false, NO_RECORD_DEF,
         MAPE_V6_OPTION_SPACE },
     { "s46-cont-mapt", D6O_S46_CONT_MAPT, OPT_EMPTY_TYPE, false, NO_RECORD_DEF,
index 89d5e65092dded620bdbe9c7120c18b3c92a7d83..4dde17ba5a307c0e4ccf7782392b9b787dc97255 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2011-2018 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2011-2019 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
@@ -1742,18 +1742,6 @@ TEST_F(LibDhcpTest, stdOptionDefs6) {
     LibDhcpTest::testStdOptionDefs6(D6O_IPV6_ADDRESS_ANDSF, begin, end,
                                     typeid(Option6AddrLst));
 
-    LibDhcpTest::testStdOptionDefs6(D6O_PUBLIC_KEY, begin, end,
-                                    typeid(Option));
-
-    LibDhcpTest::testStdOptionDefs6(D6O_CERTIFICATE, begin, end,
-                                    typeid(Option));
-
-    LibDhcpTest::testStdOptionDefs6(D6O_SIGNATURE, begin, end,
-                                    typeid(OptionCustom));
-
-    LibDhcpTest::testStdOptionDefs6(D6O_TIMESTAMP, begin, begin + 8,
-                                    typeid(Option));
-
     // RFC7598 options
     LibDhcpTest::testOptionDefs6(MAPE_V6_OPTION_SPACE, D6O_S46_RULE, begin, end,
                                  typeid(OptionCustom), "s46-rule-options");