draft-ietf-mpls-static-yang-09.txt   draft-ietf-mpls-static-yang-10.txt 
MPLS Working Group T. Saad MPLS Working Group T. Saad
Internet-Draft Juniper Networks Internet-Draft Juniper Networks
Intended status: Standards Track R. Gandhi Intended status: Standards Track R. Gandhi
Expires: September 9, 2019 Cisco Systems, Inc. Expires: March 15, 2020 Cisco Systems, Inc.
X. Liu X. Liu
Volta Networks Volta Networks
V. Beeram V. Beeram
Juniper Networks Juniper Networks
I. Bryskin I. Bryskin
Huawei Technologies Huawei Technologies
March 08, 2019 September 12, 2019
A YANG Data Model for MPLS Static LSPs A YANG Data Model for MPLS Static LSPs
draft-ietf-mpls-static-yang-09 draft-ietf-mpls-static-yang-10
Abstract Abstract
This document contains the specification for the MPLS Static Label This document contains the specification for the MPLS Static Label
Switched Paths (LSPs) YANG model. The model allows for the Switched Paths (LSPs) YANG model. The model allows for the
provisioning of static LSP(s) on Label Edge Router(s) LER(s) and 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 Label Switched Router(s) LSR(s) devices along a LSP path without the
dependency on any signaling protocol. The MPLS Static LSP model dependency on any signaling protocol. The MPLS Static LSP model
augments the MPLS base YANG model with specific data to configure and augments the MPLS base YANG model with specific data to configure and
manage MPLS Static LSP(s). manage MPLS Static LSP(s).
skipping to change at page 1, line 43 skipping to change at page 1, line 43
Internet-Drafts are working documents of the Internet Engineering Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet- working documents as Internet-Drafts. The list of current Internet-
Drafts is at https://datatracker.ietf.org/drafts/current/. Drafts is at https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress." 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 Notice
Copyright (c) 2019 IETF Trust and the persons identified as the Copyright (c) 2019 IETF Trust and the persons identified as the
document authors. All rights reserved. document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents Provisions Relating to IETF Documents
(https://trustee.ietf.org/license-info) in effect on the date of (https://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents publication of this document. Please review these documents
skipping to change at page 2, line 25 skipping to change at page 2, line 25
Table of Contents Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1. Terminology . . . . . . . . . . . . . . . . . . . . . . . 3 1.1. Terminology . . . . . . . . . . . . . . . . . . . . . . . 3
1.2. Acronyms and Abbreviations . . . . . . . . . . . . . . . 3 1.2. Acronyms and Abbreviations . . . . . . . . . . . . . . . 3
2. MPLS Static LSP Model . . . . . . . . . . . . . . . . . . . . 3 2. MPLS Static LSP Model . . . . . . . . . . . . . . . . . . . . 3
2.1. Model Organization . . . . . . . . . . . . . . . . . . . 4 2.1. Model Organization . . . . . . . . . . . . . . . . . . . 4
2.2. Model Tree Diagram . . . . . . . . . . . . . . . . . . . 4 2.2. Model Tree Diagram . . . . . . . . . . . . . . . . . . . 4
2.3. Model Overview . . . . . . . . . . . . . . . . . . . . . 6 2.3. Model Overview . . . . . . . . . . . . . . . . . . . . . 6
2.4. Model YANG Module(s) . . . . . . . . . . . . . . . . . . 7 2.4. Model YANG Module(s) . . . . . . . . . . . . . . . . . . 7
3. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 15 3. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 14
4. Security Considerations . . . . . . . . . . . . . . . . . . . 15 4. Security Considerations . . . . . . . . . . . . . . . . . . . 15
5. Contributors . . . . . . . . . . . . . . . . . . . . . . . . 16 5. Contributors . . . . . . . . . . . . . . . . . . . . . . . . 15
6. References . . . . . . . . . . . . . . . . . . . . . . . . . 16 6. References . . . . . . . . . . . . . . . . . . . . . . . . . 16
6.1. Normative References . . . . . . . . . . . . . . . . . . 16 6.1. Normative References . . . . . . . . . . . . . . . . . . 16
6.2. Informative References . . . . . . . . . . . . . . . . . 18 6.2. Informative References . . . . . . . . . . . . . . . . . 17
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 18 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 18
1. Introduction 1. Introduction
This document describes a YANG [RFC7950] data model for configuring This document describes a YANG [RFC7950] data model for configuring
and managing the Multiprotocol Label Switching (MPLS) [RFC3031] and managing the Multiprotocol Label Switching (MPLS) [RFC3031]
Static LSPs. The model allows the configuration of LER and LSR Static LSPs. The model allows the configuration of LER and LSR
devices with the necessary MPLS cross-connects or bindings to realize devices with the necessary MPLS cross-connects or bindings to realize
an end-to-end LSP service. an end-to-end LSP service.
skipping to change at page 6, line 29 skipping to change at page 6, line 29
in-segment: in-segment:
A YANG grouping that describes parameters of an incoming class of A YANG grouping that describes parameters of an incoming class of
FEC associated with a specific LSP as described in the MPLS FEC associated with a specific LSP as described in the MPLS
architecture document [RFC3031]. The model allows the following architecture document [RFC3031]. The model allows the following
types of traffic to be mapped onto the static LSP on an ingress types of traffic to be mapped onto the static LSP on an ingress
LER: LER:
o Unlabeled traffic destined to a specific prefix o Unlabeled traffic destined to a specific prefix
o Labeled traffic arriving with a specific label 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: out-segment:
A YANG grouping that describes parameters for the forwarding A YANG grouping that describes parameters for the forwarding
path(s) and their associated attributes for an LSP. The model path(s) and their associated attributes for an LSP. The model
allows for the following cases: allows for the following cases:
o single forwarding path or NHLFE o single forwarding path or NHLFE
o multiple forwarding path(s) or NHLFE(s), each of which can o multiple forwarding path(s) or NHLFE(s), each of which can
serve a primary, backup or both role(s). serve a primary, backup or both role(s).
skipping to change at page 7, line 4 skipping to change at page 6, line 51
level types and groupings: level types and groupings:
bidir-static-lsp: bidir-static-lsp:
A YANG grouping that describes list of static bidirectional LSPs A YANG grouping that describes list of static bidirectional LSPs
The ietf-mpls-static-extended augments the ietf-mpls-static model The ietf-mpls-static-extended augments the ietf-mpls-static model
with additional parameters to configure and manage: with additional parameters to configure and manage:
o Bidirectional Static LSP(s) o Bidirectional Static LSP(s)
o Defining Static LSP bandwidth allocation
o Defining Static LSP bandwidth allocation
o Defining Static LSP preemption priorities o Defining Static LSP preemption priorities
2.4. Model YANG Module(s) 2.4. Model YANG Module(s)
Configuring LSPs through an LSR/LER involves the following steps: Configuring LSPs through an LSR/LER involves the following steps:
o Enabling MPLS on MPLS capable interfaces. o Enabling MPLS on MPLS capable interfaces.
o Configuring in-segments and out-segments on LER(s) and LSR(s) o Configuring in-segments and out-segments on LER(s) and LSR(s)
traversed by the LSP. traversed by the LSP.
skipping to change at page 7, line 44 skipping to change at page 7, line 42
o ietf-routing-types defined in [RFC8294] o ietf-routing-types defined in [RFC8294]
o ietf-interfaces defined in [RFC8343] o ietf-interfaces defined in [RFC8343]
o ietf-mpls defined in [I-D.ietf-mpls-base-yang] o ietf-mpls defined in [I-D.ietf-mpls-base-yang]
o ietf-te defined in [I-D.ietf-teas-yang-te] o ietf-te defined in [I-D.ietf-teas-yang-te]
The ietf-mpls-static module is shown below: The ietf-mpls-static module is shown below:
<CODE BEGINS> file "ietf-mpls-static@2019-03-08.yang" <CODE BEGINS> file "ietf-mpls-static@2019-09-12.yang"
module ietf-mpls-static { module ietf-mpls-static {
yang-version 1.1; yang-version 1.1;
namespace "urn:ietf:params:xml:ns:yang:ietf-mpls-static"; namespace "urn:ietf:params:xml:ns:yang:ietf-mpls-static";
prefix "mpls-static"; prefix "mpls-static";
import ietf-mpls { import ietf-mpls {
prefix "mpls"; prefix "mpls";
reference "draft-ietf-mpls-base-yang: MPLS Base YANG Data Model"; reference "draft-ietf-mpls-base-yang: MPLS Base YANG Data Model";
} }
import ietf-routing { import ietf-routing {
prefix "rt"; prefix "rt";
reference "RFC8349: A YANG Data Model for Routing Management"; reference "RFC8349: A YANG Data Model for Routing Management";
} }
import ietf-routing-types { import ietf-routing-types {
prefix "rt-types"; prefix "rt-types";
reference "RFC8294: Common YANG Data Types for the Routing Area"; reference "RFC8294: Common YANG Data Types for the Routing Area";
} }
skipping to change at page 8, line 34 skipping to change at page 8, line 31
reference "RFC7223: A YANG Data Model for Interface Management"; reference "RFC7223: A YANG Data Model for Interface Management";
} }
organization "IETF MPLS Working Group"; organization "IETF MPLS Working Group";
contact contact
"WG Web: <http://tools.ietf.org/wg/mpls/> "WG Web: <http://tools.ietf.org/wg/mpls/>
WG List: <mailto:mpls@ietf.org> WG List: <mailto:mpls@ietf.org>
WG Chair: Loa Andersson
<mailto:loa@pi.nu>
WG Chair: Nic Leymann
<mailto:N.Leymann@telekom.de>
Editor: Tarek Saad Editor: Tarek Saad
<mailto:tsaad@cisco.com> <mailto:tsaad@juniper.net>
Editor: Kamran Raza
<mailto:skraza@cisco.com>
Editor: Rakesh Gandhi Editor: Rakesh Gandhi
<mailto:rgandhi@cisco.com> <mailto:rgandhi@cisco.com>
Editor: Xufeng Liu Editor: Xufeng Liu
<mailto: xufeng.liu.ietf@gmail.com> <mailto: xufeng.liu.ietf@gmail.com>
Editor: Vishnu Pavan Beeram Editor: Vishnu Pavan Beeram
<mailto:vbeeram@juniper.net> <mailto:vbeeram@juniper.net>
Editor: Himanshu Shah
<mailto:hshah@ciena.com>
Editor: Igor Bryskin Editor: Igor Bryskin
<mailto: Igor.Bryskin@huawei.com>"; <mailto: Igor.Bryskin@huawei.com>";
description description
"This YANG module augments the 'ietf-routing' module with basic "This YANG module augments the 'ietf-routing' module with basic
configuration and operational state data for MPLS static configuration and operational state data for MPLS static
The model fully conforms to the Network Management Datastore The model fully conforms to the Network Management Datastore
Architecture (NMDA). Architecture (NMDA).
Copyright (c) 2018 IETF Trust and the persons Copyright (c) 2018 IETF Trust and the persons
skipping to change at page 9, line 38 skipping to change at page 9, line 23
(https://trustee.ietf.org/license-info). (https://trustee.ietf.org/license-info).
This version of this YANG module is part of RFC XXXX; see This version of this YANG module is part of RFC XXXX; see
the RFC itself for full legal notices."; the RFC itself for full legal notices.";
// RFC Ed.: replace XXXX with actual RFC number and remove this // RFC Ed.: replace XXXX with actual RFC number and remove this
// note. // note.
// RFC Ed.: update the date below with the date of RFC publication // RFC Ed.: update the date below with the date of RFC publication
// and remove this note. // and remove this note.
revision "2019-03-08" { revision "2019-09-12" {
description description
"Latest revision of MPLS Static LSP YANG module"; "Latest revision of MPLS Static LSP YANG module";
reference "RFC XXXX: A YANG Data Model for MPLS Static LSPs"; reference "RFC XXXX: A YANG Data Model for MPLS Static LSPs";
} }
typedef static-lsp-ref { typedef static-lsp-ref {
type leafref { type leafref {
path "/rt:routing/mpls:mpls/mpls-static:static-lsps/" + path "/rt:routing/mpls:mpls/mpls-static:static-lsps/" +
"mpls-static:static-lsp/mpls-static:name"; "mpls-static:static-lsp/mpls-static:name";
} }
skipping to change at page 12, line 4 skipping to change at page 11, line 38
uses out-segment; uses out-segment;
} }
} }
} }
} }
<CODE ENDS> <CODE ENDS>
The ietf-mpls-static-extended module imports the followinig modules: The ietf-mpls-static-extended module imports the followinig modules:
o ietf-mpls defined in [I-D.ietf-mpls-base-yang] o ietf-mpls defined in [I-D.ietf-mpls-base-yang]
o ietf-mpls-static defined in this document o ietf-mpls-static defined in this document
o ietf-routing defined in [RFC8349] o ietf-routing defined in [RFC8349]
The ietf-mpls-static-extended module is shown below: The ietf-mpls-static-extended module is shown below:
<CODE BEGINS> file "ietf-mpls-static-extended@2019-03-08.yang" <CODE BEGINS> file "ietf-mpls-static-extended@2019-09-12.yang"
module ietf-mpls-static-extended { module ietf-mpls-static-extended {
yang-version 1.1; yang-version 1.1;
namespace "urn:ietf:params:xml:ns:yang:ietf-mpls-static-extended"; namespace "urn:ietf:params:xml:ns:yang:ietf-mpls-static-extended";
prefix "mpls-static-ext"; prefix "mpls-static-ext";
import ietf-mpls { import ietf-mpls {
prefix "mpls"; prefix "mpls";
reference "draft-ietf-mpls-base-yang: MPLS Base YANG Data Model"; reference "draft-ietf-mpls-base-yang: MPLS Base YANG Data Model";
} }
import ietf-routing { import ietf-routing {
prefix "rt"; prefix "rt";
reference "RFC8349: A YANG Data Model for Routing Management"; 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 { import ietf-mpls-static {
prefix "mpls-static"; prefix "mpls-static";
reference "RFC XXXX: A YANG Data Model for MPLS Static LSPs"; reference "RFC XXXX: A YANG Data Model for MPLS Static LSPs";
} }
organization "IETF MPLS Working Group"; organization "IETF MPLS Working Group";
contact contact
"WG Web: <http://tools.ietf.org/wg/mpls/> "WG Web: <http://tools.ietf.org/wg/mpls/>
WG List: <mailto:mpls@ietf.org> WG List: <mailto:mpls@ietf.org>
WG Chair: Loa Andersson
<mailto:loa@pi.nu>
WG Chair: Nic Leymann
<mailto:N.Leymann@telekom.de>
Editor: Tarek Saad Editor: Tarek Saad
<mailto:tsaad@cisco.com> <mailto:tsaad@juniper.net>
Editor: Kamran Raza
<mailto:skraza@cisco.com>
Editor: Rakesh Gandhi Editor: Rakesh Gandhi
<mailto:rgandhi@cisco.com> <mailto:rgandhi@cisco.com>
Editor: Xufeng Liu Editor: Xufeng Liu
<mailto: xufeng.liu.ietf@gmail.com> <mailto: xufeng.liu.ietf@gmail.com>
Editor: Vishnu Pavan Beeram Editor: Vishnu Pavan Beeram
<mailto:vbeeram@juniper.net> <mailto:vbeeram@juniper.net>
Editor: Himanshu Shah
<mailto:hshah@ciena.com>
Editor: Igor Bryskin Editor: Igor Bryskin
<mailto: Igor.Bryskin@huawei.com>"; <mailto: Igor.Bryskin@huawei.com>";
description description
"This YANG module contains the Extended MPLS Static LSP YANG "This YANG module contains the Extended MPLS Static LSP YANG
data model. The model fully conforms to the Network Management data model. The model fully conforms to the Network Management
Datastore Architecture (NMDA). Datastore Architecture (NMDA).
Copyright (c) 2018 IETF Trust and the persons Copyright (c) 2018 IETF Trust and the persons
identified as authors of the code. All rights reserved. identified as authors of the code. All rights reserved.
skipping to change at page 13, line 40 skipping to change at page 13, line 20
(https://trustee.ietf.org/license-info). (https://trustee.ietf.org/license-info).
This version of this YANG module is part of RFC XXXX; see This version of this YANG module is part of RFC XXXX; see
the RFC itself for full legal notices."; the RFC itself for full legal notices.";
// RFC Ed.: replace XXXX with actual RFC number and remove this // RFC Ed.: replace XXXX with actual RFC number and remove this
// note. // note.
// RFC Ed.: update the date below with the date of RFC publication // RFC Ed.: update the date below with the date of RFC publication
// and remove this note. // and remove this note.
revision "2019-03-08" { revision "2019-09-12" {
description description
"Latest revision of MPLS Static LSP Extended YANG module"; "Latest revision of MPLS Static LSP Extended YANG module";
reference "RFC XXXX: A YANG Data Model for MPLS Static LSPs"; reference "RFC XXXX: A YANG Data Model for MPLS Static LSPs";
} }
grouping bidir-static-lsp { grouping bidir-static-lsp {
description description
"grouping for top level list of static bidirectional LSPs"; "grouping for top level list of static bidirectional LSPs";
leaf forward-lsp { leaf forward-lsp {
type mpls-static:static-lsp-ref; type mpls-static:static-lsp-ref;
skipping to change at page 14, line 18 skipping to change at page 13, line 46
description description
"Reference to a configured static reverse LSP"; "Reference to a configured static reverse LSP";
} }
} }
augment "/rt:routing/mpls:mpls/mpls-static:static-lsps" { augment "/rt:routing/mpls:mpls/mpls-static:static-lsps" {
description description
"Augmentation for static MPLS LSPs"; "Augmentation for static MPLS LSPs";
leaf bandwidth { leaf bandwidth {
type uint32; type rt-types:bandwidth-ieee-float32;
units "Mbps"; units "Bytes per second";
description description
"Bandwidth in Mbps, e.g., using offline calculation"; "Bandwidth using offline calculation";
} }
leaf lsp-priority-setup { leaf lsp-priority-setup {
type uint8 { type uint8 {
range "0..7"; range "0..7";
} }
description "LSP setup priority"; description "LSP setup priority";
} }
leaf lsp-priority-hold { leaf lsp-priority-hold {
type uint8 { type uint8 {
range "0..7"; range "0..7";
skipping to change at page 16, line 40 skipping to change at page 16, line 24
6.1. Normative References 6.1. Normative References
[I-D.ietf-mpls-base-yang] [I-D.ietf-mpls-base-yang]
Saad, T., Raza, K., Gandhi, R., Liu, X., and V. Beeram, "A Saad, T., Raza, K., Gandhi, R., Liu, X., and V. Beeram, "A
YANG Data Model for MPLS Base", draft-ietf-mpls-base- YANG Data Model for MPLS Base", draft-ietf-mpls-base-
yang-10 (work in progress), February 2019. yang-10 (work in progress), February 2019.
[I-D.ietf-teas-yang-te] [I-D.ietf-teas-yang-te]
Saad, T., Gandhi, R., Liu, X., Beeram, V., and I. Bryskin, Saad, T., Gandhi, R., Liu, X., Beeram, V., and I. Bryskin,
"A YANG Data Model for Traffic Engineering Tunnels and "A YANG Data Model for Traffic Engineering Tunnels and
Interfaces", draft-ietf-teas-yang-te-19 (work in Interfaces", draft-ietf-teas-yang-te-21 (work in
progress), February 2019. progress), April 2019.
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119, Requirement Levels", BCP 14, RFC 2119,
DOI 10.17487/RFC2119, March 1997, DOI 10.17487/RFC2119, March 1997,
<https://www.rfc-editor.org/info/rfc2119>. <https://www.rfc-editor.org/info/rfc2119>.
[RFC3031] Rosen, E., Viswanathan, A., and R. Callon, "Multiprotocol [RFC3031] Rosen, E., Viswanathan, A., and R. Callon, "Multiprotocol
Label Switching Architecture", RFC 3031, Label Switching Architecture", RFC 3031,
DOI 10.17487/RFC3031, January 2001, DOI 10.17487/RFC3031, January 2001,
<https://www.rfc-editor.org/info/rfc3031>. <https://www.rfc-editor.org/info/rfc3031>.
 End of changes. 26 change blocks. 
46 lines changed or deleted 25 lines changed or added

This html diff was produced by rfcdiff 1.47. The latest version is available from http://tools.ietf.org/tools/rfcdiff/