From 185ea844e0eef5ad34672882322e6afb9572e1e5 Mon Sep 17 00:00:00 2001 From: Miroslav Kovac Date: Mon, 24 Jul 2023 18:06:17 +0000 Subject: [PATCH] Cronjob - daily check of IETF modules. --- ...1-30.yang => ietf-ac-glue@2023-07-13.yang} | 55 ++++++-------- ...yang => ietf-notification@2023-07-23.yang} | 15 ++-- ... ietf-ospfv3-extended-lsa@2023-07-23.yang} | 76 +++---------------- 3 files changed, 44 insertions(+), 102 deletions(-) rename experimental/ietf-extracted-YANG-modules/{ietf-ac-glue@2022-11-30.yang => ietf-ac-glue@2023-07-13.yang} (73%) rename experimental/ietf-extracted-YANG-modules/{ietf-notification@2023-03-01.yang => ietf-notification@2023-07-23.yang} (74%) rename experimental/ietf-extracted-YANG-modules/{ietf-ospfv3-extended-lsa@2023-06-29.yang => ietf-ospfv3-extended-lsa@2023-07-23.yang} (93%) diff --git a/experimental/ietf-extracted-YANG-modules/ietf-ac-glue@2022-11-30.yang b/experimental/ietf-extracted-YANG-modules/ietf-ac-glue@2023-07-13.yang similarity index 73% rename from experimental/ietf-extracted-YANG-modules/ietf-ac-glue@2022-11-30.yang rename to experimental/ietf-extracted-YANG-modules/ietf-ac-glue@2023-07-13.yang index d12a5ee90..694a85cc8 100644 --- a/experimental/ietf-extracted-YANG-modules/ietf-ac-glue@2022-11-30.yang +++ b/experimental/ietf-extracted-YANG-modules/ietf-ac-glue@2023-07-13.yang @@ -6,32 +6,28 @@ module ietf-ac-glue { import ietf-l3vpn-svc { prefix l3vpn-svc; reference - "RFC 8299: xxxx"; + "RFC 8299: YANG Data Model for L3VPN Service Delivery"; } import ietf-l2vpn-svc { prefix l2vpn-svc; reference - "RFC 8466: xxxx"; + "RFC 8466: A YANG Data Model for Layer 2 Virtual Private + Network (L2VPN) Service Delivery"; } import ietf-l3vpn-ntw { prefix l3nm; reference - "RFC 9182: xxxx"; + "RFC 9182: A YANG Network Data Model for Layer 3 VPNs"; } import ietf-l2vpn-ntw { prefix l2nm; reference - "RFC 9291: xxxx"; - } - import ietf-network-slice-service { - prefix ietf-nss; - reference - "RFC XXXX: xxxx"; + "RFC 9291: A YANG Network Data Model for Layer 2 VPNs"; } import ietf-ac-svc { prefix ac-svc; reference - "RFC xxx: XXXX"; + "RFC XXXX: YANG Service Data Models for Attachment Circuits"; } organization @@ -43,10 +39,14 @@ module ietf-ac-glue { Editor: Mohamed Boucadair Author: Richard Roberts - "; + + Author: Samier Barguil + + Author: Oscar Gonzalez de Dios + "; description - "This YANG module defines a generic YANG model for - the configuration of attachment circuits. + "This YANG module defines a YANG model for augmenting the LxSM + and the LxNM with attachment circuit references. Copyright (c) 2023 IETF Trust and the persons identified as authors of the code. All rights reserved. @@ -58,17 +58,18 @@ module ietf-ac-glue { Relating to IETF Documents (https://trustee.ietf.org/license-info). - This version of this YANG module is part of RFC xxx; see the + This version of this YANG module is part of RFC XXXX; see the RFC itself for full legal notices."; - revision 2022-11-30 { + revision 2023-07-13 { description "Initial revision."; reference - "RFC xxxx: A YANG Network Data Model for Attachment Circuits"; + "RFC XXXX: A YANG Data Model for Augmenting VPN Service + and Network Models with Attachment Circuits"; } -grouping ac-glue { + grouping ac-glue { description "A set of AC-related data."; leaf-list ac-ref { @@ -77,15 +78,6 @@ grouping ac-glue { "A reference to the AC as exposed at the service that was provisionned using the AC module."; } -} - - augment "/l3vpn-svc:l3vpn-svc" - + "/l3vpn-svc:sites/l3vpn-svc:site" - + "/l3vpn-svc:site-network-accesses/l3vpn-svc:site-network-access" { - description - "Augments VPN network access with AC provisioning details."; - - uses ac-glue; } augment "/l2vpn-svc:l2vpn-svc" @@ -97,9 +89,9 @@ grouping ac-glue { uses ac-glue; } - augment "/l3nm:l3vpn-ntw/l3nm:vpn-services/l3nm:vpn-service" - + "/l3nm:vpn-nodes/l3nm:vpn-node" - + "/l3nm:vpn-network-accesses/l3nm:vpn-network-access" { + augment "/l3vpn-svc:l3vpn-svc" + + "/l3vpn-svc:sites/l3vpn-svc:site" + + "/l3vpn-svc:site-network-accesses/l3vpn-svc:site-network-access" { description "Augments VPN network access with AC provisioning details."; @@ -115,8 +107,9 @@ grouping ac-glue { uses ac-glue; } - augment "/ietf-nss:network-slice-services/ietf-nss:slice-service" - + "/ietf-nss:sdps/ietf-nss:sdp" { + augment "/l3nm:l3vpn-ntw/l3nm:vpn-services/l3nm:vpn-service" + + "/l3nm:vpn-nodes/l3nm:vpn-node" + + "/l3nm:vpn-network-accesses/l3nm:vpn-network-access" { description "Augments VPN network access with AC provisioning details."; diff --git a/experimental/ietf-extracted-YANG-modules/ietf-notification@2023-03-01.yang b/experimental/ietf-extracted-YANG-modules/ietf-notification@2023-07-23.yang similarity index 74% rename from experimental/ietf-extracted-YANG-modules/ietf-notification@2023-03-01.yang rename to experimental/ietf-extracted-YANG-modules/ietf-notification@2023-07-23.yang index 7c5c02247..5fbb858fc 100644 --- a/experimental/ietf-extracted-YANG-modules/ietf-notification@2023-03-01.yang +++ b/experimental/ietf-extracted-YANG-modules/ietf-notification@2023-07-23.yang @@ -15,7 +15,7 @@ module ietf-notification { organization "IETF NETCONF (Network Configuration) Working Group"; contact - "WG Web: + "WG Web: WG List: Authors: Alex Huang Feng @@ -29,6 +29,9 @@ module ietf-notification { description "Defines NETCONF Event Notification structure as defined in RFC5277. + This YANG module uses the same namespace from the XML schema defined + in Section 4 of RFC5277 to be able to validate already implemented + XML encoded messages. Copyright (c) 2023 IETF Trust and the persons identified as authors of the code. All rights reserved. @@ -42,7 +45,7 @@ module ietf-notification { This version of this YANG module is part of RFC XXXX; see the RFC itself for full legal notices."; - revision 2023-03-01 { + revision 2023-07-23 { description "First revision"; reference @@ -54,9 +57,11 @@ module ietf-notification { type yang:date-and-time; mandatory true; description - "The time the event was generated by the event source. This - parameter is of type dateTime and compliant to [RFC3339]. - Implementations must support time zones."; + "The date and time the event was generated by the event source. + This parameter is of type dateTime and compliant to [RFC3339]. + Implementations must support time zones. + The leaf name in camel case matches the name of the XSD element + defined in Section 4 of RFC5277."; } } } diff --git a/experimental/ietf-extracted-YANG-modules/ietf-ospfv3-extended-lsa@2023-06-29.yang b/experimental/ietf-extracted-YANG-modules/ietf-ospfv3-extended-lsa@2023-07-23.yang similarity index 93% rename from experimental/ietf-extracted-YANG-modules/ietf-ospfv3-extended-lsa@2023-06-29.yang rename to experimental/ietf-extracted-YANG-modules/ietf-ospfv3-extended-lsa@2023-07-23.yang index abdd11fb2..dd10ffc60 100644 --- a/experimental/ietf-extracted-YANG-modules/ietf-ospfv3-extended-lsa@2023-06-29.yang +++ b/experimental/ietf-extracted-YANG-modules/ietf-ospfv3-extended-lsa@2023-07-23.yang @@ -53,7 +53,6 @@ module ietf-ospfv3-extended-lsa { This YANG model conforms to the Network Management Datastore Architecture (NMDA) as described in RFC 8342. - Copyright (c) 2023 IETF Trust and the persons identified as authors of the code. All rights reserved. @@ -76,7 +75,7 @@ module ietf-ospfv3-extended-lsa { reference "RFC XXXX - YANG Model for OSPFv3 Extended LSAs"; - revision 2023-06-29 { + revision 2023-07-23 { description "Initial revision."; reference @@ -268,44 +267,6 @@ module ietf-ospfv3-extended-lsa { Extensibility, Section 6.3"; } - grouping ospfv3-lsa-prefix { - description - "OSPFv3 LSA prefix"; - - leaf prefix { - type inet:ip-prefix; - description - "LSA Prefix"; - } - container prefix-options { - leaf-list prefix-options { - type identityref { - base ospfv3-e-prefix-option; - } - description - "OSPFv3 prefix option flag list. This list will - contain the identities for the OSPFv3 options - that are set for the OSPFv3 prefix."; - } - description - "Prefix options."; - reference - "RFC 8362: OSPFv3 Link State Advertisement (LSA) - Extensibility, Section 3.1"; - } - - leaf prefix-length { - type uint8 { - range "0..128"; - } - description - "Prefix length."; - } - reference - "RFC 8362: OSPFv3 Link State Advertisement (LSA) - Extensibility, Section 3"; - } - grouping external-prefix-tlv { container external-prefix-tlv { description @@ -332,7 +293,7 @@ module ietf-ospfv3-extended-lsa { description "External Prefix Metric"; } - uses ospfv3-lsa-prefix; + uses ospf:ospfv3-lsa-prefix; list sub-tlvs { description "External Prefix TLV Sub-TLVs"; @@ -340,12 +301,6 @@ module ietf-ospfv3-extended-lsa { description "IPv6 Forwarding address Sub-TLV for E-AS-External and E-NSSA LSAs for the IPv6 address family."; - leaf length { - type uint16; - description - "IPv6 Forwarding Address Sub-TLV Length - 16 - for IPv6 address"; - } leaf forwarding-address { type inet:ipv6-address; description @@ -359,12 +314,6 @@ module ietf-ospfv3-extended-lsa { description "IPv4 Forwarding address Sub-TLV for E-AS-External and E-NSSA LSAs for the IPv4 address family."; - leaf length { - type uint16; - description - "IPv4 Forwarding Address Sub-TLV Length - 4 - for IPv4 address"; - } leaf forwarding-address { type inet:ipv4-address; description @@ -377,11 +326,6 @@ module ietf-ospfv3-extended-lsa { container route-tag-sub-tlv { description "Route Tag Sub-TLV"; - leaf length { - type uint16; - description - "Route Tag Sub-TLV Length - 4 for 32-bit tag"; - } leaf route-tag { type uint32; description @@ -416,7 +360,7 @@ module ietf-ospfv3-extended-lsa { description "Intra-Area Prefix Metric"; } - uses ospfv3-lsa-prefix; + uses ospf:ospfv3-lsa-prefix; list sub-tlvs { description "Intra-Area Prefix TLV Sub-TLVs"; @@ -525,10 +469,12 @@ module ietf-ospfv3-extended-lsa { + "(../../../extended-lsa-support = 'false')" { description "For regular areas, i.e., areas where AS-scoped LSAs - disabling AreaExtendedLSASupport for a regular - OSPFv3 area (not a Stub or NSSA area) when - ExtendedLSASupport is enabled is contradictory and - is prohibited."; + are flooded, disabling AreaExtendedLSASupport at the + area level is prohibited when ExtendedLSASupport is + enabled at the instance level. AS-External LSAs + are flooded into all OSPFv3 regular areas (i.e., not + a stub or an NSSA area) and disabling support at the + area level is not possible."; } description "Enable OSPFv3 Extended LSA Support for the OSPFv3 @@ -539,7 +485,6 @@ module ietf-ospfv3-extended-lsa { Extensibility, Appendix B - AreaExtendedLSASupport"; } } - /* * Link State Database (LSDB) Augmentations */ @@ -773,7 +718,7 @@ module ietf-ospfv3-extended-lsa { description "Inter-Area Prefix Metric"; } - uses ospfv3-lsa-prefix; + uses ospf:ospfv3-lsa-prefix; list sub-tlvs { description "Inter-Area Prefix TLV Sub-TLVs"; @@ -811,7 +756,6 @@ module ietf-ospfv3-extended-lsa { "Inter-Area-Router TLV Length - Variable dependent on sub-TLVs"; } - uses ospf:ospf-router-lsa-bits; uses ospf:ospfv3-lsa-options; leaf metric { type rt-types:uint24;