YANG Data Model for SR and SR TE Topologies on MPLS Data Plane
draft-ietf-teas-yang-sr-te-topo-09
|
Document |
Type |
|
Active Internet-Draft (teas WG)
|
|
Authors |
|
Xufeng Liu
,
Igor Bryskin
,
Vishnu Beeram
,
Tarek Saad
,
Himanshu Shah
,
Stephane Litkowski
|
|
Last updated |
|
2021-02-22
|
|
Replaces |
|
draft-liu-teas-yang-sr-te-topo
|
|
Stream |
|
IETF
|
|
Intended RFC status |
|
(None)
|
|
Formats |
|
plain text
pdf
htmlized (tools)
htmlized
bibtex
|
|
Yang Validation |
|
☯
0 errors, 5 warnings.
draft-ietf-teas-yang-sr-te-topo-09.txt:
xym 0.4.10:
Extracting 'ietf-sr-mpls-topology@2021-02-05.yang'
Removed 0 empty lines
Extracting 'ietf-sr-mpls-topology-state@2020-11-01.yang'
Removed 0 empty lines
ietf-sr-mpls-topology-state@2020-11-01.yang:
pyang 2.4.0: pyang --verbose --ietf -p {libs} {model}:
# module search path: a/www/ietf-ftp/yang/rfcmod/:/a/www/ietf-ftp/yang/draftmod/:/a/www/ietf-ftp/yang/ianamod/:/a/www/ietf-ftp/yang/catalogmod/:.:/var/lib/wwwrun/yang/modules:/a/www/ietf-datatracker/7.26.0/env/share/yang/modules
# read ietf-sr-mpls-topology-state@2020-11-01.yang (CL)
# read ietf-sr-mpls-topology@2021-02-05.yang
# read /a/www/ietf-datatracker/7.26.0/env/share/yang/modules/ietf/ietf-network.yang
# read /a/www/ietf-ftp/yang/rfcmod/ietf-network@2018-02-26.yang
# read /a/www/ietf-datatracker/7.26.0/env/share/yang/modules/ietf/ietf-inet-types.yang
# read /a/www/ietf-ftp/yang/draftmod/ietf-inet-types@2021-02-22.yang
# read /a/www/ietf-datatracker/7.26.0/env/share/yang/modules/ietf/ietf-network-topology.yang
# read /a/www/ietf-ftp/yang/rfcmod/ietf-network-topology@2018-02-26.yang
# read /a/www/ietf-datatracker/7.26.0/env/share/yang/modules/ietf/ietf-l3-unicast-topology.yang
# read /a/www/ietf-ftp/yang/rfcmod/ietf-l3-unicast-topology@2018-02-26.yang
# read /a/www/ietf-datatracker/7.26.0/env/share/yang/modules/ietf/ietf-routing-types.yang
# read /a/www/ietf-ftp/yang/rfcmod/ietf-routing-types@2017-12-04.yang
# read /a/www/ietf-datatracker/7.26.0/env/share/yang/modules/ietf/ietf-yang-types.yang
# read /a/www/ietf-ftp/yang/draftmod/ietf-yang-types@2021-02-22.yang
# read /a/www/ietf-ftp/yang/draftmod/ietf-segment-routing-common@2021-01-25.yang
# read /a/www/ietf-datatracker/7.26.0/env/share/yang/modules/ietf/ietf-network-state.yang
# read /a/www/ietf-ftp/yang/rfcmod/ietf-network-state@2018-02-26.yang
# read /a/www/ietf-datatracker/7.26.0/env/share/yang/modules/ietf/ietf-network-topology-state.yang
# read /a/www/ietf-ftp/yang/rfcmod/ietf-network-topology-state@2018-02-26.yang
# read /a/www/ietf-datatracker/7.26.0/env/share/yang/modules/ietf/ietf-l3-unicast-topology-state.yang
# read /a/www/ietf-ftp/yang/rfcmod/ietf-l3-unicast-topology-state@2018-02-26.yang
yanglint SO 1.6.7: yanglint --verbose -p {tmplib} -p {rfclib} -p {draftlib} -p {ianalib} -p {cataloglib} {model} -i:
warn: Default value "index" in the list key "value-type" is ignored. (/ietf-sr-mpls-topology:{grouping}[sr-link-attributes]/sr-mpls/sids/sid)
warn: Default value "index" in the list key "value-type" is ignored. (/ietf-network:networks/ietf-network:network/ietf-network-topology:link/ietf-l3-unicast-topology:l3-link-attributes/ietf-sr-mpls-topology:sr-mpls/sids/sid)
warn: Default value "index" in the list key "value-type" is ignored. (/ietf-network-state:networks/ietf-network-state:network/ietf-network-topology-state:link/ietf-l3-unicast-topology-state:l3-link-attributes/ietf-sr-mpls-topology-state:sr-mpls/sids/sid)
ietf-sr-mpls-topology@2021-02-05.yang:
pyang 2.4.0: pyang --verbose --ietf -p {libs} {model}:
# module search path: a/www/ietf-ftp/yang/rfcmod/:/a/www/ietf-ftp/yang/draftmod/:/a/www/ietf-ftp/yang/ianamod/:/a/www/ietf-ftp/yang/catalogmod/:.:/var/lib/wwwrun/yang/modules:/a/www/ietf-datatracker/7.26.0/env/share/yang/modules
# read ietf-sr-mpls-topology@2021-02-05.yang (CL)
# read /a/www/ietf-datatracker/7.26.0/env/share/yang/modules/ietf/ietf-network.yang
# read /a/www/ietf-ftp/yang/rfcmod/ietf-network@2018-02-26.yang
# read /a/www/ietf-datatracker/7.26.0/env/share/yang/modules/ietf/ietf-inet-types.yang
# read /a/www/ietf-ftp/yang/draftmod/ietf-inet-types@2021-02-22.yang
# read /a/www/ietf-datatracker/7.26.0/env/share/yang/modules/ietf/ietf-network-topology.yang
# read /a/www/ietf-ftp/yang/rfcmod/ietf-network-topology@2018-02-26.yang
# read /a/www/ietf-datatracker/7.26.0/env/share/yang/modules/ietf/ietf-l3-unicast-topology.yang
# read /a/www/ietf-ftp/yang/rfcmod/ietf-l3-unicast-topology@2018-02-26.yang
# read /a/www/ietf-datatracker/7.26.0/env/share/yang/modules/ietf/ietf-routing-types.yang
# read /a/www/ietf-ftp/yang/rfcmod/ietf-routing-types@2017-12-04.yang
# read /a/www/ietf-datatracker/7.26.0/env/share/yang/modules/ietf/ietf-yang-types.yang
# read /a/www/ietf-ftp/yang/draftmod/ietf-yang-types@2021-02-22.yang
# read /a/www/ietf-ftp/yang/draftmod/ietf-segment-routing-common@2021-01-25.yang
yanglint SO 1.6.7: yanglint --verbose -p {tmplib} -p {rfclib} -p {draftlib} -p {ianalib} -p {cataloglib} {model} -i:
warn: Default value "index" in the list key "value-type" is ignored. (/ietf-sr-mpls-topology:{grouping}[sr-link-attributes]/sr-mpls/sids/sid)
warn: Default value "index" in the list key "value-type" is ignored. (/ietf-network:networks/ietf-network:network/ietf-network-topology:link/ietf-l3-unicast-topology:l3-link-attributes/ietf-sr-mpls-topology:sr-mpls/sids/sid)
|
|
Reviews |
|
|
|
Additional Resources |
|
|
Stream |
WG state
|
|
WG Document
|
|
Document shepherd |
|
No shepherd assigned
|
IESG |
IESG state |
|
I-D Exists
|
|
Consensus Boilerplate |
|
Unknown
|
|
Telechat date |
|
|
|
Responsible AD |
|
(None)
|
|
Send notices to |
|
(None)
|
Network Working Group X. Liu
Internet-Draft Volta Networks
Intended status: Standards Track I. Bryskin
Expires: August 26, 2021 Individual
V. Beeram
T. Saad
Juniper Networks
H. Shah
Ciena
S. Litkowski
Cisco
February 22, 2021
YANG Data Model for SR and SR TE Topologies on MPLS Data Plane
draft-ietf-teas-yang-sr-te-topo-09
Abstract
This document defines a YANG data model for Segment Routing (SR)
topology and Segment Routing (SR) traffic engineering (TE) topology,
using MPLS data plane.
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 August 26, 2021.
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
Liu, et al. Expires August 26, 2021 [Page 1]
Internet-Draft YANG SR MPLS Topology February 2021
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
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. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1. Terminology . . . . . . . . . . . . . . . . . . . . . . . 2
1.2. Tree Diagrams . . . . . . . . . . . . . . . . . . . . . . 3
1.3. Prefixes in Data Node Names . . . . . . . . . . . . . . . 3
2. Modeling Considerations . . . . . . . . . . . . . . . . . . . 3
2.1. Segment Routing (SR) MPLS Topology . . . . . . . . . . . 3
2.2. Segment Routing (SR) MPLS TE Topology . . . . . . . . . . 4
2.3. Relations to ietf-segment-routing . . . . . . . . . . . . 7
2.4. Topology Type Modeling . . . . . . . . . . . . . . . . . 7
2.5. Topology Attributes . . . . . . . . . . . . . . . . . . . 7
2.6. Node Attributes . . . . . . . . . . . . . . . . . . . . . 7
2.7. Link Attributes . . . . . . . . . . . . . . . . . . . . . 8
3. Model Structure . . . . . . . . . . . . . . . . . . . . . . . 9
4. YANG Module . . . . . . . . . . . . . . . . . . . . . . . . . 11
5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 20
6. Security Considerations . . . . . . . . . . . . . . . . . . . 21
7. References . . . . . . . . . . . . . . . . . . . . . . . . . 22
7.1. Normative References . . . . . . . . . . . . . . . . . . 22
7.2. Informative References . . . . . . . . . . . . . . . . . 24
Appendix A. Companion YANG Model for Non-NMDA Compliant
Implementations . . . . . . . . . . . . . . . . . . 26
A.1. SR MPLS Topology State Module . . . . . . . . . . . . . . 26
Appendix B. Data Tree Example . . . . . . . . . . . . . . . . . 29
Appendix C. Contributors . . . . . . . . . . . . . . . . . . . . 36
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 36
1. Introduction
This document defines a YANG [RFC7950] data model for describing the
presentations of Segment Routing (SR) topology and Segment Routing
(SR) traffic engineering (TE) topology. The version of the model
limits the transport type to an MPLS dataplane.
1.1. Terminology
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
Show full document text