RIB YANG Data Model
draft-ietf-rtgwg-yang-rib-extend-02

Document Type Active Internet-Draft (rtgwg WG)
Last updated 2019-09-08
Replaces draft-acee-rtgwg-yang-rib-extend
Stream IETF
Intended RFC status (None)
Formats plain text pdf htmlized bibtex
Yang Validation 0 errors, 0 warnings.
Additional URLs
- Yang catalog entry for ietf-rib-extension@2019-03-11.yang
- Yang impact analysis for draft-ietf-rtgwg-yang-rib-extend
- Mailing list discussion
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 11, 2020                                           Huawei
                                                       September 8, 2019

                          RIB YANG Data Model
                  draft-ietf-rtgwg-yang-rib-extend-02

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 11, 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
   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 11, 2020                 [Page 1]
Internet-Draft                  YANG RIB                  September 2019

   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  . . . . . . . . . . . . . . . . . . . . . . .   7
   6.  Security Considerations . . . . . . . . . . . . . . . . . . .  14
   7.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  15
   8.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  15
     8.1.  Normative References  . . . . . . . . . . . . . . . . . .  15
     8.2.  Informative References  . . . . . . . . . . . . . . . . .  17
   Appendix A.  Combined Tree Diagram  . . . . . . . . . . . . . . .  17
   Appendix B.  ietf-rib-extension.yang examples . . . . . . . . . .  20
   Appendix C.  Acknowledgments  . . . . . . . . . . . . . . . . . .  20
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  20

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 11, 2020                 [Page 2]
Internet-Draft                  YANG RIB                  September 2019

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