Bump ietf-keystore to 2022-12-12 83/104283/3
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 6 Feb 2023 17:05:00 +0000 (18:05 +0100)
committerRobert Varga <nite@hq.sk>
Mon, 6 Feb 2023 18:38:55 +0000 (18:38 +0000)
This is just a run-of-the-mill upgrade.

Change-Id: I26ccadf05e7f864e5bacce989afa92fb1d12e274
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
keystore/keystore-api/src/main/yang/ietf-keystore@2022-12-12.yang [moved from keystore/keystore-api/src/main/yang/ietf-keystore@2022-05-24.yang with 98% similarity]
keystore/keystore-none/src/main/java/org/opendaylight/netconf/keystore/none/NoneKeystoreFeatureProvider.java

similarity index 98%
rename from keystore/keystore-api/src/main/yang/ietf-keystore@2022-05-24.yang
rename to keystore/keystore-api/src/main/yang/ietf-keystore@2022-12-12.yang
index 345e0aa6f62ef68609c2e47b59962a8d88e68119..9424c45ce44b9c4feb3e5096dcf1725f456f2a8d 100644 (file)
@@ -48,7 +48,7 @@ module ietf-keystore {
      (RFC 8174) when, and only when, they appear in all
      capitals, as shown here.";
 
-  revision 2022-05-24 {
+  revision 2022-12-12 {
     description
       "Initial version";
     reference
@@ -75,13 +75,14 @@ module ietf-keystore {
   feature asymmetric-keys {
     description
       "The 'asymmetric-keys' feature indicates that the server
-       supports asymmetric keys in keystores.";
+       implements the /keystore/asymmetric-keys subtree.";
+
   }
 
   feature symmetric-keys {
     description
       "The 'symmetric-keys' feature indicates that the server
-       supports symmetric keys in keystores.";
+       implements the /keystore/symmetric-keys subtree.";
   }
 
   /****************/
@@ -197,7 +198,6 @@ module ietf-keystore {
          that exists in the keystore.";
       case local {
         if-feature "local-definitions-supported";
-        if-feature "symmetric-keys";
         container local-definition {
           description
             "Container to hold the local key definition.";
@@ -234,7 +234,6 @@ module ietf-keystore {
          that exists in the keystore.";
       case local {
         if-feature "local-definitions-supported";
-        if-feature "asymmetric-keys";
         container local-definition {
           description
             "Container to hold the local key definition.";
@@ -264,6 +263,7 @@ module ietf-keystore {
        i.e., within the using data model, or a reference to an
        asymmetric key (and its associated certificates) stored
        in the keystore.
+
        Servers that do not 'implement' this module, and hence
        'central-keystore-supported' is not defined, SHOULD
        augment in custom 'case' statements enabling references
@@ -276,7 +276,6 @@ module ietf-keystore {
          that exists in the keystore.";
       case local {
         if-feature "local-definitions-supported";
-        if-feature "asymmetric-keys";
         container local-definition {
           description
             "Container to hold the local key definition.";
@@ -316,7 +315,6 @@ module ietf-keystore {
          that exists in the keystore.";
       case local {
         if-feature "local-definitions-supported";
-        if-feature "asymmetric-keys";
         container local-definition {
           description
             "Container to hold the local key definition.";
index a526124f3af6ca7eb7e21b16f8a32ad8eba996a0..68cabcf46da6a50ff73dce631cfe109dc874e3a8 100644 (file)
@@ -10,9 +10,9 @@ package org.opendaylight.netconf.keystore.none;
 import java.util.Set;
 import org.eclipse.jdt.annotation.NonNullByDefault;
 import org.kohsuke.MetaInfServices;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.keystore.rev220524.AsymmetricKeys;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.keystore.rev220524.IetfKeystoreData;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.keystore.rev220524.LocalDefinitionsSupported;
+import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.keystore.rev221212.AsymmetricKeys;
+import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.keystore.rev221212.IetfKeystoreData;
+import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.keystore.rev221212.LocalDefinitionsSupported;
 import org.opendaylight.yangtools.yang.binding.YangFeature;
 import org.opendaylight.yangtools.yang.binding.YangFeatureProvider;