From b106ed88d0e6b0da4c7bd4cdab374f2faab976e4 Mon Sep 17 00:00:00 2001 From: Miroslav Kovac Date: Sun, 8 Oct 2023 18:06:26 +0000 Subject: [PATCH] Cronjob - daily check of IETF modules. --- .../example-adm.yang | 13 ++++++++++++ ...=> ietf-distributed-notif@2023-09-17.yang} | 20 +++++++++---------- ...tf-notification-sequencing@2023-03-25.yang | 3 ++- ...> ietf-yang-push-revision@2023-09-17.yang} | 20 ++++++++++++++++++- 4 files changed, 44 insertions(+), 12 deletions(-) create mode 100644 experimental/ietf-extracted-YANG-modules/example-adm.yang rename experimental/ietf-extracted-YANG-modules/{ietf-distributed-notif@2023-03-06.yang => ietf-distributed-notif@2023-09-17.yang} (82%) rename experimental/ietf-extracted-YANG-modules/{ietf-yang-push-revision@2023-07-03.yang => ietf-yang-push-revision@2023-09-17.yang} (93%) diff --git a/experimental/ietf-extracted-YANG-modules/example-adm.yang b/experimental/ietf-extracted-YANG-modules/example-adm.yang new file mode 100644 index 000000000..5a722e8d8 --- /dev/null +++ b/experimental/ietf-extracted-YANG-modules/example-adm.yang @@ -0,0 +1,13 @@ +module example-adm { + yang-version 1.1; + namespace "ari:/example-adm"; + prefix example-adm; + + import ietf-amm { + prefix amm; + } + + organization "Example Org."; + description "Example module."; + amm:enum "4294967296"; +} diff --git a/experimental/ietf-extracted-YANG-modules/ietf-distributed-notif@2023-03-06.yang b/experimental/ietf-extracted-YANG-modules/ietf-distributed-notif@2023-09-17.yang similarity index 82% rename from experimental/ietf-extracted-YANG-modules/ietf-distributed-notif@2023-03-06.yang rename to experimental/ietf-extracted-YANG-modules/ietf-distributed-notif@2023-09-17.yang index aa18e386a..cfcc24146 100644 --- a/experimental/ietf-extracted-YANG-modules/ietf-distributed-notif@2023-03-06.yang +++ b/experimental/ietf-extracted-YANG-modules/ietf-distributed-notif@2023-09-17.yang @@ -35,18 +35,18 @@ module ietf-distributed-notif { This version of this YANG module is part of RFC XXXX; see the RFC itself for full legal notices."; - revision 2023-03-06 { + revision 2023-09-17 { description "Initial version"; reference "RFC XXXX: Subscription to Distributed Notifications"; } - grouping message-observation-domain-ids { + grouping message-publisher-ids { description - "Provides a reusable list of message-observation-domain-ids."; + "Provides a reusable list of message-publisher-ids."; - leaf-list message-observation-domain-id { + leaf-list message-publisher-id { type uint32; config false; ordered-by user; @@ -59,10 +59,10 @@ module ietf-distributed-notif { augment "/sn:subscriptions/sn:subscription" { description - "This augmentation allows the message - Observation Domain ID to be exposed for a subscription."; + "This augmentation allows the Message + Publisher ID to be exposed for a subscription."; - uses message-observation-domain-ids; + uses message-publisher-ids; } augment "/sn:subscription-started" { @@ -70,7 +70,7 @@ module ietf-distributed-notif { "This augmentation allows MSO specific parameters to be exposed for a subscription."; - uses message-observation-domain-ids; + uses message-publisher-ids; } augment "/sn:subscription-modified" { @@ -78,7 +78,7 @@ module ietf-distributed-notif { "This augmentation allows MSO specific parameters to be exposed for a subscription."; - uses message-observation-domain-ids; + uses message-publisher-ids; } augment "/sn:establish-subscription/sn:output" { @@ -86,6 +86,6 @@ module ietf-distributed-notif { "This augmentation allows MSO specific parameters to be exposed for a subscription."; - uses message-observation-domain-ids; + uses message-publisher-ids; } } diff --git a/experimental/ietf-extracted-YANG-modules/ietf-notification-sequencing@2023-03-25.yang b/experimental/ietf-extracted-YANG-modules/ietf-notification-sequencing@2023-03-25.yang index 8053bd218..bb53dedde 100644 --- a/experimental/ietf-extracted-YANG-modules/ietf-notification-sequencing@2023-03-25.yang +++ b/experimental/ietf-extracted-YANG-modules/ietf-notification-sequencing@2023-03-25.yang @@ -35,6 +35,7 @@ module ietf-notification-sequencing { Alex Huang Feng "; + description "Defines NETCONF Event Notification structure with the sysName and the sequenceNumber. @@ -66,7 +67,7 @@ module ietf-notification-sequencing { "IP address or a DNS domain name from the server from which the message was published."; } - leaf publisherId { + leaf messagePublisherId { type uint32; mandatory true; description diff --git a/experimental/ietf-extracted-YANG-modules/ietf-yang-push-revision@2023-07-03.yang b/experimental/ietf-extracted-YANG-modules/ietf-yang-push-revision@2023-09-17.yang similarity index 93% rename from experimental/ietf-extracted-YANG-modules/ietf-yang-push-revision@2023-07-03.yang rename to experimental/ietf-extracted-YANG-modules/ietf-yang-push-revision@2023-09-17.yang index ebd0a649b..f961aab47 100644 --- a/experimental/ietf-extracted-YANG-modules/ietf-yang-push-revision@2023-07-03.yang +++ b/experimental/ietf-extracted-YANG-modules/ietf-yang-push-revision@2023-09-17.yang @@ -62,7 +62,7 @@ module ietf-yang-push-revision { This version of this YANG module is part of RFC XXXX; see the RFC itself for full legal notices."; - revision 2023-07-03 { + revision 2023-09-17 { description "First revision"; reference @@ -77,6 +77,23 @@ module ietf-yang-push-revision { revision-label in the YANG subscription."; } + // Identities + identity revision-unsupported { + base sn:establish-subscription-error; + base sn:modify-subscription-error; + description + "Revision not supported. This failure can be due to subscribing + to a specific revision not supported by the publisher."; + } + + identity revision-label-unsupported { + base sn:establish-subscription-error; + base sn:modify-subscription-error; + description + "Revision-label not supported. This failure can be due to subscribing + to a specific revision-label not supported by the publisher."; + } + grouping yang-push-module-version-config { description "This grouping combines the module name, the revision and @@ -141,6 +158,7 @@ module ietf-yang-push-revision { uses ypr:yang-push-module-version; } } + grouping yang-push-module-version-config-list { description "This grouping defines a list of yang-push-module-version-config