From 119977ce2748aa53cd65688153b8be14f613d78f Mon Sep 17 00:00:00 2001 From: Miroslav Kovac Date: Tue, 7 Nov 2023 18:06:14 +0000 Subject: [PATCH] Cronjob - daily check of IETF modules. --- .../ietf-ac-glue@2023-07-13.yang | 6 +- .../ietf-ac-svc@2022-11-30.yang | 1 - .../ietf-bearer-svc@2022-11-30.yang | 1 + ...tf-netconf-resolve-system@2023-11-05.yang} | 6 +- ... => ietf-system-datastore@2023-11-05.yang} | 6 +- .../ietf-yang-full-include@2023-11-05.yang | 60 ++++++++++ ...-yang-library-augmentation@2023-10-27.yang | 69 +++++++++++ ...brary-rfc7895-augmentation@2023-10-27.yang | 112 ++++++++++++++++++ 8 files changed, 252 insertions(+), 9 deletions(-) rename experimental/ietf-extracted-YANG-modules/{ietf-netconf-resolve-system@2023-10-19.yang => ietf-netconf-resolve-system@2023-11-05.yang} (95%) rename experimental/ietf-extracted-YANG-modules/{ietf-system-datastore@2023-10-19.yang => ietf-system-datastore@2023-11-05.yang} (93%) create mode 100644 experimental/ietf-extracted-YANG-modules/ietf-yang-full-include@2023-11-05.yang create mode 100644 experimental/ietf-extracted-YANG-modules/ietf-yang-library-augmentation@2023-10-27.yang create mode 100644 experimental/ietf-extracted-YANG-modules/ietf-yang-library-rfc7895-augmentation@2023-10-27.yang diff --git a/experimental/ietf-extracted-YANG-modules/ietf-ac-glue@2023-07-13.yang b/experimental/ietf-extracted-YANG-modules/ietf-ac-glue@2023-07-13.yang index 694a85cc8..9a2748a07 100644 --- a/experimental/ietf-extracted-YANG-modules/ietf-ac-glue@2023-07-13.yang +++ b/experimental/ietf-extracted-YANG-modules/ietf-ac-glue@2023-07-13.yang @@ -82,7 +82,8 @@ module ietf-ac-glue { augment "/l2vpn-svc:l2vpn-svc" + "/l2vpn-svc:sites/l2vpn-svc:site" - + "/l2vpn-svc:site-network-accesses/l2vpn-svc:site-network-access" { + + "/l2vpn-svc:site-network-accesses" + + "/l2vpn-svc:site-network-access" { description "Augments VPN network access with AC provisioning details."; @@ -91,7 +92,8 @@ module ietf-ac-glue { augment "/l3vpn-svc:l3vpn-svc" + "/l3vpn-svc:sites/l3vpn-svc:site" - + "/l3vpn-svc:site-network-accesses/l3vpn-svc:site-network-access" { + + "/l3vpn-svc:site-network-accesses" + + "/l3vpn-svc:site-network-access" { description "Augments VPN network access with AC provisioning details."; diff --git a/experimental/ietf-extracted-YANG-modules/ietf-ac-svc@2022-11-30.yang b/experimental/ietf-extracted-YANG-modules/ietf-ac-svc@2022-11-30.yang index 2e9dbce06..05281dbf9 100644 --- a/experimental/ietf-extracted-YANG-modules/ietf-ac-svc@2022-11-30.yang +++ b/experimental/ietf-extracted-YANG-modules/ietf-ac-svc@2022-11-30.yang @@ -189,7 +189,6 @@ module ietf-ac-svc { } } } - // Full Layer 2 connection grouping l2-connection { diff --git a/experimental/ietf-extracted-YANG-modules/ietf-bearer-svc@2022-11-30.yang b/experimental/ietf-extracted-YANG-modules/ietf-bearer-svc@2022-11-30.yang index f99c07002..dd089af2a 100644 --- a/experimental/ietf-extracted-YANG-modules/ietf-bearer-svc@2022-11-30.yang +++ b/experimental/ietf-extracted-YANG-modules/ietf-bearer-svc@2022-11-30.yang @@ -59,6 +59,7 @@ module ietf-bearer-svc { reference "RFC xxxx: A YANG Service Data Model for Attachment Circuits"; } + // Identities identity identification-type { diff --git a/experimental/ietf-extracted-YANG-modules/ietf-netconf-resolve-system@2023-10-19.yang b/experimental/ietf-extracted-YANG-modules/ietf-netconf-resolve-system@2023-11-05.yang similarity index 95% rename from experimental/ietf-extracted-YANG-modules/ietf-netconf-resolve-system@2023-10-19.yang rename to experimental/ietf-extracted-YANG-modules/ietf-netconf-resolve-system@2023-11-05.yang index 5aee02452..8923db9f7 100644 --- a/experimental/ietf-extracted-YANG-modules/ietf-netconf-resolve-system@2023-10-19.yang +++ b/experimental/ietf-extracted-YANG-modules/ietf-netconf-resolve-system@2023-11-05.yang @@ -26,14 +26,14 @@ module ietf-netconf-resolve-system { Author: Qin Wu Author: Chong Feng - "; + "; description "This module defines an extension to the NETCONF protocol that allows the NETCONF client to control whether the server is allowed to copy referenced system configuration automatically without the client doing so explicitly. - Copyright (c) 2022 IETF Trust and the persons identified + Copyright (c) 2023 IETF Trust and the persons identified as authors of the code. All rights reserved. Redistribution and use in source and binary forms, with @@ -54,7 +54,7 @@ module ietf-netconf-resolve-system { (RFC 8174) when, and only when, they appear in all capitals, as shown here."; - revision 2023-10-19 { + revision 2023-11-05 { description "Initial version."; reference diff --git a/experimental/ietf-extracted-YANG-modules/ietf-system-datastore@2023-10-19.yang b/experimental/ietf-extracted-YANG-modules/ietf-system-datastore@2023-11-05.yang similarity index 93% rename from experimental/ietf-extracted-YANG-modules/ietf-system-datastore@2023-10-19.yang rename to experimental/ietf-extracted-YANG-modules/ietf-system-datastore@2023-11-05.yang index d3e0f3c8f..ee7da172d 100644 --- a/experimental/ietf-extracted-YANG-modules/ietf-system-datastore@2023-10-19.yang +++ b/experimental/ietf-extracted-YANG-modules/ietf-system-datastore@2023-11-05.yang @@ -20,12 +20,12 @@ module ietf-system-datastore { Author: Qin Wu Author: Chong Feng - "; + "; description "This module defines a new YANG identity that uses the ds:datastore identity defined in [RFC8342]. - Copyright (c) 2022 IETF Trust and the persons identified + Copyright (c) 2023 IETF Trust and the persons identified as authors of the code. All rights reserved. Redistribution and use in source and binary forms, with @@ -46,7 +46,7 @@ module ietf-system-datastore { (RFC 8174) when, and only when, they appear in all capitals, as shown here."; - revision 2023-10-19 { + revision 2023-11-05 { description "Initial version."; reference diff --git a/experimental/ietf-extracted-YANG-modules/ietf-yang-full-include@2023-11-05.yang b/experimental/ietf-extracted-YANG-modules/ietf-yang-full-include@2023-11-05.yang new file mode 100644 index 000000000..1eee3f24a --- /dev/null +++ b/experimental/ietf-extracted-YANG-modules/ietf-yang-full-include@2023-11-05.yang @@ -0,0 +1,60 @@ +module ietf-yang-full-include { + yang-version 1.1; + namespace "urn:ietf:params:xml:ns:yang:ietf-yang-full-include"; + prefix full; + + organization + "IETF NETMOD (NETCONF Data Modeling Language) Working Group"; + contact + "WG Web: + WG List: + + Editor: "; + description + "This module defines a YANG extension statement that can be used + to incorporate data models defined in other YANG modules in a + module. + + The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL', 'SHALL + NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED', 'NOT RECOMMENDED', + 'MAY', and 'OPTIONAL' in this document are to be interpreted as + described in BCP 14 (RFC 2119) (RFC 8174) when, and only when, + they appear in all capitals, as shown here. + + Copyright (c) 2023 IETF Trust and the persons identified as + authors of the code. All rights reserved. + + Redistribution and use in source and binary forms, with or + without modification, is permitted pursuant to, and subject to + the license terms contained in, the Revised BSD License set + forth in Section 4.c of the IETF Trust's Legal Provisions + Relating to IETF Documents + (https://trustee.ietf.org/license-info). + + This version of this YANG module is part of RFC XXXX; + see the RFC itself for full legal notices."; + revision 2023-11-05 { + description + "Initial revision."; + reference + "RFC XXXX: YANG Full Include"; + } + + extension include { + argument prefix; + description + "The argument 'prefix' MUST be the prefix of a module imported + by the calling module. + + The 'include' statement MUST NOT be used in a YANG + version 1 module, neither explicitly nor via a 'uses' + statement. + The 'include' statement MAY be present as a substatement + of 'container' and 'list' and MUST NOT be present elsewhere. + + Whenever a sequence of 'include' statements is used, the + schema tree defined by the set of the included modules is + inserted in the schema tree of the calling module, at the + place where the sequence is declared"; + } +} diff --git a/experimental/ietf-extracted-YANG-modules/ietf-yang-library-augmentation@2023-10-27.yang b/experimental/ietf-extracted-YANG-modules/ietf-yang-library-augmentation@2023-10-27.yang new file mode 100644 index 000000000..926c56f52 --- /dev/null +++ b/experimental/ietf-extracted-YANG-modules/ietf-yang-library-augmentation@2023-10-27.yang @@ -0,0 +1,69 @@ +module ietf-yang-library-augmentation { + yang-version 1.1; + namespace "urn:ietf:params:xml:ns:yang:ietf-yang-library-augmentation"; + prefix yanglib-aug; + + import ietf-yang-library { + prefix yanglib; + reference + "RFC 8525: YANG library"; + } + + organization + "IETF NETCONF (Network Configuration) Working Group"; + contact + "WG Web: + WG List: + + Author: Zhuoyao Lin + + Benoit Claise + "; + + description + "This module augments the ietf-yang-library defined in [RFC8525] to provide the augmentation list, in order to give sufficient information about the YANG models reverse dependency. It facilitates the process of obtaining the entire dependencies of YANG model."; + + revision 2023-10-27 { + description + "Added list augmentation in yang-library/module-set/module to + make the module store the entire reverse dependency information + (augmentation and deviation)."; + reference + "RFC XXXX: Support of augmentation in ietf-yang-library"; + } + + augment "/yanglib:yang-library/yanglib:module-set/yanglib:module" { + description + "Augment the augmentation from module info with the module-augmentation grouping" ; + uses yanglib-aug:module-augmentation; + } + + /* + * Groupings + */ + + grouping module-augmentation { + description + "This grouping defines a leaf-list that contains the augmentation list."; + + leaf-list augmentation { + type leafref { + path "/yanglib:yang-library/yanglib:module-set/yanglib:module/yanglib:name"; + } + + description + "List of all YANG augmentation modules used by this server to + modify the conformance of the module associated with this + entry. Note that the same module can be used for augmentation + for multiple modules, so the same entry MAY appear within + multiple 'module' entries. + + This reference MUST NOT (directly or indirectly) + refer to the module being augmented. + + Robust clients may want to make sure that they handle a + situation where a module augments itself (directly or + indirectly) gracefully."; + } + } +} diff --git a/experimental/ietf-extracted-YANG-modules/ietf-yang-library-rfc7895-augmentation@2023-10-27.yang b/experimental/ietf-extracted-YANG-modules/ietf-yang-library-rfc7895-augmentation@2023-10-27.yang new file mode 100644 index 000000000..00f11dd69 --- /dev/null +++ b/experimental/ietf-extracted-YANG-modules/ietf-yang-library-rfc7895-augmentation@2023-10-27.yang @@ -0,0 +1,112 @@ +module ietf-yang-library-rfc7895-augmentation { + yang-version 1.1; + namespace "urn:ietf:params:xml:ns:yang:ietf-yang-library-rfc7895-augmentation"; + prefix yanglib-aug; + + import ietf-yang-library { + prefix yanglib; + revision-date 2016-06-21; + reference + "RFC 8525: YANG library"; + } + + organization + "IETF NETCONF (Network Configuration) Working Group"; + contact + "WG Web: + WG List: + + Author: Zhuoyao Lin + + Benoit Claise + "; + + description + "This module augments the ietf-yang-library defined in [RFC8525] to provide not only the deviation list, but also the augmentation list, in order to give sufficient information about the YANG models reverse dependency. It facilitates the process of obtaining the entire dependencies of YANG model."; + + revision 2023-10-27 { + description + "Added list augmentation in yang-library/module-set/module to + make the module store the entire reverse dependency information + (augmentation and deviation)."; + reference + "RFC XXXX: Support of augmentation in ietf-yang-library"; + } + + augment "/yanglib:yang-library/yanglib:module-set/yanglib:module" { + description + "Augment the augmentation from module info with the module-augmentation grouping" ; + uses yanglib-aug:module-augmentation; + } + + augment "/yanglib:modules-state/yanglib:module" { + description + "Augment the augmentation from module info with the module-augmentation grouping" ; + uses yanglib-aug:module-state-augmentation; + } + + /* + * Groupings + */ + + grouping module-augmentation { + description + "This grouping defines a leaf-list that contains the augmentation list."; + + leaf-list augmentation { + type leafref { + path "/yanglib:yang-library/yanglib:module-set/yanglib:module/yanglib:name"; + } + + description + "List of all YANG augmentation modules used by this server to + modify the conformance of the module associated with this + entry. Note that the same module can be used for augmentation + for multiple modules, so the same entry MAY appear within + multiple 'module' entries. + + This reference MUST NOT (directly or indirectly) + refer to the module being augmented. + + Robust clients may want to make sure that they handle a + situation where a module augments itself (directly or + indirectly) gracefully."; + } + } + + grouping module-state-augmentation { + description + "This grouping defines a list with keys being the module + name and revison. The list contains the augmentation list."; + + list augmentation { + key "name revision"; + status deprecated; + + description + "List of YANG augmentation module names and revisions + used by this server to modify the conformance of + the module associated with this entry. Note that + the same module can be used for augmentations for + multiple modules, so the same entry MAY appear + within multiple 'module' entries. + + The augmentation module MUST be present in the 'module' + list, with the same name and revision values. + The 'conformance-type' value will be 'implement' for + the augmentation module."; + + leaf name { + type leafref { + path "/yanglib:modules-state/yanglib:module/yanglib:name"; + } + } + + leaf revision { + type leafref { + path "/yanglib:modules-state/yanglib:module/yanglib:revision"; + } + } + } + } +}