Migrate RFC references to rfc-editor.org 72/106072/2
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 20 May 2023 12:17:19 +0000 (14:17 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Sat, 20 May 2023 13:00:08 +0000 (15:00 +0200)
Mass-migrate references to rfc-editor.org, which is the new place where
RFCs live.

Change-Id: Idd4288f3e6381dbcfaa7527de48c246ec5d55efb
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
94 files changed:
common/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/Decimal64.java
common/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/ErrorSeverity.java
common/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/ErrorTag.java
common/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/ErrorType.java
common/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/NetconfLayer.java
common/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/Ordering.java
common/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/QName.java
common/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/Revision.java
common/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/RpcError.java
common/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/XMLNamespace.java
common/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/YangConstants.java
common/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/YangNames.java
common/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/YangNamespaceContext.java
data/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/YangErrorInfo.java
data/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/YangInstanceIdentifier.java
data/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/codec/YangInvalidValueException.java
data/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/codec/BinaryStringCodec.java
data/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/schema/YangErrorInfos.java
data/yang-data-tree-api/src/main/java/org/opendaylight/yangtools/yang/data/tree/api/TreeType.java
model/rfc6241-model-api/src/main/java/org/opendaylight/yangtools/rfc6241/model/api/GetFilterElementAttributesEffectiveStatement.java
model/rfc6241-model-api/src/main/java/org/opendaylight/yangtools/rfc6241/model/api/GetFilterElementAttributesSchemaNode.java
model/rfc6241-model-api/src/main/java/org/opendaylight/yangtools/rfc6241/model/api/GetFilterElementAttributesStatement.java
model/rfc6241-model-api/src/main/java/org/opendaylight/yangtools/rfc6241/model/api/package-info.java
model/rfc6536-model-api/src/main/java/org/opendaylight/yangtools/rfc6536/model/api/DefaultDenyAllEffectiveStatement.java
model/rfc6536-model-api/src/main/java/org/opendaylight/yangtools/rfc6536/model/api/DefaultDenyAllSchemaNode.java
model/rfc6536-model-api/src/main/java/org/opendaylight/yangtools/rfc6536/model/api/DefaultDenyAllStatement.java
model/rfc6536-model-api/src/main/java/org/opendaylight/yangtools/rfc6536/model/api/DefaultDenyWriteEffectiveStatement.java
model/rfc6536-model-api/src/main/java/org/opendaylight/yangtools/rfc6536/model/api/DefaultDenyWriteSchemaNode.java
model/rfc6536-model-api/src/main/java/org/opendaylight/yangtools/rfc6536/model/api/DefaultDenyWriteStatement.java
model/rfc6536-model-api/src/main/java/org/opendaylight/yangtools/rfc6536/model/api/package-info.java
model/rfc6643-model-api/src/main/java/org/opendaylight/yangtools/rfc6643/model/api/MaxAccess.java
model/rfc7952-model-api/src/main/java/org/opendaylight/yangtools/rfc7952/model/api/AnnotationEffectiveStatement.java
model/rfc7952-model-api/src/main/java/org/opendaylight/yangtools/rfc7952/model/api/AnnotationSchemaNode.java
model/rfc7952-model-api/src/main/java/org/opendaylight/yangtools/rfc7952/model/api/AnnotationStatement.java
model/rfc7952-model-api/src/main/java/org/opendaylight/yangtools/rfc7952/model/api/package-info.java
model/rfc8040-model-api/src/main/java/org/opendaylight/yangtools/rfc8040/model/api/YangDataEffectiveStatement.java
model/rfc8040-model-api/src/main/java/org/opendaylight/yangtools/rfc8040/model/api/YangDataSchemaNode.java
model/rfc8040-model-api/src/main/java/org/opendaylight/yangtools/rfc8040/model/api/YangDataStatement.java
model/rfc8528-model-api/src/main/java/org/opendaylight/yangtools/rfc8528/model/api/MountPointEffectiveStatement.java
model/rfc8528-model-api/src/main/java/org/opendaylight/yangtools/rfc8528/model/api/MountPointSchemaNode.java
model/rfc8528-model-api/src/main/java/org/opendaylight/yangtools/rfc8528/model/api/MountPointStatement.java
model/rfc8528-model-api/src/main/java/org/opendaylight/yangtools/rfc8528/model/api/package-info.java
model/rfc8819-model-api/src/main/java/org/opendaylight/yangtools/rfc8819/model/api/IetfTags.java
model/rfc8819-model-api/src/main/java/org/opendaylight/yangtools/rfc8819/model/api/ModuleTagEffectiveStatement.java
model/rfc8819-model-api/src/main/java/org/opendaylight/yangtools/rfc8819/model/api/ModuleTagStatement.java
model/rfc8819-model-api/src/main/java/org/opendaylight/yangtools/rfc8819/model/api/Prefix.java
model/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/AnyxmlSchemaNode.java
model/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/ExtensionDefinition.java
model/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/LeafListSchemaNode.java
model/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/MandatoryAware.java
model/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/PathExpression.java
model/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/SchemaTreeInference.java
model/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/meta/StatementDefinition.java
model/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/meta/package-info.java
model/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/stmt/AugmentEffectiveStatement.java
model/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/stmt/DataDefinitionStatement.java
model/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/stmt/LeafListEffectiveStatement.java
model/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/stmt/ListEffectiveStatement.java
model/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/stmt/ModuleEffectiveStatement.java
model/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/stmt/SchemaNodeIdentifier.java
model/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/type/BinaryTypeDefinition.java
model/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/type/LengthConstraint.java
model/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/type/RangeConstraint.java
model/yang-model-export/src/main/java/org/opendaylight/yangtools/yang/model/export/YangTextSnippetIterator.java
model/yang-model-ri/src/main/java/org/opendaylight/yangtools/yang/model/ri/type/BaseDecimalType.java
model/yang-model-ri/src/main/java/org/opendaylight/yangtools/yang/model/ri/type/DerivedTypeBuilder.java
model/yang-model-ri/src/main/java/org/opendaylight/yangtools/yang/model/ri/type/StringTypeBuilder.java
model/yang-model-util/src/main/java/org/opendaylight/yangtools/yang/model/util/ModuleNameNamespaceContext.java
parser/rfc6241-parser-support/src/main/java/org/opendaylight/yangtools/rfc6241/parser/package-info.java
parser/rfc6536-parser-support/src/main/java/org/opendaylight/yangtools/rfc6536/parser/package-info.java
parser/rfc7952-parser-support/src/main/java/org/opendaylight/yangtools/rfc7952/parser/package-info.java
parser/rfc8040-parser-support/src/main/java/org/opendaylight/yangtools/rfc8040/parser/YangDataStatementImpl.java
parser/rfc8040-parser-support/src/main/java/org/opendaylight/yangtools/rfc8040/parser/YangDataStatementSupport.java
parser/rfc8528-parser-support/src/main/java/org/opendaylight/yangtools/rfc8528/parser/package-info.java
parser/yang-ir/src/main/java/org/opendaylight/yangtools/yang/ir/IRArgument.java
parser/yang-ir/src/main/java/org/opendaylight/yangtools/yang/ir/IRKeyword.java
parser/yang-parser-api/src/main/java/org/opendaylight/yangtools/yang/parser/api/ImportResolutionMode.java
parser/yang-parser-api/src/main/java/org/opendaylight/yangtools/yang/parser/api/package-info.java
parser/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/repo/ArgumentContextUtils.java
parser/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/augment/AbstractAugmentStatementSupport.java
parser/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/meta/KeyStatementSupport.java
parser/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/type/BitsSpecificationSupport.java
parser/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/type/Decimal64SpecificationSupport.java
parser/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/type/EnumSpecificationSupport.java
parser/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/type/IdentityRefSpecificationSupport.java
parser/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/type/LeafrefSpecificationSupport.java
parser/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/type/UnionSpecificationSupport.java
parser/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/uses/UsesStatementSupport.java
parser/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/stmt/YT1339Test.java
parser/yang-parser-spi/src/main/java/org/opendaylight/yangtools/yang/parser/spi/meta/StatementSupport.java
parser/yang-parser-spi/src/main/java/org/opendaylight/yangtools/yang/parser/spi/source/YangVersionLinkageException.java
parser/yang-parser-spi/src/main/java/org/opendaylight/yangtools/yang/parser/spi/validation/ValidationBundles.java
xpath/yang-xpath-api/src/main/java/org/opendaylight/yangtools/yang/xpath/api/YangXPathExpression.java
yang/yang-repo-api/src/main/java/org/opendaylight/yangtools/yang/model/repo/api/SourceIdentifier.java

index a026cd75e9195efe383f78fbbe988ed87cf7b46a..6cad3501d38107403299b71366fd3a76b961f4de 100644 (file)
@@ -37,7 +37,7 @@ public class Decimal64 extends Number implements CanonicalValue<Decimal64> {
 
         @Override
         public Either<Decimal64, CanonicalValueViolation> fromString(final String str) {
-            // https://tools.ietf.org/html/rfc6020#section-9.3.1
+            // https://www.rfc-editor.org/rfc/rfc6020#section-9.3.1
             //
             // A decimal64 value is lexically represented as an optional sign ("+"
             // or "-"), followed by a sequence of decimal digits, optionally
@@ -554,7 +554,7 @@ public class Decimal64 extends Number implements CanonicalValue<Decimal64> {
 
     @Override
     public final String toCanonicalString() {
-        // https://tools.ietf.org/html/rfc6020#section-9.3.2
+        // https://www.rfc-editor.org/rfc/rfc6020#section-9.3.2
         //
         // The canonical form of a positive decimal64 does not include the sign
         // "+".  The decimal point is required.  Leading and trailing zeros are
index 7bc15bd2d15a56905fb40dcb6399181b82e60108..2c52019aa7292fda6d3c7bea9c71d4a855f399ec 100644 (file)
@@ -17,7 +17,7 @@ import org.eclipse.jdt.annotation.Nullable;
 
 /**
  * Enumeration of {@code error-severity} values, as defined by
- * <a href="https://datatracker.ietf.org/doc/html/rfc4741#section-4.3">RFC4741, section 4.3</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc4741#section-4.3">RFC4741, section 4.3</a>.
  */
 @NonNullByDefault
 public enum ErrorSeverity {
index d822fb8e28a9eca512ac46e0065df1aefba35e57..1e20aaaf5ef499d74b10e80843a17edd321edcd2 100644 (file)
@@ -16,9 +16,9 @@ import org.eclipse.jdt.annotation.Nullable;
 
 /**
  * Extensible enumeration of {@code error-tag} values, as defined in
- * <a href="https://datatracker.ietf.org/doc/html/rfc6241#appendix-A">RFC6241</a>. These values are an extensible
- * enumeration, since YANG does not place restriction on possible values in
- * <a href="https://datatracker.ietf.org/doc/html/rfc8040#section-3.9">RFC8040</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc6241#appendix-A">RFC6241</a>. These values are an extensible enumeration,
+ * since YANG does not place restriction on possible values in
+ * <a href="https://www.rfc-editor.org/rfc/rfc8040#section-3.9">RFC8040</a>.
  *
  * <p>
  * Error tag defines overall error semantics. Additional tag-specific information may be associated with a particular
@@ -78,7 +78,7 @@ public final class ErrorTag implements Serializable {
     public static final ErrorTag LOCK_DENIED = new ErrorTag("lock-denied");
     /**
      * {@code unknown-element} {@link ErrorTag}. Covers mechanics specified in
-     * <a href="https://datatracker.ietf.org/doc/html/rfc6241#page-80">RFC6241, Appendix A, last item</a>. Note the
+     * <a href="https://www.rfc-editor.org/rfc/rfc6241#page-80">RFC6241, Appendix A, last item</a>. Note the
      * specification expressly forbids reporting this tag for NETCONF clients older than {@code :base:1.1}.
      */
     public static final ErrorTag MALFORMED_MESSAGE = new ErrorTag("malformed-message");
index d421232f3ebda81d70e86c01551a8774d6a1f455..1fb3c038c5af91a058021523268ed428988a85c3 100644 (file)
@@ -18,7 +18,7 @@ import org.eclipse.jdt.annotation.Nullable;
 /**
  * Enumeration of {@code error-type} values. These provide glue between {@link NetconfLayer} and various sources of
  * such errors. This enumeration is not extensible in YANG as it is modeled in
- * <a href="https://datatracker.ietf.org/doc/html/rfc8040#section-3.9">RFC8040</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc8040#section-3.9">RFC8040</a>.
  */
 @NonNullByDefault
 public enum ErrorType {
index a44e7fab8dd4335a6ebc336ab23ef6c4ea89c5d2..790c925de6a63c9e7aee310288293d4324a47ace 100644 (file)
@@ -9,8 +9,8 @@ package org.opendaylight.yangtools.yang.common;
 
 /**
  * Enumeration of NETCONF layers, as established in
- * <a href="https://datatracker.ietf.org/doc/html/rfc4741#section-1.1">NETCONF</a>. This enumeration exists because
- * its semantics are implied by RFC6020 references to {@code error-tag} and its XML encoding.
+ * <a href="https://www.rfc-editor.org/rfc/rfc4741#section-1.1">NETCONF</a>. This enumeration exists because its
+ * semantics are implied by RFC6020 references to {@code error-tag} and its XML encoding.
  *
  * <p>
  * This enumeration corresponds to the {@code Layer} in:
@@ -35,7 +35,7 @@ package org.opendaylight.yangtools.yang.common;
  *         |   Protocol  |      |                             |
  *         +-------------+      +-----------------------------+
  * </code></pre>
- * as acknowledged in <a href="https://datatracker.ietf.org/doc/html/rfc6241#section-1.2">RFC6241</a>:
+ * as acknowledged in <a href="https://www.rfc-editor.org/rfc/rfc6241#section-1.2">RFC6241</a>:
  * <pre>
  *   The YANG data modeling language [RFC6020] has been developed for
  *   specifying NETCONF data models and protocol operations, covering the
index 36f4496048fff2b35eff1a733f0294577960c134..4906117e9868d5d36ebee245b312dc74ec62ee67 100644 (file)
@@ -10,7 +10,8 @@ package org.opendaylight.yangtools.yang.common;
 import org.eclipse.jdt.annotation.NonNullByDefault;
 
 /**
- * Item ordering, as specified by <a href="https://tools.ietf.org/html/rfc7950#section-7.7.1">RFC7950 section 7.7.1</a>.
+ * Item ordering, as specified by
+ * <a href="https://www.rfc-editor.org/rfc/rfc7950#section-7.7.1">RFC7950 section 7.7.1</a>.
  */
 @NonNullByDefault
 public enum Ordering {
@@ -47,13 +48,10 @@ public enum Ordering {
      * @throws IllegalArgumentException if the argument string is not a valid Ordering
      */
     public static Ordering forArgument(final String argumentString) {
-        switch (argumentString) {
-            case "system":
-                return SYSTEM;
-            case "user":
-                return USER;
-            default:
-                throw new IllegalArgumentException("Invalid ordering string '" + argumentString + "'");
-        }
+        return switch (argumentString) {
+            case "system" -> SYSTEM;
+            case "user" -> USER;
+            default -> throw new IllegalArgumentException("Invalid ordering string '" + argumentString + "'");
+        };
     }
 }
\ No newline at end of file
index 88adc7141a9080dedeff9083d4a11ce907c1ee5d..4ab4af6dd6aa8f1506eaf1293b854798089e89d2 100644 (file)
@@ -34,7 +34,7 @@ import org.eclipse.jdt.annotation.Nullable;
  * name, but from different schemas.
  *
  * <p>
- * The local name must conform to <a href="https://tools.ietf.org/html/rfc7950#section-6.2">RFC7950 Section 6.2</a>.
+ * The local name must conform to <a href="https://www.rfc-editor.org/rfc/rfc7950#section-6.2">RFC7950 Section 6.2</a>.
  *
  * <ul>
  * <li><b>XMLNamespace</b> - {@link #getNamespace()} - the namespace assigned to the YANG module which
index 443f3d7d7002ee71ff7a49da9dc072f7a39d5ecc..5193d2e21742726fd709ac1491f6d904edd447d0 100644 (file)
@@ -64,7 +64,7 @@ public final class Revision implements Comparable<Revision>, Immutable, Serializ
 
     private Revision(final @NonNull String str) {
         /*
-         * According to RFC7950 (https://tools.ietf.org/html/rfc7950#section-7.1.9):
+         * According to RFC7950 (https://www.rfc-editor.org/rfc/rfc7950#section-7.1.9):
          *
          *   The "revision" statement specifies the editorial revision history of
          *   the module, including the initial revision.  A series of "revision"
index c0f317a4d1850abcf4e2879f1cfed2feb830e272..83f801beb32fcffffb4331a59097ad4c61f19a38 100644 (file)
@@ -23,7 +23,7 @@ public interface RpcError {
      *
      * <p>
      * The following outlines suggested values as defined by
-     * (<a href="https://tools.ietf.org/html/rfc6241#page-89">RFC6241</a>):
+     * (<a href="https://www.rfc-editor.org/rfc/rfc6241#page-89">RFC6241</a>):
      *
      * <pre>
      *    access-denied
index 40c24cbb863a46df00cff57b404501a5a6a1a789..3e98f06e51285aceae9071d7714b0e40367f49be 100644 (file)
@@ -20,7 +20,7 @@ import org.opendaylight.yangtools.concepts.Immutable;
 
 /**
  * A simple type capture of {@code namespace} statement's argument according to
- * <a href="https://tools.ietf.org/html/rfc6020#section-7.1.3">RFC6020</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc6020#section-7.1.3">RFC6020</a>.
  */
 public final class XMLNamespace implements Comparable<XMLNamespace>, Immutable, Serializable {
     private static final Interner<XMLNamespace> INTERNER = Interners.newWeakInterner();
index fc18c5e0d03567a93987d44a80aae4cabfc1c00f..f5019bfc6922de8f4929b1b8952b13d6553cafaf 100644 (file)
@@ -16,23 +16,23 @@ import org.opendaylight.yangtools.yang.common.UnresolvedQName.Unqualified;
 @NonNullByDefault
 public final class YangConstants {
     /**
-     * YANG File Extension, as defined in <a href="https://tools.ietf.org/html/rfc6020#section-14.1">RFC6020</a>.
+     * YANG File Extension, as defined in <a href="https://www.rfc-editor.org/rfc/rfc6020#section-14.1">RFC6020</a>.
      */
     public static final String RFC6020_YANG_FILE_EXTENSION = ".yang";
     /**
-     * YANG Media Type, as defined in <a href="https://tools.ietf.org/html/rfc6020#section-14.1">RFC6020</a>.
+     * YANG Media Type, as defined in <a href="https://www.rfc-editor.org/rfc/rfc6020#section-14.1">RFC6020</a>.
      */
     public static final String RFC6020_YANG_MAC_FILE_TYPE = "TEXT";
     /**
-     * YANG Media Type, as defined in h<a href="https://tools.ietf.org/html/rfc6020#section-14.1">RFC6020</a>.
+     * YANG Media Type, as defined in h<a href="https://www.rfc-editor.org/rfc/rfc6020#section-14.1">RFC6020</a>.
      */
     public static final String RFC6020_YANG_MEDIA_TYPE = "application/yang";
     /**
-     * YANG namespace, as defined in https://tools.ietf.org/html/rfc6020#section-14, in String format.
+     * YANG namespace, as defined in https://www.rfc-editor.org/rfc/rfc6020#section-14, in String format.
      */
     public static final String RFC6020_YANG_NAMESPACE_STRING = "urn:ietf:params:xml:ns:yang:1";
     /**
-     * YANG namespace, as defined in https://tools.ietf.org/html/rfc6020#section-14, in URI format.
+     * YANG namespace, as defined in https://www.rfc-editor.org/rfc/rfc6020#section-14, in URI format.
      */
     public static final XMLNamespace RFC6020_YANG_NAMESPACE = XMLNamespace.of(RFC6020_YANG_NAMESPACE_STRING).intern();
     /**
@@ -40,23 +40,23 @@ public final class YangConstants {
      */
     public static final QNameModule RFC6020_YANG_MODULE = QNameModule.create(RFC6020_YANG_NAMESPACE).intern();
     /**
-     * YIN File Extension, as defined in <a href="https://tools.ietf.org/html/rfc6020#section-14.2">RFC6020</a>.
+     * YIN File Extension, as defined in <a href="https://www.rfc-editor.org/rfc/rfc6020#section-14.2">RFC6020</a>.
      */
     public static final String RFC6020_YIN_FILE_EXTENSION = ".yin";
     /**
-     * YANG Media Type, as defined in <a href="https://tools.ietf.org/html/rfc6020#section-14.1">RFC6020</a>.
+     * YANG Media Type, as defined in <a href="https://www.rfc-editor.org/rfc/rfc6020#section-14.1">RFC6020</a>.
      */
     public static final String RFC6020_MAC_FILE_TYPE = "TEXT";
     /**
-     * YANG Media Type, as defined in <a href="https://tools.ietf.org/html/rfc6020#section-14.2">RFC6020</a>.
+     * YANG Media Type, as defined in <a href="https://www.rfc-editor.org/rfc/rfc6020#section-14.2">RFC6020</a>.
      */
     public static final String RFC6020_YIN_MEDIA_TYPE = "application/yin+xml";
     /**
-     * YIN namespace, as defined in https://tools.ietf.org/html/rfc6020#section-14, in String format.
+     * YIN namespace, as defined in https://www.rfc-editor.org/rfc/rfc6020#section-14, in String format.
      */
     public static final String RFC6020_YIN_NAMESPACE_STRING = "urn:ietf:params:xml:ns:yang:yin:1";
     /**
-     * YIN namespace, as defined in https://tools.ietf.org/html/rfc6020#section-14, in URI format.
+     * YIN namespace, as defined in https://www.rfc-editor.org/rfc/rfc6020#section-14, in URI format.
      */
     public static final XMLNamespace RFC6020_YIN_NAMESPACE = XMLNamespace.of(RFC6020_YIN_NAMESPACE_STRING).intern();
     /**
@@ -69,17 +69,17 @@ public final class YangConstants {
     public static final String YANG_XPATH_FUNCTIONS_PREFIX = "yang";
     /**
      * NETCONF protocol elements' namespace, as defined in
-     * <a href="https://datatracker.ietf.org/doc/html/rfc4741#section-3.1">RFC4741 section 3.1</a>, in String format.
+     * <a href="https://www.rfc-editor.org/rfc/rfc4741#section-3.1">RFC4741 section 3.1</a>, in String format.
      */
     public static final String NETCONF_NAMESPACE_STRING = "urn:ietf:params:xml:ns:netconf:base:1.0";
     /**
      * NETCONF protocol elements' namespace, as defined in
-     * <a href="https://datatracker.ietf.org/doc/html/rfc4741#section-3.1">RFC4741 section 3.1</a>, in String format.
+     * <a href="https://www.rfc-editor.org/rfc/rfc4741#section-3.1">RFC4741 section 3.1</a>, in String format.
      */
     public static final XMLNamespace NETCONF_NAMESPACE = XMLNamespace.of(NETCONF_NAMESPACE_STRING).intern();
     /**
      * NETCONF namespace bound to YANG through
-     * <a href="https://datatracker.ietf.org/doc/html/rfc6241#section-10.3">ietf-netconf@2011-06-01.yang</a>.
+     * <a href="https://www.rfc-editor.org/rfc/rfc6241#section-10.3">ietf-netconf@2011-06-01.yang</a>.
      */
     public static final QNameModule RFC6241_YANG_MODULE =
         QNameModule.create(NETCONF_NAMESPACE, Revision.of("2011-06-01")).intern();
@@ -107,12 +107,12 @@ public final class YangConstants {
     public static final QName OK_ELEMENT_QNAME = QName.create(RFC6241_YANG_MODULE, "ok-element").intern();
     /**
      * {@code missing-choice} as defined in
-     * <a href="https://datatracker.ietf.org/doc/html/rfc6020#section-13.7">RFC6020, section 13.7</a>.
+     * <a href="https://www.rfc-editor.org/rfc/rfc6020#section-13.7">RFC6020, section 13.7</a>.
      */
     public static final QName MISSING_CHOICE_QNAME = QName.create(RFC6020_YANG_MODULE, "missing-choice").intern();
     /**
      * {@code non-unique} as defined in
-     * <a href="https://datatracker.ietf.org/doc/html/rfc6020#section-13.1">RFC6020, section 13.1</a>.
+     * <a href="https://www.rfc-editor.org/rfc/rfc6020#section-13.1">RFC6020, section 13.1</a>.
      */
     public static final QName NON_UNIQUE_QNAME = QName.create(RFC6020_YANG_MODULE, "non-unique").intern();
     /**
@@ -138,7 +138,7 @@ public final class YangConstants {
         QNameModule.create(YANG_LIBRARY_NAMESPACE, Revision.of("2016-06-21")).intern();
     /**
      * {@code ietf-yang-library} namespace bound to YANG through
-     * <a href="https://datatracker.ietf.org/doc/html/rfc8525#section-4">ietf-yang-library@2019-01-04.yang</a>.
+     * <a href="https://www.rfc-editor.org/rfc/rfc8525#section-4">ietf-yang-library@2019-01-04.yang</a>.
      */
     public static final QNameModule RFC8525_YANG_MODULE =
         QNameModule.create(YANG_LIBRARY_NAMESPACE, Revision.of("2019-01-04")).intern();
index 783e2d1b21e1aa2c5ab9211e167bf052c6237cfa..077a81909c66d456d2a6bea76f101c97d05dec6b 100644 (file)
@@ -39,7 +39,7 @@ public final class YangNames {
     }
 
     /**
-     * Parse a file name according to rules outlined in https://tools.ietf.org/html/rfc6020#section-5.2. Input string
+     * Parse a file name according to rules outlined in https://www.rfc-editor.org/rfc/rfc6020#section-5.2. Input string
      * should be the base path with file extension stripped.
      *
      * @param baseName file base name
index edc97f8ae852ac76e501f4c1623aed7711c16813..4b3a7ade7c310beb13d1267d2ab741f9cb4ac804 100644 (file)
@@ -18,7 +18,7 @@ import org.opendaylight.yangtools.concepts.Immutable;
 /**
  * Interface for mapping between {@link String} prefixes and {@link QNameModule} namespaces. The conceptual model
  * matches prefix mapping inside a YANG {@code module} as defined through the use of {@code prefix} and {@code import}
- * statements and detailed in <a href="https://tools.ietf.org/html/rfc7950#section-7.1.4">RFC7950 Section 7.1.4</a>.
+ * statements and detailed in <a href="https://www.rfc-editor.org/rfc/rfc7950#section-7.1.4">RFC7950 Section 7.1.4</a>.
  *
  * <p>
  * Each namespace context has a set of prefix/namespace mappings. A namespace can be bound to multiple prefixes at the
index 531df3f82643a6743f04c496f5c40e0915749942..d5648abbc8a9089a6491b54deebfd32973b46e83 100644 (file)
@@ -17,7 +17,7 @@ import org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild;
 
 /**
  * An element of {@code error-info} container, as modeled in {@code errorInfoType} of
- * <a href="https://datatracker.ietf.org/doc/html/rfc6241#appendix-B">RFC6241, Appendix B</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc6241#appendix-B">RFC6241, Appendix B</a>.
  */
 @Beta
 @NonNullByDefault
index 26c8199bd7f9ba0a3d48a5ddbe6f00166906277a..203add8399d1d44dcf3a596b2b89c1ebdf41d4ed 100644 (file)
@@ -65,7 +65,7 @@ import org.opendaylight.yangtools.yang.data.api.schema.LeafSetEntryNode;
  *   <li>{@link NodeWithValue} - Identifier of instance {@code leaf} node or {@code leaf-list} node</li>
  * </ul>
  *
- * @see <a href="http://tools.ietf.org/html/rfc6020#section-9.13">RFC6020</a>
+ * @see <a href="http://www.rfc-editor.org/rfc/rfc6020#section-9.13">RFC6020</a>
  */
 public abstract sealed class YangInstanceIdentifier implements HierarchicalIdentifier<YangInstanceIdentifier>
         permits FixedYangInstanceIdentifier, StackedYangInstanceIdentifier {
index 9efdd1f7a55064c871ea56a6fa0b977f8c1e55e6..b360f090aac5e8803ed9655e78967e97c6e53291 100644 (file)
@@ -24,7 +24,7 @@ import org.opendaylight.yangtools.yang.model.api.ConstraintMetaDefinition;
 
 /**
  * Dedicated exception for reporting conditions where {@code error-tag} should be reported as {@code invalid-value}.
- * This is covered by <a href="https://tools.ietf.org/html/rfc7950#section-8.3.1">RFC7950 section 8.3.1</a>:
+ * This is covered by <a href="https://www.rfc-editor.org/rfc/rfc7950#section-8.3.1">RFC7950 section 8.3.1</a>:
  * <pre>
  *   If a leaf data value does not match the type constraints for the
  *   leaf, including those defined in the type's "range", "length", and
@@ -35,7 +35,7 @@ import org.opendaylight.yangtools.yang.model.api.ConstraintMetaDefinition;
  * </pre>
  *
  * <p>
- * This error tag also references <a href="https://tools.ietf.org/html/rfc6241#appendix-A">RFC6241 Appendix A</a>,
+ * This error tag also references <a href="https://www.rfc-editor.org/rfc/rfc6241#appendix-A">RFC6241 Appendix A</a>,
  * which defines the appropriate severity and adds more semantics.
  */
 @Beta
index b59ef43e80900e8988854b1cd2e88f30a98a484b..b4a167e0f817a64cf34c17e95cba36417c5efc89 100644 (file)
@@ -64,7 +64,7 @@ public abstract sealed class BinaryStringCodec extends TypeDefinitionAwareCodec<
 
     @Override
     public final byte[] deserializeImpl(final String product) {
-        // https://tools.ietf.org/html/rfc4648#section-4 plus lenient to allow for MIME blocks
+        // https://www.rfc-editor.org/rfc/rfc4648#section-4 plus lenient to allow for MIME blocks
         final byte[] ret = Base64.getMimeDecoder().decode(product);
         validate(ret);
         return ret;
index 74029e4fbc5b7d743d685ad21dcafe060fb44f9a..6da31b8e0c06b1381d72ee9646752e606c2377b4 100644 (file)
@@ -114,7 +114,7 @@ public final class YangErrorInfos {
 
     /**
      * {@code non-unique} as defined in
-     * <a href="https://datatracker.ietf.org/doc/html/rfc6020#section-13.1">RFC6020, section 13.1</a>. Note this
+     * <a href="https://www.rfc-editor.org/rfc/rfc6020#section-13.1">RFC6020, section 13.1</a>. Note this
      * is only a prototype, which needs to be bound to a path representation type.
      */
     public static YangErrorInfo nonUnique(final YangInstanceIdentifier leafPath) {
@@ -123,7 +123,7 @@ public final class YangErrorInfos {
 
     /**
      * {@code missing-choice} as defined in
-     * <a href="https://datatracker.ietf.org/doc/html/rfc6020#section-13.7">RFC6020, section 13.7</a>.
+     * <a href="https://www.rfc-editor.org/rfc/rfc6020#section-13.7">RFC6020, section 13.7</a>.
      */
     public static YangErrorInfo missingChoice(final NodeIdentifier choiceName) {
         return of(MISSING_CHOICE_NODEID, choiceName);
index e0c1f0e238c1316245726bba18479fba2fcdf767..d13b883070266a092efe4b66fec66e91c9e81725 100644 (file)
@@ -11,8 +11,8 @@ import com.google.common.annotations.Beta;
 
 /**
  * {@link DataTree} type, specifying which YANG modeled content is valid with a data tree. This reflects
- * <a href="https://tools.ietf.org/html/rfc6020#section-7.21.1">RFC6020</a>/
- * <a href="https://tools.ietf.org/html/rfc6020#section-7.19.1">RFC7950</a> data combinations based on {@code config}
+ * <a href="https://www.rfc-editor.org/rfc/rfc6020#section-7.21.1">RFC6020</a>/
+ * <a href="https://www.rfc-editor.org/rfc/rfc6020#section-7.19.1">RFC7950</a> data combinations based on {@code config}
  * statement.
  */
 // FIXME: 7.0.0: Consider defining a 'config false'-only type
@@ -22,15 +22,15 @@ public enum TreeType {
     /**
      * Only {@code config true} nodes are allowed. This corresponds, but is not limited, to @{code candidate},
      * {@code startup} and {@code running} data stores defined in
-     * <a href="https://tools.ietf.org/html/rfc8342#section-4.1">RFC8342 section 4.1</a> as well as {@code intended}
-     * data store defined in <a href="https://tools.ietf.org/html/rfc8342#section-5">RFC8342 section 4.1</a>.
+     * <a href="https://www.rfc-editor.org/rfc/rfc8342#section-4.1">RFC8342 section 4.1</a> as well as {@code intended}
+     * data store defined in <a href="https://www.rfc-editor.org/rfc/rfc8342#section-5">RFC8342 section 4.1</a>.
      */
     CONFIGURATION,
     /**
      * Only {@code config true} and {@code config false} nodes are allowed. This corresponds, but is not limited, to
      * {@code operational state} defined in
-     * <a href="https://tools.ietf.org/html/rfc8342#section-4.1">RFC8342 section 4.1</a> as well as {@code operational}
-     * data store defined in <a href="https://tools.ietf.org/html/rfc8342#section-5">RFC8342 section 4.1</a>.
+     * <a href="https://www.rfc-editor.org/rfc/rfc8342#section-4.1">RFC8342 section 4.1</a> as well as {@code operational}
+     * data store defined in <a href="https://www.rfc-editor.org/rfc/rfc8342#section-5">RFC8342 section 4.1</a>.
      */
     OPERATIONAL,
 }
index 77a029dcb4fd81d060cd54457de5fd3fe4fda942..0ffb3d1275cb4bc64b723e3e8edb75754be5c916 100644 (file)
@@ -14,7 +14,7 @@ import org.opendaylight.yangtools.yang.model.api.stmt.UnknownEffectiveStatement;
 
 /**
  * Effective statement representation of 'get-filter-element-attributes' extension defined in
- * <a href="https://tools.ietf.org/html/rfc6241">RFC6241</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc6241">RFC6241</a>.
  */
 @Beta
 public interface GetFilterElementAttributesEffectiveStatement
index 3da914d09ebb75c4dfbe17ce682dd4f065711368..1b2d912c248d41b4ec577d4ac8f74668fdbdff01 100644 (file)
@@ -14,7 +14,7 @@ import org.opendaylight.yangtools.yang.model.api.UnknownSchemaNode;
 
 /**
  * Represents the effect of 'get-filter-element-attributes' extension, as defined in
- * <a href="https://tools.ietf.org/html/rfc6241">RFC6241</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc6241">RFC6241</a>.
  */
 @Beta
 public interface GetFilterElementAttributesSchemaNode extends UnknownSchemaNode {
index 6b6814dad89baf359f8ee83504974db5d23bead9..33ed60c26c2a5d386e4206e3cfd7afd7304fd6ab 100644 (file)
@@ -14,7 +14,7 @@ import org.opendaylight.yangtools.yang.model.api.stmt.UnknownStatement;
 
 /**
  * Declared statement representation of 'get-filter-element-attributes' extension defined in
- * <a href="https://tools.ietf.org/html/rfc6241">RFC6241</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc6241">RFC6241</a>.
  */
 @Beta
 public interface GetFilterElementAttributesStatement extends UnknownStatement<Empty> {
index 58783737b86b5d6db4db8790455b2a35dd013cf5..5224e7989c552d066d824ebcd339ffcc7bcff6c4 100644 (file)
@@ -7,7 +7,7 @@
  */
 /**
  * YANG metamodel extensions to support NETCONF, filters as defined in
- * <a href="https://tools.ietf.org/html/rfc6241">RFC6241</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc6241">RFC6241</a>.
  *
  * @author Robert Varga
  */
index b65df6ad585a60380fd763188d06a06b58d3e4d3..ef494ec38809a5f647b85fad6fa500a9f36da157 100644 (file)
@@ -14,7 +14,7 @@ import org.opendaylight.yangtools.yang.model.api.stmt.UnknownEffectiveStatement;
 
 /**
  * Effective statement representation of 'default-deny-all' extension defined in
- * <a href="https://tools.ietf.org/html/rfc6536">RFC6536</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc6536">RFC6536</a>.
  */
 @Beta
 public interface DefaultDenyAllEffectiveStatement extends UnknownEffectiveStatement<Empty, DefaultDenyAllStatement> {
index 9be5f465adec92e24cd48f00921dcee1da6cd5f5..3ec709fd5595e095af0c8b65891e4fdaef1a9709 100644 (file)
@@ -14,7 +14,7 @@ import org.opendaylight.yangtools.yang.model.api.UnknownSchemaNode;
 
 /**
  * Represents the effect of 'default-deny-all' extension, as defined in
- * <a href="https://tools.ietf.org/html/rfc6536">RFC6536</a>, being attached to a SchemaNode.
+ * <a href="https://www.rfc-editor.org/rfc/rfc6536">RFC6536</a>, being attached to a SchemaNode.
  */
 @Beta
 public interface DefaultDenyAllSchemaNode extends UnknownSchemaNode {
index 75525de3e014e77d970c7bbf799c8cbd11e7f06f..346c6249d57473dda94f716b29075cf520a86b41 100644 (file)
@@ -14,7 +14,7 @@ import org.opendaylight.yangtools.yang.model.api.stmt.UnknownStatement;
 
 /**
  * Declared statement representation of 'default-deny-all' extension defined in
- * <a href="https://tools.ietf.org/html/rfc6536">RFC6536</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc6536">RFC6536</a>.
  */
 @Beta
 public interface DefaultDenyAllStatement extends UnknownStatement<Empty> {
index 7c0e6721b16146edc8902f804f08ebed8b5ada15..1f1f91aef29a0fc430e8622a700b8c304234c393 100644 (file)
@@ -14,7 +14,7 @@ import org.opendaylight.yangtools.yang.model.api.stmt.UnknownEffectiveStatement;
 
 /**
  * Effective statement representation of 'default-deny-write' extension defined in
- * <a href="https://tools.ietf.org/html/rfc6536">RFC6536</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc6536">RFC6536</a>.
  */
 @Beta
 public interface DefaultDenyWriteEffectiveStatement
index 83367e2d65cbfeac4bfcc5761eabcafdaa036aa1..a2cd1831a19ac7ac495ebb1c9ef78c36ad868663 100644 (file)
@@ -14,7 +14,7 @@ import org.opendaylight.yangtools.yang.model.api.UnknownSchemaNode;
 
 /**
  * Represents the effect of 'default-deny-write' extension, as defined in
- * <a href="https://tools.ietf.org/html/rfc6536">RFC6536</a>, being attached to a SchemaNode.
+ * <a href="https://www.rfc-editor.org/rfc/rfc6536">RFC6536</a>, being attached to a SchemaNode.
  */
 @Beta
 public interface DefaultDenyWriteSchemaNode extends UnknownSchemaNode {
index df6769ad81bc22bf24221112f714f94e8f480799..d81320072ebfda2528868a53ad1758e7ccea9a49 100644 (file)
@@ -14,7 +14,7 @@ import org.opendaylight.yangtools.yang.model.api.stmt.UnknownStatement;
 
 /**
  * Declared statement representation of 'default-deny-write' extension defined in
- * <a href="https://tools.ietf.org/html/rfc6536">RFC6536</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc6536">RFC6536</a>.
  */
 @Beta
 public interface DefaultDenyWriteStatement extends UnknownStatement<Empty> {
index 08ec238fce71e823a172c60083bab57141c1c034..d961016784319d078f2290eb69a45c7c4e3bdb5e 100644 (file)
@@ -6,7 +6,7 @@
  * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
 /**
- * YANG metamodel extensions to support NACM, as defined in <a href="https://tools.ietf.org/html/rfc6536">RFC6536</a>.
+ * YANG metamodel extensions to support NACM, as defined in <a href="https://www.rfc-editor.org/rfc/rfc6536">RFC6536</a>.
  *
  * @author Robert Varga
  */
index 726c290fd026a779ccfcb62ed9e442a8aa71e9e4..51695dccfd59f81485844876ada84b94d9e895da 100644 (file)
@@ -18,13 +18,13 @@ import org.eclipse.jdt.annotation.Nullable;
 
 /**
  * Maximum allowed access, as defined by
- * <a href="https://tools.ietf.org/html/rfc2578#section-7.3">RFC2578 Section 7.3</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc2578#section-7.3">RFC2578 Section 7.3</a>.
  */
 @Beta
 public enum MaxAccess {
     /**
      * Indicates the annotated object is an auxiliary object, as per
-     * <a href="https://tools.ietf.org/html/rfc2578#section-7.7">RFC2578 Section 7.7</a>.
+     * <a href="https://www.rfc-editor.org/rfc/rfc2578#section-7.7">RFC2578 Section 7.7</a>.
      */
     NOT_ACCESSIBLE("not-accessible"),
     /**
index 36908d372689dbe58e1e388bdc67b9e3538ba88e..2e0175b1b4cf4c1664e3e2e202f8af0ca7de4ec9 100644 (file)
@@ -15,7 +15,7 @@ import org.opendaylight.yangtools.yang.model.api.stmt.UnknownEffectiveStatement;
 
 /**
  * Effective statement representation of 'annotation' extension defined in
- * <a href="https://tools.ietf.org/html/rfc7952">RFC7952</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc7952">RFC7952</a>.
  */
 @Beta
 public interface AnnotationEffectiveStatement extends UnknownEffectiveStatement<QName, AnnotationStatement>,
index b938b9b220056172d0dcbdccf043f43d5665539f..51be134fe8e7afcbb53b80927c27788cc85c54a5 100644 (file)
@@ -21,7 +21,7 @@ import org.opendaylight.yangtools.yang.model.api.UnknownSchemaNode;
 
 /**
  * Represents the effect of 'annotation' extension, as defined in
- * <a href="https://tools.ietf.org/html/rfc7952">RFC7952</a>, being attached to a SchemaNode.
+ * <a href="https://www.rfc-editor.org/rfc/rfc7952">RFC7952</a>, being attached to a SchemaNode.
  */
 @Beta
 public interface AnnotationSchemaNode extends UnknownSchemaNode, TypeAware {
index 333e285331f97af153effa960622a3cede980fd2..878892344afeb9d8276537473a8fbe1e81613500 100644 (file)
@@ -17,7 +17,7 @@ import org.opendaylight.yangtools.yang.model.api.stmt.UnknownStatement;
 
 /**
  * Declared statement representation of 'annotation' extension defined in
- * <a href="https://tools.ietf.org/html/rfc7952">RFC7952</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc7952">RFC7952</a>.
  */
 @Beta
 public interface AnnotationStatement extends UnknownStatement<QName>, WithStatus<QName>,
index fd32f5a2f95e93cc70a34d2daca217c6779b9f0b..01dc69e3b5b9423698d68812218282b865ce8f53 100644 (file)
@@ -7,7 +7,7 @@
  */
 /**
  * YANG metamodel extensions to support metadata, as defined in
- * <a href="https://tools.ietf.org/html/rfc7952">RFC7952</a>. For SchemaNode world entry space is defined via
+ * <a href="https://www.rfc-editor.org/rfc/rfc7952">RFC7952</a>. For SchemaNode world entry space is defined via
  * {@link org.opendaylight.yangtools.rfc7952.model.api.AnnotationSchemaNode}'s static methods.
  *
  * @author Robert Varga
index 5bbf4df84a49300c8065795cfacbf447a784a55d..5eece5fa6e3c25013a4e431567b96894775e9ddf 100644 (file)
@@ -14,7 +14,7 @@ import org.opendaylight.yangtools.yang.model.api.stmt.UnknownEffectiveStatement;
 
 /**
  * Effective statement representation of 'yang-data' extension defined in
- * <a href="https://tools.ietf.org/html/rfc8040#section-8">RFC 8040</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc8040#section-8">RFC 8040</a>.
  */
 public interface YangDataEffectiveStatement extends UnknownEffectiveStatement<YangDataName, YangDataStatement>,
         DataTreeAwareEffectiveStatement<YangDataName, YangDataStatement> {
index 0e1224020c8655b8cfb7b60cbee27e5252897987..e480f2ffdf4a782f8f5cd582354e76654500aafd 100644 (file)
@@ -13,7 +13,7 @@ import org.opendaylight.yangtools.yang.model.api.UnknownSchemaNode;
 
 /**
  * Represents 'yang-data' extension statement defined in
- * <a href="https://tools.ietf.org/html/rfc8040#section-8">RFC8040</a>. This statement must appear as a top-level
+ * <a href="https://www.rfc-editor.org/rfc/rfc8040#section-8">RFC8040</a>. This statement must appear as a top-level
  * statement, otherwise it is ignored and does not appear in the final schema context.
  */
 @Beta
index dabf4b041ef3e190c60b4b74ec1f04575fb7bf9d..ea02bbbfcaf3a79737897ccc81859184321918cb 100644 (file)
@@ -13,7 +13,7 @@ import org.opendaylight.yangtools.yang.model.api.stmt.UnknownStatement;
 
 /**
  * Declared statement representation of 'yang-data' extension defined in
- * <a href="https://tools.ietf.org/html/rfc8040#section-8">RFC 8040</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc8040#section-8">RFC 8040</a>.
  */
 public interface YangDataStatement extends UnknownStatement<YangDataName> {
     @Override
index 67eff0ae20f3f3a32377c8a95cdcb82aebfacd4f..8c5a5bd2288a9452fc8dfd5aacd21bab4d33c3fe 100644 (file)
@@ -14,7 +14,7 @@ import org.opendaylight.yangtools.yang.model.api.stmt.UnknownEffectiveStatement;
 
 /**
  * Effective statement representation of 'mount-point' extension defined in
- * <a href="https://tools.ietf.org/html/rfc8528">RFC8528</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc8528">RFC8528</a>.
  */
 @Beta
 public interface MountPointEffectiveStatement extends UnknownEffectiveStatement<MountPointLabel, MountPointStatement> {
index 6d1a2bbc47cb749e91185c8e3a27c43ba43b8fc4..c70cfa1e44455ec72bc098b65756c0f9760f5c27 100644 (file)
@@ -16,7 +16,7 @@ import org.opendaylight.yangtools.yang.model.api.UnknownSchemaNode;
 
 /**
  * Represents the effect of 'mount-point' extension, as defined in
- * <a href="https://tools.ietf.org/html/rfc8528">RFC8528</a>, being attached to a SchemaNode.
+ * <a href="https://www.rfc-editor.org/rfc/rfc8528">RFC8528</a>, being attached to a SchemaNode.
  */
 @Beta
 public interface MountPointSchemaNode extends UnknownSchemaNode {
index 0ae1407a2cb848aa21ee99243a9d810b47849a60..bcaaefceb41acd90e6252d9c589ab0c82ce8ea21 100644 (file)
@@ -16,7 +16,7 @@ import org.opendaylight.yangtools.yang.model.api.stmt.UnknownStatement;
 
 /**
  * Declared statement representation of 'mount-point' extension defined in
- * <a href="https://tools.ietf.org/html/rfc8528">RFC8528</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc8528">RFC8528</a>.
  */
 @Beta
 public interface MountPointStatement extends UnknownStatement<MountPointLabel>, WithStatus<MountPointLabel>,
index 1b6a0ea08c176b5d701efa07dcebdd5b9e6a6e27..45812b499b82df240db1a21a49d9049aedfd9ba9 100644 (file)
@@ -7,7 +7,7 @@
  */
 /**
  * YANG metamodel extensions to support mount-poing, as defined in
- * <a href="https://tools.ietf.org/html/rfc8528">RFC8528</a>. For SchemaNode world entry space is defined via
+ * <a href="https://www.rfc-editor.org/rfc/rfc8528">RFC8528</a>. For SchemaNode world entry space is defined via
  * {@link org.opendaylight.yangtools.rfc8528.model.api.MountPointSchemaNode}'s static methods.
  *
  * @author Robert Varga
index 260f9b16f03b2f85a8d18ac267b216b235b0e7c3..7b6f7e6add7ab7ca132f2010e44f190f351c11f6 100644 (file)
@@ -11,29 +11,26 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 
 /**
  * IETF YANG Module Tags Registry, as defined in
- * <a href="https://datatracker.ietf.org/doc/html/rfc8819#section-7.2">RFC8819</a> section 7.2, table 2.
+ * <a href="https://www.rfc-editor.org/rfc/rfc8819#section-7.2">RFC8819</a> section 7.2, table 2.
  *
  * <p>
- * This registry allocates tags that have the registered prefix "ietf:".
- * New values should be well considered and not achievable through a
- * combination of already existing IETF tags.  IANA assigned tags must
- * conform to Net-Unicode as defined in
- * <a href="https://datatracker.ietf.org/doc/html/rfc5198">RFC5198</a>, and they shall not
- * need normalization.
+ * This registry allocates tags that have the registered prefix "ietf:". New values should be well considered and not
+ * achievable through a combination of already existing IETF tags. IANA assigned tags must conform to Net-Unicode as
+ * defined in <a href="https://www.rfc-editor.org/rfc/rfc5198">RFC5198</a>, and they shall not need normalization.
  */
 @NonNullByDefault
 public final class IetfTags {
     /**
      * {@code ietf:network-element-class} {@link IetfTags}.
      * <pre>
-     *    Network element as defined in <a href="https://datatracker.ietf.org/doc/html/rfc8199">RFC8199</a>.
+     *    Network element as defined in <a href="https://www.rfc-editor.org/rfc/rfc8199">RFC8199</a>.
      * </pre>
      */
     public static final Tag NETWORK_ELEMENT_CLASS = new Tag("ietf:network-element-class").intern();
     /**
      * {@code ietf:network-service-class} {@link IetfTags}
      * <pre>
-     *    Network element as defined in <a href="https://datatracker.ietf.org/doc/html/rfc8199">RFC8199</a>.
+     *    Network element as defined in <a href="https://www.rfc-editor.org/rfc/rfc8199">RFC8199</a>.
      * </pre>
      */
     public static final Tag NETWORK_SERVICE_CLASS = new Tag("ietf:network-service-class").intern();
index f882a78f7f8d78af3e46abb65ae1bf70e73de8f5..84ad3f53fcef506acff05f47a4239bba7faf5bca 100644 (file)
@@ -13,7 +13,7 @@ import org.opendaylight.yangtools.yang.model.api.stmt.UnknownEffectiveStatement;
 
 /**
  * Effective statement representation of 'module-tag' extension defined in
- * <a href="https://datatracker.ietf.org/doc/html/rfc8819">RFC8819</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc8819">RFC8819</a>.
  */
 @Beta
 public interface ModuleTagEffectiveStatement extends UnknownEffectiveStatement<Tag, ModuleTagStatement> {
index aedf36e34b6f1dd3ea24ec8fc10f30f87aa3b1d5..61a60112e03ac5d3c296485e30a2c4b7eddfddde 100644 (file)
@@ -13,7 +13,7 @@ import org.opendaylight.yangtools.yang.model.api.stmt.UnknownStatement;
 
 /**
  * Declared statement representation of 'module-tag' extension defined in
- * <a href="https://datatracker.ietf.org/doc/html/rfc8819">RFC8819</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc8819">RFC8819</a>.
  */
 @Beta
 public interface ModuleTagStatement extends UnknownStatement<Tag> {
index c38598df379793b084fac6112c1eed0dbdedb2a6..b3949b3a420c2a43838ac7ebdcbf44e967ea373b 100644 (file)
@@ -16,7 +16,7 @@ import org.eclipse.jdt.annotation.NonNull;
 
 /**
  * YANG Module Tag Prefixes Registry, as defined in
- * <a href="https://datatracker.ietf.org/doc/html/rfc8819#section-7.1">RFC8819</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc8819#section-7.1">RFC8819</a>.
  *
  * <p>
  * This registry allocates tag prefixes.  All YANG module tags SHOULD
index 73e0ee3a9640140a6f77f2e3627abe232c08a83b..3fc58e38e7e355957095149a1c37f5deee106165 100644 (file)
@@ -16,7 +16,7 @@ import org.opendaylight.yangtools.yang.model.api.stmt.AnyxmlEffectiveStatement;
  *
  * <p>
  * This interface was modeled according to definition in
- * <a href="https://tools.ietf.org/html/rfc6020#section-7.10">[RFC-6020] The anyxml Statement</a>
+ * <a href="https://www.rfc-editor.org/rfc/rfc6020#section-7.10">[RFC-6020] The anyxml Statement</a>
  */
 public interface AnyxmlSchemaNode extends DataSchemaNode, MandatoryAware, MustConstraintAware,
         EffectiveStatementEquivalent<AnyxmlEffectiveStatement> {
index 47d9c23805c38f39acec7960af11de1f091f28eb..7b269d399943bb2e0d8a65a690b02dc8d194fa3b 100644 (file)
@@ -18,7 +18,7 @@ public interface ExtensionDefinition extends SchemaNode, EffectiveStatementEquiv
      * Keyword. If no argument statement is present the method will return
      * <code>null</code> <br>
      * The argument statement is defined in <a
-     * href="https://tools.ietf.org/html/rfc6020#section-7.17.2">[RFC-6020] The
+     * href="https://www.rfc-editor.org/rfc/rfc6020#section-7.17.2">[RFC-6020] The
      * argument Statement</a>
      *
      * @return the <code>String</code> that is the name of argument to the
@@ -36,7 +36,7 @@ public interface ExtensionDefinition extends SchemaNode, EffectiveStatementEquiv
      *
      * <p>
      * For more specific definition please look into <a
-     * href="https://tools.ietf.org/html/rfc6020#section-7.17.2.2">[RFC-6020]
+     * href="https://www.rfc-editor.org/rfc/rfc6020#section-7.17.2.2">[RFC-6020]
      * The yin-element Statement</a>
      *
      * @return <code>true</code> if the argument is mapped to an XML element in
index 979ab7f5f9035d5eafcc03bfca324ffee8702e94..b31f0ed0b27a12c3f1ce67bf4f6b110c60a2db1a 100644 (file)
@@ -19,7 +19,7 @@ public non-sealed interface LeafListSchemaNode extends TypedDataSchemaNode, Must
 
     /**
      * Return the default value of this leaf-list, as per the rules outlined in
-     * <a href="https://tools.ietf.org/html/rfc7950#section-7.7.4">Section 7.4.4 of RFC7950</a>. RFC6020 does not
+     * <a href="https://www.rfc-editor.org/rfc/rfc7950#section-7.7.4">Section 7.4.4 of RFC7950</a>. RFC6020 does not
      * allow for default value of leaf-list, hence the returned list will be empty.
      *
      * @return Ordered list of Strings which specify the default values of this leaf-list
index 14ad2b31b80a017c50e83e8bd2e72f2a31549aec..9dd91680dac5a2d729fda664aa7230a537288c8c 100644 (file)
@@ -17,7 +17,7 @@ public interface MandatoryAware {
     /**
      * Return whether this node is mandatory or not. Note this reflects the declared model, as defined by 'mandatory'
      * statement, not the effective model. This notably means this attribute does not mirror the definition of
-     * {@code mandatory node} as per <a href="https://tools.ietf.org/html/rfc7950#page-14">RFC7950 Terminology</a>.
+     * {@code mandatory node} as per <a href="https://www.rfc-editor.org/rfc/rfc7950#page-14">RFC7950 Terminology</a>.
      *
      * @return True if this node is marked as mandatory.
      */
index 7b030cbcaf03983797acd758588fe1109727a104..671f0a01b9bccab566f36442058a09bdc5147c32 100644 (file)
@@ -24,7 +24,7 @@ import org.opendaylight.yangtools.yang.xpath.api.YangXPathAxis;
 import org.opendaylight.yangtools.yang.xpath.api.YangXPathExpression;
 
 /**
- * An expression as defined in <a href="https://tools.ietf.org/html/rfc7950#section-9.9.2">RFC7950 Section 9.9.2</a>,
+ * An expression as defined in <a href="https://www.rfc-editor.org/rfc/rfc7950#section-9.9.2">RFC7950 Section 9.9.2</a>,
  * i.e. the argument of a {@code path} statement.
  *
  * <p>
index 004749bb6c7c56af3fe447a8c281f6e3a604959c..ee0db81adbffe5eb3b88d42b1380f6be29c72e83 100644 (file)
@@ -16,7 +16,7 @@ import org.opendaylight.yangtools.yang.model.api.stmt.SchemaTreeEffectiveStateme
 /**
  * An {@link EffectiveStatementInference} consisting purely of steps along the {@code schema tree} axis, so that it
  * represents a {@code schema tree node} based on resolution of {@code absolute-schema-nodeid} as specified by
- * <a href="https://tools.ietf.org/html/rfc7950#section-6.5">RFC7950 section 6.5</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc7950#section-6.5">RFC7950 section 6.5</a>.
  */
 public interface SchemaTreeInference extends EffectiveStatementInference {
     /**
index df3247e7b63d6576149e9686c49d03ac52edf337..fad722b11cc9a435a3eb1fc8d7aa07af1a308c36 100644 (file)
@@ -21,7 +21,7 @@ import org.opendaylight.yangtools.yang.common.QName;
  * keyword, followed by zero or one argument </blockquote>
  *
  * <p>
- * Source: <a href="https://tools.ietf.org/html/rfc6020#section-6.3"> </a>
+ * Source: <a href="https://www.rfc-editor.org/rfc/rfc6020#section-6.3"> </a>
  */
 public interface StatementDefinition extends Immutable {
     /**
index 8ed1e19fc233212dbd0d6686950eca510b35e5a3..e9394f1cab24327f9d50328a25ebb1641a4498b0 100644 (file)
@@ -16,7 +16,7 @@
  *
  * <h2>Statements</h2>
  * YANG source is defined as sequence of statement in
- * <a href="https://tools.ietf.org/html/rfc6020#section-6.3">RFC6020, Section 6.3</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc6020#section-6.3">RFC6020, Section 6.3</a>.
  * this model is also correct for YIN, which is XML serialisation of YANG source.
  *
  * <p>
index 2c9dca31dd370c51b89d78d20bc7ef33795d1266..9b52ddcc60d561ca36b2ac2988da5403fe9b5263 100644 (file)
@@ -13,7 +13,7 @@ import org.opendaylight.yangtools.yang.model.api.meta.StatementDefinition;
 
 /**
  * {@link EffectiveStatement} representation of a {@code augment} statement as defined by
- * <a href="https://datatracker.ietf.org/doc/html/rfc7950#section-7.17">RFC7950</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc7950#section-7.17">RFC7950</a>.
  */
 public interface AugmentEffectiveStatement
         extends SchemaTreeAwareEffectiveStatement<SchemaNodeIdentifier, AugmentStatement> {
index e8f014e0276c3363a05e5c834f42586a7adccb24..0cc282ded5146abbf2d2addc6a68767c81a4037d 100644 (file)
@@ -14,7 +14,7 @@ import org.opendaylight.yangtools.yang.common.QName;
  * and anydata.
  *
  * <p>
- * Defined in <a href="https://tools.ietf.org/html/rfc6020#section-3">RFC6020, Section 3</a>, as {@code data-def-stmt}
+ * Defined in <a href="https://www.rfc-editor.org/rfc/rfc6020#section-3">RFC6020, Section 3</a>, as {@code data-def-stmt}
  * ABNF rule.
  */
 public interface DataDefinitionStatement
index 07cd72a6898747308980c6535c62c2dfa586d02c..2f04823a435f4395d673a59de221883ac3d24026 100644 (file)
@@ -14,7 +14,7 @@ import org.opendaylight.yangtools.yang.model.api.meta.StatementDefinition;
 
 /**
  * {@link EffectiveStatement} representation of a {@code leaf-list} statement as defined by
- * <a href="https://datatracker.ietf.org/doc/html/rfc7950#section-7.7">RFC7950</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc7950#section-7.7">RFC7950</a>.
  */
 public interface LeafListEffectiveStatement extends DataTreeEffectiveStatement<LeafListStatement>,
         OrderedByAwareEffectiveStatement<QName, LeafListStatement> {
index f83d87b7e4a043214e32c91da1d7c7a7cf88a9c2..3dca6eda3debe6ed45d83fcfe4bd440fbae30b7f 100644 (file)
@@ -14,7 +14,7 @@ import org.opendaylight.yangtools.yang.model.api.meta.StatementDefinition;
 
 /**
  * {@link EffectiveStatement} representation of a {@code list} statement as defined by
- * <a href="https://datatracker.ietf.org/doc/html/rfc7950#section-7.8">RFC7950</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc7950#section-7.8">RFC7950</a>.
  */
 public interface ListEffectiveStatement extends DataTreeEffectiveStatement<ListStatement>,
         DataTreeAwareEffectiveStatement<QName, ListStatement>, TypedefAwareEffectiveStatement<QName, ListStatement>,
index cd29d981bde48ad4d4e26e72cdd96d6ff7f91487..93f06620683c028df00eadc997d3676886107551 100644 (file)
@@ -26,10 +26,10 @@ public non-sealed interface ModuleEffectiveStatement
                 TypedefAwareEffectiveStatement<Unqualified, ModuleStatement>,
                 SchemaTreeRoot {
     /**
-     * Conformance type, as defined by <a href="https://datatracker.ietf.org/doc/html/rfc7895#page-9">RFC7895</a> and
-     * indirectly referenced in <a href="https://datatracker.ietf.org/doc/html/rfc7950#section-5.6.4">RFC7950</a>. The
-     * NMDA revision of <a href="https://datatracker.ietf.org/doc/html/rfc8525">YANG Library</a> does not directly
-     * define these, but makes a distiction on the same concept.
+     * Conformance type, as defined by <a href="https://www.rfc-editor.org/rfc/rfc7895#page-9">RFC7895</a> and
+     * indirectly referenced in <a href="https://www.rfc-editor.org/rfc/rfc7950#section-5.6.4">RFC7950</a>. The NMDA
+     * revision of <a href="https://www.rfc-editor.org/rfc/rfc8525">YANG Library</a> does not directly define these, but
+     * makes a distiction on the same concept.
      */
     enum ConformanceType {
         /**
index 6dbf898ff01ef3fed0cb3a2102f660f62651d1fb..7439f4c50aba6434cf7cf5d1e3ecdf5ec3cc6a6f 100644 (file)
@@ -25,7 +25,7 @@ import org.opendaylight.yangtools.yang.common.QNameModule;
 
 /**
  * Represents unique path to every schema node inside the schema node identifier namespace. This concept is defined
- * in <a href="https://tools.ietf.org/html/rfc7950#section-6.5">RFC7950</a>.
+ * in <a href="https://www.rfc-editor.org/rfc/rfc7950#section-6.5">RFC7950</a>.
  */
 public abstract sealed class SchemaNodeIdentifier implements Immutable {
     /**
index 25101038b84331a68cbe9b4edda931ceca0a96e7..83e7a6589ac3142696b1e1ae259a66f867a20e41 100644 (file)
@@ -13,13 +13,13 @@ import org.eclipse.jdt.annotation.Nullable;
 
 /**
  * The binary built-in type represents any binary data, i.e., a sequence of octets. Binary values are encoded with the
- * Base64 encoding scheme (see <a href="https://tools.ietf.org/html/rfc4648#section-4">[RFC4648], Section 4</a>).<br>
+ * Base64 encoding scheme (see <a href="https://www.rfc-editor.org/rfc/rfc4648#section-4">[RFC4648], Section 4</a>).<br>
  * The canonical form of a binary value follows the rules defined in
- * <a href="https://tools.ietf.org/html/rfc4648">[RFC4648]</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc4648">[RFC4648]</a>.
  *
  * <p>
  * This interface was modeled according to definition in
- * <a href="https://tools.ietf.org/html/rfc6020#section-9.8">[RFC-6020] The binary Built-In Type</a>
+ * <a href="https://www.rfc-editor.org/rfc/rfc6020#section-9.8">[RFC-6020] The binary Built-In Type</a>
  */
 public interface BinaryTypeDefinition extends LengthRestrictedTypeDefinition<BinaryTypeDefinition> {
     static String toString(final @NonNull BinaryTypeDefinition type) {
index e3f59ab43797ad5775e245f2aa0cc813d9691f2a..47ce438b29dfaa67613801c5ee80c50907b2b905 100644 (file)
@@ -12,7 +12,7 @@ import org.opendaylight.yangtools.yang.model.api.ConstraintMetaDefinition;
 
 /**
  * A single value length restriction, as expressed by a length statement, as specified by
- * <a href="https://tools.ietf.org/html/rfc6020#section-9.4.4">[RFC-6020] The length Statement</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc6020#section-9.4.4">[RFC-6020] The length Statement</a>.
  */
 public interface LengthConstraint extends ConstraintMetaDefinition {
     /**
index ea6a4f3dbdb6bae5cc436d4db12e5894fb975b0d..cd70d8fffc1bb04e187c44de1383e650713cc1c2 100644 (file)
@@ -13,7 +13,7 @@ import org.opendaylight.yangtools.yang.model.api.ConstraintMetaDefinition;
 
 /**
  * A single value range restriction, as expressed by a range statement, as specified by
- * <a href="https://tools.ietf.org/html/rfc6020#section-9.2.4">[RFC-6020] The range Statement</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc6020#section-9.2.4">[RFC-6020] The range Statement</a>.
  */
 public interface RangeConstraint<T extends Number & Comparable<T>> extends ConstraintMetaDefinition {
     /**
index 0c94d0fef5e8a21978d963199e34b1b45ba0d247..c4f88f866db74326ac20e654d266742b979e7ce4 100644 (file)
@@ -35,7 +35,7 @@ import org.opendaylight.yangtools.yang.model.api.meta.StatementDefinition;
  */
 @NonNullByDefault({ PARAMETER, RETURN_TYPE })
 final class YangTextSnippetIterator extends AbstractIterator<@NonNull String> {
-    // https://tools.ietf.org/html/rfc7950#section-6.1.3
+    // https://www.rfc-editor.org/rfc/rfc7950#section-6.1.3
     //            An unquoted string is any sequence of characters that does not
     //            contain any space, tab, carriage return, or line feed characters, a
     //            single or double quote character, a semicolon (";"), braces ("{" or
@@ -52,7 +52,7 @@ final class YangTextSnippetIterator extends AbstractIterator<@NonNull String> {
         YangStmtMapping.REFERENCE);
 
     /*
-     * https://tools.ietf.org/html/rfc6087#section-4.3:
+     * https://www.rfc-editor.org/rfc/rfc6087#section-4.3:
      *            In general, it is suggested that substatements containing very common
      *            default values SHOULD NOT be present.  The following substatements
      *            are commonly used with the default value, which would make the module
index 05eca0dabf290a11293b36a973df792ce3d65226..a59ac8770940211ff3ea748277e92398ee970800 100644 (file)
@@ -27,7 +27,7 @@ final class BaseDecimalType extends AbstractRangeRestrictedBaseType<DecimalTypeD
 
         @Override
         public Optional<String> getReference() {
-            return Optional.of("https://tools.ietf.org/html/rfc6020#section-9.3.4");
+            return Optional.of("https://www.rfc-editor.org/rfc/rfc6020#section-9.3.4");
         }
 
         @Override
index bf103c94b727502dc99d4e5a08fcc32994a1dbd1..d26f451bff58c9c9372043ce557a5e23916f1615 100644 (file)
@@ -37,7 +37,7 @@ public abstract class DerivedTypeBuilder<T extends TypeDefinition<T>> extends Ty
             || baseType instanceof AbstractRestrictedType,
             "Derived type can be built only from a base, derived, or restricted type, not %s", baseType);
 
-        // http://tools.ietf.org/html/rfc6020#section-7.3.4
+        // http://www.rfc-editor.org/rfc/rfc6020#section-7.3.4
         defaultValue = baseType.getDefaultValue().orElse(null);
 
         // In similar vein, it makes sense to propagate units
index aa593e64c4dc1e3e253e5937f3a56dd5d92d230a..1182828fb34dec30ad6b87688082dc7de6766c5b 100644 (file)
@@ -35,7 +35,7 @@ public final class StringTypeBuilder extends LengthRestrictedTypeBuilder<StringT
         /**
          * Length constraint imposed on YANG string type by our implementation. {@link String#length()} is an integer,
          * capping our ability to support strings up to 18446744073709551615 as defined in
-         * http://tools.ietf.org/html/rfc6020#section-9.4.4.
+         * http://www.rfc-editor.org/rfc/rfc6020#section-9.4.4.
          *
          * FIXME: We could bump this number up to allow such models, but that could lead to unexpected run-time errors.
          *        In order to do that, the parser would need another pass on the effective statements, which would cap
index 5e2c3e004bf40151fabb13edcc5fa631ad92f69a..6a47fb6e38030801e61a11f33d32abba7b8df627 100644 (file)
@@ -21,7 +21,7 @@ import org.opendaylight.yangtools.yang.model.spi.AbstractEffectiveModelContextPr
 /**
  * Utility {@link YangNamespaceContext} backed by a SchemaContext, resolving namespaces to their module names. This
  * is useful for implementing namespace resolution according to
- * <a href="https://tools.ietf.org/html/rfc7951#section-4">RFC7951 Section 4</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc7951#section-4">RFC7951 Section 4</a>.
  *
  * <p>
  * When multiple revisions of a particular namespace are present in the backing SchemaContext, this ambiguity is
index fe3b45092f5533f751f8195695bacc1dfe6ba64a..7ac26c88079af16cfead982f6254b69bd459c53f 100644 (file)
@@ -6,7 +6,7 @@
  * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
 /**
- * YANG parser support for metamodel extensions defined in <a href="https://tools.ietf.org/html/rfc6241">RFC6241</a>.
+ * YANG parser support for metamodel extensions defined in <a href="https://www.rfc-editor.org/rfc/rfc6241">RFC6241</a>.
  * Add {@link org.opendaylight.yangtools.rfc6241.parser.GetFilterElementAttributesStatementSupport} to your reactor to
  * add support for this extension.
  *
index eddffc713c580ac18af29a000c2ee19aae8ef8a1..f08d8876ed7cdb0bc243a7e0d1b3bad508094659 100644 (file)
@@ -6,7 +6,7 @@
  * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
 /**
- * YANG parser support for metamodel extensions defined in <a href="https://tools.ietf.org/html/rfc6536">RFC6536</a>.
+ * YANG parser support for metamodel extensions defined in <a href="https://www.rfc-editor.org/rfc/rfc6536">RFC6536</a>.
  * Add {@link org.opendaylight.yangtools.rfc6536.parser.DefaultDenyAllStatementSupport} and
  * {@link org.opendaylight.yangtools.rfc6536.parser.DefaultDenyWriteStatementSupport} to your reactor to add support
  * for this extension.
index 26e9d3e204f77b9282d71700ca8f89123581a2f1..7c6d39e04b644883ee03991e23879581806c59e7 100644 (file)
@@ -6,7 +6,7 @@
  * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
 /**
- * YANG parser support for metamodel extensions defined in <a href="https://tools.ietf.org/html/rfc7952">RFC7952</a>.
+ * YANG parser support for metamodel extensions defined in <a href="https://www.rfc-editor.org/rfc/rfc7952">RFC7952</a>.
  * Add {@link org.opendaylight.yangtools.rfc7952.parser.AnnotationStatementSupport} to your reactor to add support
  * for this extension.
  *
index 4ff8d9592da76132431506d1578193e955a123c5..839c66fa61e25ca30de5a660cccd4300e16b05f1 100644 (file)
@@ -15,7 +15,7 @@ import org.opendaylight.yangtools.yang.model.spi.meta.AbstractDeclaredStatement.
 
 /**
  * Declared statement representation of 'yang-data' extension defined in
- * <a href="https://tools.ietf.org/html/rfc8040#section-8">RFC 8040</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc8040#section-8">RFC 8040</a>.
  */
 final class YangDataStatementImpl extends WithSubstatements<YangDataName> implements YangDataStatement {
     YangDataStatementImpl(final YangDataName argument,
index 73cf81973b70ecfee71239fb4f87df41acab582f..319a00ad6f13041b8879e7307836e18b63c23c1a 100644 (file)
@@ -89,7 +89,7 @@ public final class YangDataStatementSupport
 
     @Override
     public void onStatementAdded(final Mutable<YangDataName, YangDataStatement, YangDataEffectiveStatement> ctx) {
-        // as per https://tools.ietf.org/html/rfc8040#section-8,
+        // as per https://www.rfc-editor.org/rfc/rfc8040#section-8,
         // yang-data is ignored unless it appears as a top-level statement
         if (ctx.coerceParentContext().getParentContext() != null) {
             ctx.setUnsupported();
index 6bc4c97eb6ca963c9eeecacda4e4582563ad71ca..8ad65d67891f6d3b8e4231761740033b3684311d 100644 (file)
@@ -6,7 +6,7 @@
  * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
 /**
- * YANG parser support for metamodel extensions defined in <a href="https://tools.ietf.org/html/rfc8528">RFC8528</a>.
+ * YANG parser support for metamodel extensions defined in <a href="https://www.rfc-editor.org/rfc/rfc8528">RFC8528</a>.
  * Add {@link org.opendaylight.yangtools.rfc8528.parser.MountPointStatementSupport} to your reactor to add support
  * for this extension.
  *
index 7fbcce0a20c1993b6233351b17823347f0c61d40..5751fa72c5b6854eaea241a94a53ad6b880c829d 100644 (file)
@@ -16,8 +16,8 @@ import org.eclipse.jdt.annotation.NonNull;
 
 /**
  * An argument to a YANG statement, as defined by section 6.1.3 of both
- * <a href="https://tools.ietf.org/html/rfc6020#section-6.1.3">RFC6020</a> and
- * <a href="https://tools.ietf.org/html/rfc7950#section-6.1.3">RFC7950</a>. An argument is effectively any old string,
+ * <a href="https://www.rfc-editor.org/rfc/rfc6020#section-6.1.3">RFC6020</a> and
+ * <a href="https://www.rfc-editor.org/rfc/rfc7950#section-6.1.3">RFC7950</a>. An argument is effectively any old string,
  * except it can be defined in a number of ways:
  * <ul>
  *   <li>it can be a simple unquoted string, or</li>
index 5028cfb0c13ed07817c72f22f027c7bc536e19c0..c3ee509a8b02565e1fc7b4935e4d98a30175d29c 100644 (file)
@@ -16,8 +16,8 @@ import org.eclipse.jdt.annotation.Nullable;
 
 /**
  * A YANG keyword, as defined, as defined by section 6.1.2 of both
- * <a href="https://tools.ietf.org/html/rfc6020#section-6.1.2">RFC6020</a> and
- * <a href="https://tools.ietf.org/html/rfc7950#section-6.1.2">RFC7950</a>. The two options are discerned by nullability
+ * <a href="https://www.rfc-editor.org/rfc/rfc6020#section-6.1.2">RFC6020</a> and
+ * <a href="https://www.rfc-editor.org/rfc/rfc7950#section-6.1.2">RFC7950</a>. The two options are discerned by nullability
  * of {@link #prefix()} method's return, as hinted by the ABNF for {@code node-identifier} -- and while a keyword is a
  * semantically different construct, it shares the same value space.
  *
index 827aa16d40479ff2572e245c2c3d3f1db8023679..1c63d4866246e4635c5852f9aa7333b665942f6a 100644 (file)
@@ -12,8 +12,8 @@ package org.opendaylight.yangtools.yang.parser.api;
  */
 public enum ImportResolutionMode {
     /**
-     * Standard method as specified by <a href="https://tools.ietf.org/html/rfc6020#section-7.1.5">RFC6020</a> and
-     * refined by <a href="https://tools.ietf.org/html/rfc7950#section-7.1.5">RFC7950</a>. {@code import}s are resolved
+     * Standard method as specified by <a href="https://www.rfc-editor.org/rfc/rfc6020#section-7.1.5">RFC6020</a> and
+     * refined by <a href="https://www.rfc-editor.org/rfc/rfc7950#section-7.1.5">RFC7950</a>. {@code import}s are resolved
      * based on exact match of {@code revision-date} statement. In case it is not specified, latest available revision
      * is used.
      */
index 3d6e74906e3583c2199ee82e6cc7dedd64056782..8adb514b148bb4fef01478c2f1525e2451357cbf 100644 (file)
@@ -6,7 +6,7 @@
  * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
 /**
- * YANG parser public API. It allows compiling a set of <a href="https://tools.ietf.org/html/rfc7950">YANG (or YIN)</a>
+ * YANG parser public API. It allows compiling a set of <a href="https://www.rfc-editor.org/rfc/rfc7950">YANG (or YIN)</a>
  * modules into a
  * {@link org.opendaylight.yangtools.yang.model.api.EffectiveModelContext cross-referenced representation}. The primary
  * entry point is {@link YangParserFactory}, which is a thread-safe service. Its
index 98b41d0f0dfa6d65ee811feffc5d7d53235e11b5..f7369244cfeea678eff6175ce9daff4823ca220f 100644 (file)
@@ -26,7 +26,7 @@ import org.opendaylight.yangtools.yang.parser.spi.source.StatementSourceReferenc
 abstract class ArgumentContextUtils {
     /**
      * YANG 1.0 version of strings, which were not completely clarified in
-     * <a href="https://tools.ietf.org/html/rfc6020#section-6.1.3">RFC6020</a>.
+     * <a href="https://www.rfc-editor.org/rfc/rfc6020#section-6.1.3">RFC6020</a>.
      */
     private static final class RFC6020 extends ArgumentContextUtils {
         private static final @NonNull RFC6020 INSTANCE = new RFC6020();
@@ -44,7 +44,7 @@ abstract class ArgumentContextUtils {
 
     /**
      * YANG 1.1 version of strings, which were clarified in
-     * <a href="https://tools.ietf.org/html/rfc7950#section-6.1.3">RFC7950</a>.
+     * <a href="https://www.rfc-editor.org/rfc/rfc7950#section-6.1.3">RFC7950</a>.
      */
     // NOTE: the differences clarified lead to a proper ability to delegate this to ANTLR lexer, but that does not
     //       understand versions and needs to work with both.
index 7e53180ae247db1cb68198a540df9c6d349e078e..2a70a9929b54ce5c0b2b74fc219999f3dca66fd9 100644 (file)
@@ -64,8 +64,8 @@ abstract class AbstractAugmentStatementSupport
             "Augment argument \'%s\' is not valid, it can be only absolute path; or descendant if used in uses", value);
 
         // As per:
-        //   https://tools.ietf.org/html/rfc6020#section-7.15
-        //   https://tools.ietf.org/html/rfc7950#section-7.17
+        //   https://www.rfc-editor.org/rfc/rfc6020#section-7.15
+        //   https://www.rfc-editor.org/rfc/rfc7950#section-7.17
         //
         // The argument is either Absolute or Descendant based on whether the statement is declared within a 'uses'
         // statement. The mechanics differs wildly between the two cases, so let's start by ensuring our argument
index 67168258678943958d69d9b83bef374ff39431a6..b0cde03a490e2494b9191b5733bb02a2ee466d3f 100644 (file)
@@ -47,7 +47,7 @@ public final class KeyStatementSupport
 
     /**
      * Splitter corresponding to {@code key-arg} ABNF as defined
-     * in <a href="https://tools.ietf.org/html/rfc6020#section-12">RFC6020, section 12</a>:
+     * in <a href="https://www.rfc-editor.org/rfc/rfc6020#section-12">RFC6020, section 12</a>:
      *
      * <p>
      * {@code key-arg             = node-identifier *(sep node-identifier)}
index 46b3e3f5b17a79c8f0bce4308b1ee21926ba0857..4d5282d3fe17067bd0e7d2a3f20878bae5e443c5 100644 (file)
@@ -89,7 +89,7 @@ final class BitsSpecificationSupport extends AbstractTypeSupport<BitsSpecificati
 
     private static SourceException noBits(final CommonStmtCtx stmt) {
         /*
-         *  https://tools.ietf.org/html/rfc7950#section-9.7.4:
+         *  https://www.rfc-editor.org/rfc/rfc7950#section-9.7.4:
          *
          *     The "bit" statement, which is a substatement to the "type" statement,
          *     MUST be present if the type is "bits".
index 90ecd881754114d2d9703dbf5a34cca99d0d919d..cfcff138e79821a3dd4798ebfc4c47842b725042 100644 (file)
@@ -78,7 +78,7 @@ final class Decimal64SpecificationSupport extends AbstractTypeSupport<Decimal64S
 
     private static SourceException noFracDigits(final CommonStmtCtx stmt) {
         /*
-         *  https://tools.ietf.org/html/rfc7950#section-9.3.4
+         *  https://www.rfc-editor.org/rfc/rfc7950#section-9.3.4
          *
          *     The "fraction-digits" statement, which is a substatement to the
          *     "type" statement, MUST be present if the type is "decimal64".
index 93da49042c83b93d71e3eff5c2a3b118bc742eae..62aa9cb19562b56ed5c0a37f298c6af172cb9eb4 100644 (file)
@@ -93,7 +93,7 @@ final class EnumSpecificationSupport extends AbstractTypeSupport<EnumSpecificati
 
     private static SourceException noEnum(final CommonStmtCtx stmt) {
         /*
-         *  https://tools.ietf.org/html/rfc7950#section-9.6.4
+         *  https://www.rfc-editor.org/rfc/rfc7950#section-9.6.4
          *
          *     The "enum" statement, which is a substatement to the "type"
          *     statement, MUST be present if the type is "enumeration".
index 84c40bc54bf9a6697a81f0a80a8a2cad5ca3f734..65ffe5d67899e522d3000b08dde627734a00a3dd 100644 (file)
@@ -112,7 +112,7 @@ final class IdentityRefSpecificationSupport extends AbstractTypeSupport<Identity
 
     private static SourceException noBase(final CommonStmtCtx stmt) {
         /*
-         *  https://tools.ietf.org/html/rfc7950#section-9.10.2
+         *  https://www.rfc-editor.org/rfc/rfc7950#section-9.10.2
          *
          *     The "base" statement, which is a substatement to the "type"
          *     statement, MUST be present at least once if the type is
index d8fbb01d12e0af097d46d51c9830fa8bfadbd948..290faaef5eaca84db6eee3fcb9b4a1f3fde8b25a 100644 (file)
@@ -84,7 +84,7 @@ final class LeafrefSpecificationSupport extends AbstractTypeSupport<LeafrefSpeci
 
     private static SourceException noPath(final CommonStmtCtx stmt) {
         /*
-         *  https://tools.ietf.org/html/rfc7950#section-9.12
+         *  https://www.rfc-editor.org/rfc/rfc7950#section-9.12
          *
          *     When the type is "union", the "type" statement (Section 7.4) MUST be
          *     present.
index c7a80f209afa66fb4560e9905cf8f6b5499a01f9..d71ca405cdead70a41d01308490c8e6b03cb7c08 100644 (file)
@@ -69,7 +69,7 @@ final class UnionSpecificationSupport extends AbstractTypeSupport<UnionSpecifica
 
     private static SourceException noType(final @NonNull CommonStmtCtx stmt) {
         /*
-         *  https://tools.ietf.org/html/rfc7950#section-9.12
+         *  https://www.rfc-editor.org/rfc/rfc7950#section-9.12
          *
          *     When the type is "union", the "type" statement (Section 7.4) MUST be
          *     present.
index 64700fc0d43c8100feb75f1aba8f6d02d305b20a..c9a8495502f251d96cfac21a13c1fef0e2ef257b 100644 (file)
@@ -215,7 +215,7 @@ public final class UsesStatementSupport
     }
 
     private static boolean shouldCopy(final StmtContext<?, ?, ?> stmt) {
-        // https://tools.ietf.org/html/rfc7950#section-7.13:
+        // https://www.rfc-editor.org/rfc/rfc7950#section-7.13:
         //
         //        The effect of a "uses" reference to a grouping is that the nodes
         //        defined by the grouping are copied into the current schema tree and
@@ -228,12 +228,12 @@ public final class UsesStatementSupport
             return true;
         }
 
-        // As per https://tools.ietf.org/html/rfc7950#section-7.13.2:
+        // As per https://www.rfc-editor.org/rfc/rfc7950#section-7.13.2:
         //
         //        o  Any node can get refined extensions, if the extension allows
         //           refinement.  See Section 7.19 for details.
         //
-        // and https://tools.ietf.org/html/rfc7950#section-7.19:
+        // and https://www.rfc-editor.org/rfc/rfc7950#section-7.19:
         //
         //        An extension can allow refinement (see Section 7.13.2) and deviations
         //        (Section 7.20.3.2), but the mechanism for how this is defined is
index 87c3d12e48246dc41ecf0864d827d0eafde67aa1..e5bd86694992a2d042254e78fa6bd4e139e5e1fa 100644 (file)
@@ -16,7 +16,7 @@ import org.opendaylight.yangtools.yang.parser.spi.source.YangVersionLinkageExcep
 
 /**
  * Tests for {@code MUST NOT} statements around include/import interop of RFC6020 and RFC7950, as per
- * <a href="https://datatracker.ietf.org/doc/html/rfc7950#section-12">RFC7950 section 12</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc7950#section-12">RFC7950 section 12</a>.
  */
 class YT1339Test extends AbstractYangTest {
     @Test
index 0d70b124d5d5f86f691ad73b5cf6049d38b4cfb0..b77637b33f7a91c1922001a628b5516d00f73b35 100644 (file)
@@ -429,7 +429,7 @@ public abstract class StatementSupport<A, D extends DeclaredStatement<A>, E exte
 
     /**
      * Returns true if this statement support and all its substatements ignore if-feature statements (e.g. yang-data
-     * extension defined in <a href="https://tools.ietf.org/html/rfc8040#section-8">RFC 8040</a>). Default
+     * extension defined in <a href="https://www.rfc-editor.org/rfc/rfc8040#section-8">RFC 8040</a>). Default
      * implementation returns false.
      *
      * @return true if this statement support ignores if-feature statements, otherwise false.
@@ -441,7 +441,7 @@ public abstract class StatementSupport<A, D extends DeclaredStatement<A>, E exte
 
     /**
      * Returns true if this statement support and all its substatements ignore config statements (e.g. yang-data
-     * extension defined in <a href="https://tools.ietf.org/html/rfc8040#section-8">RFC 8040</a>). Default
+     * extension defined in <a href="https://www.rfc-editor.org/rfc/rfc8040#section-8">RFC 8040</a>). Default
      * implementation returns false.
      *
      * @return true if this statement support ignores config statements,
index 201b5703bd8363bd6dea8c877a68887136928b58..5e4270f00e657201347c093ad5b460555e145b26 100644 (file)
@@ -14,7 +14,7 @@ import org.opendaylight.yangtools.yang.parser.spi.meta.CommonStmtCtx;
 /**
  * An exception indicating source-level problem across multiple YANG sources relating to how they are allowed to be
  * linked between YANG versions. This typically indicates a direct violation of
- * <a href="https://datatracker.ietf.org/doc/html/rfc7950#section-12">RFC7950 section 12</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc7950#section-12">RFC7950 section 12</a>.
  */
 @Beta
 public class YangVersionLinkageException extends SourceException {
index 0a9778ccdce20828cecb077a7699e974e7a522ac..821a0d733629e342665033edbd479e794031cc5a 100644 (file)
@@ -35,7 +35,7 @@ public final class ValidationBundles {
         SUPPORTED_AUGMENT_TARGETS,
 
         /**
-         * Whether a <a href="https://tools.ietf.org/html/rfc6020#section-7.9.2">case shorthand</a> can be created for a
+         * Whether a <a href="https://www.rfc-editor.org/rfc/rfc6020#section-7.9.2">case shorthand</a> can be created for a
          * node.
          */
         // FIXME: 7.0.0: consider removing this constant, this functionality is part of statement support.
index 99f4fe03547fa5d8785194f22821e817c85fdf02..b6c32ec08e3df3421b0eeaa584dcee72201e2de3 100644 (file)
@@ -16,7 +16,7 @@ import org.opendaylight.yangtools.yang.common.YangVersion;
 
 /**
  * An XPath expression. This interface defines a parsed representation of an XPath defined in a YANG context, as
- * specified in <a href="https://tools.ietf.org/html/rfc7950#section-6.4">RFC7950, Section 6.4</a>.
+ * specified in <a href="https://www.rfc-editor.org/rfc/rfc7950#section-6.4">RFC7950, Section 6.4</a>.
  *
  * <p>
  * The specification along with rules for {@code path} statement evaluation rules end up defining four incremental
@@ -87,7 +87,7 @@ public interface YangXPathExpression extends Immutable {
      * <p>
      * The syntax of expr is required to conform to
      * <a href="https://www.w3.org/TR/REC-xml-names/#NT-QName">XML QName format</a>, as further restricted by
-     * <a href="https://tools.ietf.org/html/rfc7950#section-9.10.3">YANG {@code identityref} Lexical Representation</a>.
+     * <a href="https://www.rfc-editor.org/rfc/rfc7950#section-9.10.3">YANG {@code identityref} Lexical Representation</a>.
      *
      * <p>
      * Unfortunately we do not know when a literal will need to be interpreted in this way, as that can only be known
index 4638b9ed9707a79ff2f1a748a405e8e079ecd662..05b1da6f823d484481bb4a749aea4896411689ff 100644 (file)
@@ -22,8 +22,8 @@ import org.opendaylight.yangtools.yang.common.YangConstants;
  * information to look up YANG module (or submodule) source and to be used by various SchemaSourceProviders.
  *
  * <p>
- * For further reference see: <a href="https://tools.ietf.org/html/rfc6020#section-5.2">RFC6020</a>
- * and <a href="https://tools.ietf.org/html/rfc6022#section-3.1">RFC6022</a>.
+ * For further reference see: <a href="https://www.rfc-editor.org/rfc/rfc6020#section-5.2">RFC6020</a>
+ * and <a href="https://www.rfc-editor.org/rfc/rfc6022#section-3.1">RFC6022</a>.
  */
 public record SourceIdentifier(@NonNull Unqualified name, @Nullable Revision revision) implements Identifier {
     private static final long serialVersionUID = 3L;
@@ -92,7 +92,7 @@ public record SourceIdentifier(@NonNull Unqualified name, @Nullable Revision rev
      * Returns filename in format <code>name ['@' revision] '.yang'</code>, where revision is date in format YYYY-mm-dd.
      *
      * <p>
-     * @see <a href="http://tools.ietf.org/html/rfc6020#section-5.2">RFC6020</a>
+     * @see <a href="http://www.rfc-editor.org/rfc/rfc6020#section-5.2">RFC6020</a>
      *
      * @return Filename for this source identifier.
      */
@@ -117,7 +117,7 @@ public record SourceIdentifier(@NonNull Unqualified name, @Nullable Revision rev
      * where Where revision-date is in format YYYY-mm-dd.
      *
      * <p>
-     * See http://tools.ietf.org/html/rfc6020#section-5.2
+     * See http://www.rfc-editor.org/rfc/rfc6020#section-5.2
      *
      * @param moduleName module name
      * @param revision optional revision