--- 1/draft-ietf-lsr-ospf-yang-augmentation-v1-05.txt 2021-07-11 22:14:13.402537801 -0700 +++ 2/draft-ietf-lsr-ospf-yang-augmentation-v1-06.txt 2021-07-11 22:14:13.486539920 -0700 @@ -1,45 +1,46 @@ Internet A. Lindem Internet-Draft Cisco Systems Intended status: Standards Track Y. Qu -Expires: December 23, 2021 Futurewei - June 21, 2021 +Expires: January 12, 2022 Futurewei + July 11, 2021 OSPF YANG Model Augmentations for Additional Features - Version 1 - draft-ietf-lsr-ospf-yang-augmentation-v1-05 + draft-ietf-lsr-ospf-yang-augmentation-v1-06 Abstract This document defines YANG data modules augmenting the IETF OSPF YANG model to provide support for Traffic Engineering Extensions to OSPF Version 3 as defined in RF 5329, OSPF Two-Part Metric as defined in RFC 8042, OSPF Graceful Link Shutdown as defined in RFC 8379, OSPF Link-Local Signaling (LLS) Extensions for Local Interface ID - Advertisement as defined in RFC 8510 and OSPF Flexible Algorithm. + Advertisement as defined in RFC 8510, OSPF Application-Specific Link + Attributes as defined in RFC 8920, and OSPF Flexible Algorithm. Status of This Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at https://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." - This Internet-Draft will expire on December 23, 2021. + This Internet-Draft will expire on January 12, 2022. Copyright Notice Copyright (c) 2021 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents @@ -48,21 +49,21 @@ include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License. Table of Contents 1. Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.1. Requirements Language . . . . . . . . . . . . . . . . . . 3 2. YANG Module for Traffic Engineering Extesions to OSPF Version 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 - 3. YANG Module for OSPF Two-Part Metric . . . . . . . . . . . . 8 + 3. YANG Module for OSPF Two-Part Metric . . . . . . . . . . . . 9 4. YANG Module for OSPF Graceful Link Shutdown . . . . . . . . . 13 5. YANG Module for OSPF LLS Extenstion for Local Interface ID Advertisement . . . . . . . . . . . . . . . . . . . . . . . . 18 6. YANG Module for OSPF Application-Specific Link Attributes . . 20 7. YANG Module for OSPF Flexible Algorithm . . . . . . . . . . . 26 8. Security Considerations . . . . . . . . . . . . . . . . . . . 46 9. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 47 10. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 48 11. Normative References . . . . . . . . . . . . . . . . . . . . 48 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 50 @@ -92,21 +93,21 @@ RFC8510: OSPF Link-Local Signaling (LLS) Extensions for Local Interface ID Advertisement [RFC8510]. RFC8920: OSPF Application-Specific Link Attributes [RFC8920]. RFCxxxx: IGP Flexible Algorithm [I-D.ietf-lsr-flex-algo]. The augmentations defined in this document requires support for the OSPF base model[I-D.ietf-ospf-yang] which defines basic OSPF configuration and state. The OSPF YANG model augments the ietf- - routing YANG model defined in [RFC8022]. + routing YANG model defined in [RFC8349]. 1.1. Requirements Language The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC2119]. 2. YANG Module for Traffic Engineering Extesions to OSPF Version 3 This document defines a YANG module for Traffic Engineering @@ -141,21 +142,21 @@ +--ro admin-group? uint32 +--ro neighbor-id | +--ro nbr-interface-id inet:ipv4-address | +--ro nbr-router-id yang:dotted-quad +--ro unknown-tlvs +--ro unknown-tlv* +--ro type? uint16 +--ro length? uint16 +--ro value? yang:hex-string - file "ietf-ospfv3-te@2020-04-24.yang" + file "ietf-ospfv3-te@2021-07-11.yang" module ietf-ospfv3-te { yang-version 1.1; namespace "urn:ietf:params:xml:ns:yang:ietf-ospfv3-te"; prefix ospfv3-te; import ietf-inet-types { prefix "inet"; reference "RFC 6991: Common YANG Data Types"; } @@ -166,20 +167,22 @@ } import ietf-routing-types { prefix "rt-types"; reference "RFC 8294: Common YANG Data Types for the Routing Area"; } import ietf-routing { prefix "rt"; + reference "RFC 8349: A YANG Data Model for Routing + Management (NMDA Version)"; } import ietf-ospf { prefix "ospf"; } organization "IETF LSR - Link State Routing Working Group"; contact @@ -189,63 +192,66 @@ Author: Yingzhen Qu Author: Acee Lindem "; description "This YANG module defines the configuration and operational state for OSPFv3 extensions to support intra-area Traffic Engineering (TE) as defined in RFC 5329. - Copyright (c) 2019 IETF Trust and the persons identified as + This YANG model conforms to the Network Management + Datastore Architecture (NMDA) as described in RFC 8342. + + Copyright (c) 2021 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 Simplified BSD License set forth in Section 4.c of the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info). This version of this YANG module is part of RFC XXXX; see the RFC itself for full legal notices."; reference "RFC XXXX"; - revision 2020-04-24 { + revision 2021-07-11 { description "Initial version"; reference "RFC XXXX: A YANG Data Model for OSPFv3 TE."; } identity ospfv3-intra-area-te-lsa { base ospf:ospfv3-lsa-type; description - "OSPFv3 Intrea-area TE LSA."; + "OSPFv3 intra-area TE LSA."; } grouping ospfv3-intra-area-te { description "Grouping for OSPFv3 intra-area-te-lsa."; container ospfv3-intra-area-te { container router-address-tlv { description "The router IPv6 address tlv advertises a reachable IPv6 address."; leaf router-address { type inet:ipv6-address; description "Router IPv6 address."; } } container link-tlv { - description "Describes a singel link, and it is constructed + description "Describes a single link, and it is constructed of a set of Sub-TLVs."; leaf link-type { type ospf:router-link-type; mandatory true; description "Link type."; } container local-if-ipv6-addrs { description "All local interface IPv6 addresses."; leaf-list local-if-ipv6-addr { @@ -298,21 +305,21 @@ } } leaf admin-group { type uint32; description "Administrative group/Resource Class/Color."; } container neighbor-id { - description "Neighbor link identitification."; + description "Neighbor link identification."; leaf nbr-interface-id { type inet:ipv4-address; mandatory true; description "The neighbor's interface ID."; } leaf nbr-router-id { type yang:dotted-quad; mandatory true; description "The neighbor's router ID."; } @@ -333,21 +340,21 @@ + "ospf:area/ospf:database/" + "ospf:area-scope-lsa-type/ospf:area-scope-lsas/" + "ospf:area-scope-lsa/ospf:version/ospf:ospfv3/" + "ospf:ospfv3/ospf:body" { when "../../../../../../../../../" + "rt:type = 'ospf:ospfv3'" { description "This augmentation is only valid for OSPFv3."; } description - "OSPFv3 Intrea-Area-TE-LSA."; + "OSPFv3 Intra-Area-TE-LSA."; uses ospfv3-intra-area-te; } } 3. YANG Module for OSPF Two-Part Metric This document defines a YANG module for OSPF Two-Part Metric feature as defined in [RFC8042]. It is an augmentation of the OSPF base @@ -376,38 +383,40 @@ /ospf:area-scope-lsa/ospf:version/ospf:ospfv2/ospf:ospfv2 /ospf:body/ospf:opaque/ospf:te-opaque/ospf:link-tlv: +--ro network-to-router-te-metric? uint32 augment /rt:routing/rt:control-plane-protocols /rt:control-plane-protocol/ospf:ospf/ospf:areas/ospf:area /ospf:database/ospf:area-scope-lsa-type/ospf:area-scope-lsas /ospf:area-scope-lsa/ospf:version/ospf:ospfv3/ospf:ospfv3 /ospf:body/ospfv3-te:ospfv3-intra-area-te/ospfv3-te:link-tlv: +--ro network-to-router-te-metric? uint32 - file "ietf-ospf-two-part-metric@2020-04-24.yang" + file "ietf-ospf-two-part-metric@2021-07-11.yang" module ietf-ospf-two-part-metric { yang-version 1.1; namespace "urn:ietf:params:xml:ns:yang:ietf-ospf-two-part-metric"; prefix ospf-two-metric; import ietf-routing { prefix "rt"; + reference "RFC 8349: A YANG Data Model for Routing + Management (NMDA Version)"; } - import ietf-ospf { prefix "ospf"; } import ietf-ospfv3-te { prefix "ospfv3-te"; } + organization "IETF LSR - Link State Routing Working Group"; contact "WG Web: WG List: Author: Yingzhen Qu Author: Acee Lindem @@ -410,42 +419,44 @@ Author: Yingzhen Qu Author: Acee Lindem "; description "This YANG module defines the configuration and operational state for OSPF Two-Part Metric feature as defined in RFC 8042. - Copyright (c) 2019 IETF Trust and the persons identified as + This YANG model conforms to the Network Management + Datastore Architecture (NMDA) as described in RFC 8342. + + Copyright (c) 2021 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 Simplified BSD License set forth in Section 4.c of the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info). This version of this YANG module is part of RFC XXXX; see the RFC itself for full legal notices."; reference "RFC XXXX"; - revision 2020-04-24 { + revision 2021-07-11 { description "Initial version"; reference "RFC XXXX: A YANG Data Model for OSPF."; } - identity two-part-metric { base ospf:informational-capability; description "When set, the router is capable of supporting OSPF two-part metrics."; reference "RFC 8042: OSPF Two-Part Metric"; } /* RFC 8042 */ @@ -591,38 +602,42 @@ +--ro local-int-id? uint32 +--ro remote-int-id? uint32 augment /rt:routing/rt:control-plane-protocols /rt:control-plane-protocol/ospf:ospf/ospf:areas/ospf:area /ospf:database/ospf:area-scope-lsa-type/ospf:area-scope-lsas /ospf:area-scope-lsa/ospf:version/ospf:ospfv3/ospf:ospfv3 /ospf:body/ospfv3-e-lsa:e-router/ospfv3-e-lsa:e-router-tlvs /ospfv3-e-lsa:link-tlv: +--ro graceful-link-shutdown-sub-tlv! - file "ietf-ospf-graceful-link-shutdown@2020-10-31.yang" + file "ietf-ospf-graceful-link-shutdown@2021-07-11.yang" module ietf-ospf-graceful-link-shutdown { yang-version 1.1; namespace "urn:ietf:params:xml:ns:yang:ietf-ospf-graceful-link-shutdown"; prefix ospf-grace-linkdown; import ietf-inet-types { prefix "inet"; + reference "RFC 6991: Common YANG Data Types"; } import ietf-routing { prefix "rt"; + reference "RFC 8349: A YANG Data Model for Routing + Management (NMDA Version)"; } import ietf-ospf { prefix "ospf"; + } import ietf-ospfv3-extended-lsa { prefix "ospfv3-e-lsa"; } organization "IETF LSR - Link State Routing Working Group"; contact @@ -635,42 +650,41 @@ "; description "This YANG module defines the configuration and operational state for OSPF Graceful Link Shutdown feature as defined in RFC 8379. This YANG model conforms to the Network Management Datastore Architecture (NDMA) as described in RFC 8342. - Copyright (c) 2020 IETF Trust and the persons identified as + Copyright (c) 2021 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 Simplified BSD License set forth in Section 4.c of the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info). This version of this YANG module is part of RFC XXXX; see the RFC itself for full legal notices."; reference "RFC XXXX"; - revision 2020-10-31 { + revision 2021-07-11 { description "Initial version"; reference - "RFC XXXX: A YANG Data Model for OSPF."; + "RFC XXXX: A YANG Data Model for OSPF Graceful Link Shutdown."; } - /* RFC 8379 */ augment "/rt:routing/rt:control-plane-protocols/" + "rt:control-plane-protocol/ospf:ospf/" + "ospf:areas/ospf:area/ospf:interfaces/ospf:interface" { when "../../../../../rt:type = 'ospf:ospfv2' or " + "../../../../../rt:type = 'ospf:ospfv3'" { description "This augments the OSPF interface configuration when used."; } @@ -773,29 +787,31 @@ This document defines a YANG module for OSPF Link-Local Signaling (LLS) Extensions for Local Interface ID Advertisement feature as defined in [RFC8510]. It is an augmentation of the OSPF base model. module: ietf-ospf-lls-local-id augment /rt:routing/rt:control-plane-protocols /rt:control-plane-protocol/ospf:ospf: +--rw lls-int-id +--rw enable? boolean - file "ietf-ospf-lls-local-id@2020-04-24.yang" + file "ietf-ospf-lls-local-id@2021-07-11.yang" module ietf-ospf-lls-local-id { yang-version 1.1; namespace "urn:ietf:params:xml:ns:yang:ietf-ospf-lls-local-id"; prefix ospf-lls-localid; import ietf-routing { prefix "rt"; + reference "RFC 8349: A YANG Data Model for Routing + Management (NMDA Version)"; } import ietf-ospf { prefix "ospf"; } organization "IETF LSR - Link State Routing Working Group"; contact @@ -805,62 +821,67 @@ Author: Yingzhen Qu Author: Acee Lindem "; description "This YANG module defines the configuration and operational state for OSPF Link-Local Signaling (LLS) Extensions for Local Interface ID Advertisement feature as defined in RFC 8510. - Copyright (c) 2019 IETF Trust and the persons identified as + This YANG model conforms to the Network Management + Datastore Architecture (NMDA) as described in RFC 8342. + + Copyright (c) 2021 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 Simplified BSD License set forth in Section 4.c of the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info). This version of this YANG module is part of RFC XXXX; see the RFC itself for full legal notices."; reference "RFC XXXX"; - revision 2020-04-24 { + revision 2021-07-11 { description "Initial version"; reference "RFC XXXX: A YANG Data Model for OSPF."; } augment "/rt:routing/rt:control-plane-protocols" + "/rt:control-plane-protocol/ospf:ospf" { when "../rt:type = 'ospf:ospfv2' or " + "../rt:type = 'ospf:ospfv3'" { description "This augments the OSPF routing protocol when used."; } description "This augments the OSPF protocol configuration - to support LLS extesnions for interfacde ID as - defined in RFC 8510."; + to support LLS extensions for local interface ID + advertisement."; container lls-int-id { leaf enable { type boolean; default false; description "Enable LLS to advertise local interface ID."; } description "OSPF LLS Extensions for interface ID."; + reference "RFC 8510 - OSPF Link-Local Signaling (LLS) + Extensions for Local Interface ID Advertisement"; } } } 6. YANG Module for OSPF Application-Specific Link Attributes This document defines a YANG module for OSPF Application-Specific Link Attributes feature as defined in [RFC8920]. It is an augmentation of the OSPF base model. @@ -2267,24 +2290,20 @@ [RFC6536] Bierman, A. and M. Bjorklund, "Network Configuration Protocol (NETCONF) Access Control Model", RFC 6536, DOI 10.17487/RFC6536, March 2012, . [RFC7950] Bjorklund, M., Ed., "The YANG 1.1 Data Modeling Language", RFC 7950, DOI 10.17487/RFC7950, August 2016, . - [RFC8022] Lhotka, L. and A. Lindem, "A YANG Data Model for Routing - Management", RFC 8022, DOI 10.17487/RFC8022, November - 2016, . - [RFC8040] Bierman, A., Bjorklund, M., and K. Watsen, "RESTCONF Protocol", RFC 8040, DOI 10.17487/RFC8040, January 2017, . [RFC8042] Zhang, Z., Wang, L., and A. Lindem, "OSPF Two-Part Metric", RFC 8042, DOI 10.17487/RFC8042, December 2016, . [RFC8349] Lhotka, L., Lindem, A., and Y. Qu, "A YANG Data Model for Routing Management (NMDA Version)", RFC 8349,