RIB YANG Data Model
draft-ietf-rtgwg-yang-rib-extend-05
|
Document |
Type |
|
Active Internet-Draft (rtgwg WG)
|
|
Authors |
|
Acee Lindem
,
Yingzhen Qu
|
|
Last updated |
|
2020-09-18
|
|
Replaces |
|
draft-acee-rtgwg-yang-rib-extend
|
|
Stream |
|
IETF
|
|
Intended RFC status |
|
(None)
|
|
Formats |
|
plain text
pdf
htmlized (tools)
htmlized
bibtex
|
|
Yang Validation |
|
☯
0 errors, 0 warnings.
draft-ietf-rtgwg-yang-rib-extend-05.txt:
xym 0.4.10:
Extracting 'ietf-rib-extension@2020-09-18.yang'
Removed 0 empty lines
ietf-rib-extension@2020-09-18.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.24.0/env/share/yang/modules
# read ietf-rib-extension@2020-09-18.yang (CL)
# read /a/www/ietf-datatracker/7.24.0/env/share/yang/modules/ietf/ietf-inet-types.yang
# read /a/www/ietf-ftp/yang/catalogmod/ietf-inet-types@2020-07-06.yang
# read /a/www/ietf-datatracker/7.24.0/env/share/yang/modules/ietf/ietf-interfaces.yang
# read /a/www/ietf-ftp/yang/rfcmod/ietf-interfaces@2018-02-20.yang
# read /a/www/ietf-datatracker/7.24.0/env/share/yang/modules/ietf/ietf-yang-types.yang
# read /a/www/ietf-ftp/yang/catalogmod/ietf-yang-types@2020-07-06.yang
# read /a/www/ietf-datatracker/7.24.0/env/share/yang/modules/ietf/ietf-routing.yang
# read /a/www/ietf-ftp/yang/rfcmod/ietf-routing@2018-03-13.yang
# read /a/www/ietf-datatracker/7.24.0/env/share/yang/modules/ietf/ietf-ipv4-unicast-routing.yang
# read /a/www/ietf-ftp/yang/rfcmod/ietf-ipv4-unicast-routing@2018-03-13.yang
# read /a/www/ietf-datatracker/7.24.0/env/share/yang/modules/ietf/ietf-ipv6-unicast-routing.yang
# read /a/www/ietf-ftp/yang/rfcmod/ietf-ipv6-unicast-routing@2018-03-13.yang
# read /a/www/ietf-datatracker/7.24.0/env/share/yang/modules/ietf/ietf-ipv6-router-advertisements.yang
# read /a/www/ietf-ftp/yang/rfcmod/ietf-ipv6-router-advertisements@2018-03-13.yang
# read /a/www/ietf-datatracker/7.24.0/env/share/yang/modules/ietf/ietf-ip.yang
# read /a/www/ietf-ftp/yang/rfcmod/ietf-ip@2018-02-22.yang
yanglint SO 1.6.7: yanglint --verbose -p {tmplib} -p {rfclib} -p {draftlib} -p {ianalib} -p {cataloglib} {model} -i:
No validation errors
|
|
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 A. Lindem
Internet-Draft Cisco Systems
Intended status: Standards Track Y. Qu
Expires: March 22, 2021 Futurewei
September 18, 2020
RIB YANG Data Model
draft-ietf-rtgwg-yang-rib-extend-05
Abstract
The Routing Information Base (RIB) is a list of routes and their
corresponding administrative data and operational state.
RFC 8349 defines the basic building blocks for RIB, and this model
augments it to support multiple next-hops (aka, paths) for each route
as well as additional attributes.
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 March 22, 2021.
Copyright Notice
Copyright (c) 2020 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
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
Lindem & Qu Expires March 22, 2021 [Page 1]
Internet-Draft YANG RIB September 2020
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2
2. Terminology and Notation . . . . . . . . . . . . . . . . . . 3
2.1. Glossary of New Terms . . . . . . . . . . . . . . . . . . 4
2.2. Tree Diagrams . . . . . . . . . . . . . . . . . . . . . . 4
2.3. Prefixes in Data Node Names . . . . . . . . . . . . . . . 4
3. Design of the Model . . . . . . . . . . . . . . . . . . . . . 4
3.1. RIB Tags and Preference . . . . . . . . . . . . . . . . . 5
3.2. Multiple next-hops . . . . . . . . . . . . . . . . . . . 5
3.3. Repair path . . . . . . . . . . . . . . . . . . . . . . . 5
4. RIB Model Tree . . . . . . . . . . . . . . . . . . . . . . . 5
5. RIB YANG Model . . . . . . . . . . . . . . . . . . . . . . . 6
6. Security Considerations . . . . . . . . . . . . . . . . . . . 14
7. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 14
8. References . . . . . . . . . . . . . . . . . . . . . . . . . 15
8.1. Normative References . . . . . . . . . . . . . . . . . . 15
8.2. Informative References . . . . . . . . . . . . . . . . . 16
Appendix A. Combined Tree Diagram . . . . . . . . . . . . . . . 16
Appendix B. ietf-rib-extension.yang example . . . . . . . . . . 20
Appendix C. Acknowledgments . . . . . . . . . . . . . . . . . . 22
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 22
1. Introduction
This document defines a YANG, [RFC6020][RFC7950], data model which
extends the generic data model for RIB by augmenting the ietf-routing
model as defined in [RFC8349].
RIB is a collection of best routes from all routing protocols.
Within a protocol routes are selected based on the metrics in use by
that protocol, and the protocol install its best routes to RIB. RIB
selects the best route by comparing the route preference (aka,
administrative distance) of the associated protocol.
The augmentations described herein extend the RIB to support multiple
paths per route, route metrics, and administrative tags.
The YANG modules in this document conform to the Network Management
Datastore Architecture (NMDA) [RFC8342].
Lindem & Qu Expires March 22, 2021 [Page 2]
Internet-Draft YANG RIB September 2020
2. Terminology and Notation
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
"OPTIONAL" in this document are to be interpreted as described in BCP
Show full document text