--- 1/draft-ietf-mpls-static-yang-09.txt 2019-09-12 09:13:12.369225916 -0700 +++ 2/draft-ietf-mpls-static-yang-10.txt 2019-09-12 09:13:12.409226922 -0700 @@ -1,25 +1,25 @@ MPLS Working Group T. Saad Internet-Draft Juniper Networks Intended status: Standards Track R. Gandhi -Expires: September 9, 2019 Cisco Systems, Inc. +Expires: March 15, 2020 Cisco Systems, Inc. X. Liu Volta Networks V. Beeram Juniper Networks I. Bryskin Huawei Technologies - March 08, 2019 + September 12, 2019 A YANG Data Model for MPLS Static LSPs - draft-ietf-mpls-static-yang-09 + draft-ietf-mpls-static-yang-10 Abstract This document contains the specification for the MPLS Static Label Switched Paths (LSPs) YANG model. The model allows for the provisioning of static LSP(s) on Label Edge Router(s) LER(s) and Label Switched Router(s) LSR(s) devices along a LSP path without the dependency on any signaling protocol. The MPLS Static LSP model augments the MPLS base YANG model with specific data to configure and manage MPLS Static LSP(s). @@ -32,21 +32,21 @@ 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 September 9, 2019. + This Internet-Draft will expire on March 15, 2020. Copyright Notice Copyright (c) 2019 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 @@ -59,26 +59,26 @@ Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 1.1. Terminology . . . . . . . . . . . . . . . . . . . . . . . 3 1.2. Acronyms and Abbreviations . . . . . . . . . . . . . . . 3 2. MPLS Static LSP Model . . . . . . . . . . . . . . . . . . . . 3 2.1. Model Organization . . . . . . . . . . . . . . . . . . . 4 2.2. Model Tree Diagram . . . . . . . . . . . . . . . . . . . 4 2.3. Model Overview . . . . . . . . . . . . . . . . . . . . . 6 2.4. Model YANG Module(s) . . . . . . . . . . . . . . . . . . 7 - 3. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 15 + 3. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 14 4. Security Considerations . . . . . . . . . . . . . . . . . . . 15 - 5. Contributors . . . . . . . . . . . . . . . . . . . . . . . . 16 + 5. Contributors . . . . . . . . . . . . . . . . . . . . . . . . 15 6. References . . . . . . . . . . . . . . . . . . . . . . . . . 16 6.1. Normative References . . . . . . . . . . . . . . . . . . 16 - 6.2. Informative References . . . . . . . . . . . . . . . . . 18 + 6.2. Informative References . . . . . . . . . . . . . . . . . 17 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 18 1. Introduction This document describes a YANG [RFC7950] data model for configuring and managing the Multiprotocol Label Switching (MPLS) [RFC3031] Static LSPs. The model allows the configuration of LER and LSR devices with the necessary MPLS cross-connects or bindings to realize an end-to-end LSP service. @@ -249,22 +249,20 @@ in-segment: A YANG grouping that describes parameters of an incoming class of FEC associated with a specific LSP as described in the MPLS architecture document [RFC3031]. The model allows the following types of traffic to be mapped onto the static LSP on an ingress LER: o Unlabeled traffic destined to a specific prefix o Labeled traffic arriving with a specific label - o Traffic carried on a TE tunnel whose LSP is - statically created via this model. out-segment: A YANG grouping that describes parameters for the forwarding path(s) and their associated attributes for an LSP. The model allows for the following cases: o single forwarding path or NHLFE o multiple forwarding path(s) or NHLFE(s), each of which can serve a primary, backup or both role(s). @@ -273,22 +271,22 @@ level types and groupings: bidir-static-lsp: A YANG grouping that describes list of static bidirectional LSPs The ietf-mpls-static-extended augments the ietf-mpls-static model with additional parameters to configure and manage: o Bidirectional Static LSP(s) - o Defining Static LSP bandwidth allocation + o Defining Static LSP bandwidth allocation o Defining Static LSP preemption priorities 2.4. Model YANG Module(s) Configuring LSPs through an LSR/LER involves the following steps: o Enabling MPLS on MPLS capable interfaces. o Configuring in-segments and out-segments on LER(s) and LSR(s) traversed by the LSP. @@ -313,31 +311,30 @@ o ietf-routing-types defined in [RFC8294] o ietf-interfaces defined in [RFC8343] o ietf-mpls defined in [I-D.ietf-mpls-base-yang] o ietf-te defined in [I-D.ietf-teas-yang-te] The ietf-mpls-static module is shown below: - file "ietf-mpls-static@2019-03-08.yang" + file "ietf-mpls-static@2019-09-12.yang" module ietf-mpls-static { yang-version 1.1; namespace "urn:ietf:params:xml:ns:yang:ietf-mpls-static"; prefix "mpls-static"; import ietf-mpls { prefix "mpls"; reference "draft-ietf-mpls-base-yang: MPLS Base YANG Data Model"; } - import ietf-routing { prefix "rt"; reference "RFC8349: A YANG Data Model for Routing Management"; } import ietf-routing-types { prefix "rt-types"; reference "RFC8294: Common YANG Data Types for the Routing Area"; } @@ -351,44 +348,32 @@ reference "RFC7223: A YANG Data Model for Interface Management"; } organization "IETF MPLS Working Group"; contact "WG Web: WG List: - WG Chair: Loa Andersson - - - WG Chair: Nic Leymann - - Editor: Tarek Saad - - - Editor: Kamran Raza - + Editor: Rakesh Gandhi Editor: Xufeng Liu Editor: Vishnu Pavan Beeram - Editor: Himanshu Shah - - Editor: Igor Bryskin "; description "This YANG module augments the 'ietf-routing' module with basic configuration and operational state data for MPLS static The model fully conforms to the Network Management Datastore Architecture (NMDA). Copyright (c) 2018 IETF Trust and the persons @@ -402,21 +387,21 @@ (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."; // RFC Ed.: replace XXXX with actual RFC number and remove this // note. // RFC Ed.: update the date below with the date of RFC publication // and remove this note. - revision "2019-03-08" { + revision "2019-09-12" { description "Latest revision of MPLS Static LSP YANG module"; reference "RFC XXXX: A YANG Data Model for MPLS Static LSPs"; } typedef static-lsp-ref { type leafref { path "/rt:routing/mpls:mpls/mpls-static:static-lsps/" + "mpls-static:static-lsp/mpls-static:name"; } @@ -512,78 +499,72 @@ uses out-segment; } } } } The ietf-mpls-static-extended module imports the followinig modules: o ietf-mpls defined in [I-D.ietf-mpls-base-yang] + o ietf-mpls-static defined in this document o ietf-routing defined in [RFC8349] The ietf-mpls-static-extended module is shown below: - file "ietf-mpls-static-extended@2019-03-08.yang" + file "ietf-mpls-static-extended@2019-09-12.yang" module ietf-mpls-static-extended { yang-version 1.1; namespace "urn:ietf:params:xml:ns:yang:ietf-mpls-static-extended"; prefix "mpls-static-ext"; import ietf-mpls { prefix "mpls"; reference "draft-ietf-mpls-base-yang: MPLS Base YANG Data Model"; } import ietf-routing { prefix "rt"; reference "RFC8349: A YANG Data Model for Routing Management"; } + import ietf-routing-types { + prefix "rt-types"; + reference "RFC8294: Common YANG Data Types for the Routing Area"; + } + import ietf-mpls-static { prefix "mpls-static"; reference "RFC XXXX: A YANG Data Model for MPLS Static LSPs"; } organization "IETF MPLS Working Group"; contact "WG Web: WG List: - WG Chair: Loa Andersson - - - WG Chair: Nic Leymann - - Editor: Tarek Saad - - - Editor: Kamran Raza - + Editor: Rakesh Gandhi Editor: Xufeng Liu Editor: Vishnu Pavan Beeram - Editor: Himanshu Shah - - Editor: Igor Bryskin "; description "This YANG module contains the Extended MPLS Static LSP YANG data model. The model fully conforms to the Network Management Datastore Architecture (NMDA). Copyright (c) 2018 IETF Trust and the persons identified as authors of the code. All rights reserved. @@ -596,21 +577,21 @@ (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."; // RFC Ed.: replace XXXX with actual RFC number and remove this // note. // RFC Ed.: update the date below with the date of RFC publication // and remove this note. - revision "2019-03-08" { + revision "2019-09-12" { description "Latest revision of MPLS Static LSP Extended YANG module"; reference "RFC XXXX: A YANG Data Model for MPLS Static LSPs"; } grouping bidir-static-lsp { description "grouping for top level list of static bidirectional LSPs"; leaf forward-lsp { type mpls-static:static-lsp-ref; @@ -623,24 +603,24 @@ description "Reference to a configured static reverse LSP"; } } augment "/rt:routing/mpls:mpls/mpls-static:static-lsps" { description "Augmentation for static MPLS LSPs"; leaf bandwidth { - type uint32; - units "Mbps"; + type rt-types:bandwidth-ieee-float32; + units "Bytes per second"; description - "Bandwidth in Mbps, e.g., using offline calculation"; + "Bandwidth using offline calculation"; } leaf lsp-priority-setup { type uint8 { range "0..7"; } description "LSP setup priority"; } leaf lsp-priority-hold { type uint8 { range "0..7"; @@ -742,22 +720,22 @@ 6.1. Normative References [I-D.ietf-mpls-base-yang] Saad, T., Raza, K., Gandhi, R., Liu, X., and V. Beeram, "A YANG Data Model for MPLS Base", draft-ietf-mpls-base- yang-10 (work in progress), February 2019. [I-D.ietf-teas-yang-te] Saad, T., Gandhi, R., Liu, X., Beeram, V., and I. Bryskin, "A YANG Data Model for Traffic Engineering Tunnels and - Interfaces", draft-ietf-teas-yang-te-19 (work in - progress), February 2019. + Interfaces", draft-ietf-teas-yang-te-21 (work in + progress), April 2019. [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, . [RFC3031] Rosen, E., Viswanathan, A., and R. Callon, "Multiprotocol Label Switching Architecture", RFC 3031, DOI 10.17487/RFC3031, January 2001, .