Skip to content

Commit

Permalink
Cronjob - daily check of IETF modules.
Browse files Browse the repository at this point in the history
  • Loading branch information
Miroslav Kovac committed Jul 24, 2023
1 parent 62cdfb7 commit 185ea84
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 102 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -43,10 +39,14 @@ module ietf-ac-glue {
Editor: Mohamed Boucadair
<mailto:[email protected]>
Author: Richard Roberts
<mailto:[email protected]>";
<mailto:[email protected]>
Author: Samier Barguil
<mailto:[email protected]>
Author: Oscar Gonzalez de Dios
<mailto:[email protected]>";
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.
Expand All @@ -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 {
Expand All @@ -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"
Expand All @@ -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.";

Expand All @@ -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.";

Expand Down
15 changes: 10 additions & 5 deletions ...modules/[email protected] → ...modules/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module ietf-notification {

organization "IETF NETCONF (Network Configuration) Working Group";
contact
"WG Web: <http:/tools.ietf.org/wg/netconf/>
"WG Web: <https://datatracker.ietf.org/group/netconf/>
WG List: <mailto:[email protected]>
Authors: Alex Huang Feng
Expand All @@ -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.
Expand All @@ -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
Expand All @@ -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.";
}
}
}
76 changes: 10 additions & 66 deletions .../[email protected] → .../[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -332,20 +293,14 @@ 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";
container ipv6-fwd-addr-sub-tlv {
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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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";
Expand Down Expand Up @@ -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
Expand All @@ -539,7 +485,6 @@ module ietf-ospfv3-extended-lsa {
Extensibility, Appendix B - AreaExtendedLSASupport";
}
}

/*
* Link State Database (LSDB) Augmentations
*/
Expand Down Expand Up @@ -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";
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 185ea84

Please sign in to comment.