A YANG Data Model for Routing Configuration
draft-ietf-netmod-routing-cfg-02

The information below is for an old version of the document
Document Type Active Internet-Draft (netmod WG)
Last updated 2012-02-20 (latest revision 2011-09-23)
Replaces draft-lhotka-netmod-routing-cfg
Stream IETF
Intended RFC status (None)
Formats plain text pdf html bibtex
Stream WG state WG Document
Document shepherd None
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
NETMOD                                                         L. Lhotka
Internet-Draft                                                    CZ.NIC
Intended status: Standards Track                       February 20, 2012
Expires: August 23, 2012

              A YANG Data Model for Routing Configuration
                    draft-ietf-netmod-routing-cfg-02

Abstract

   This document contains a specification of four YANG modules.
   Together they form the core routing data model which serves as a
   basis for configuring a routing subsystem.  It is therefore expected
   that this module will be augmented by additional YANG modules
   defining data models for individual routing protocols and other
   related functions.  The core routing data model provides common
   building blocks for such configurations - router instances, routes,
   routing tables, routing protocols and route filters.

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 http://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 23, 2012.

Copyright Notice

   Copyright (c) 2012 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
   (http://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

Lhotka                   Expires August 23, 2012                [Page 1]
Internet-Draft         YANG Routing Configuration          February 2012

   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 . . . . . . . . . . . . . . . . . . . . . . . . .  3
   2.  Terminology and Notation . . . . . . . . . . . . . . . . . . .  4
     2.1.  Glossary of New Terms  . . . . . . . . . . . . . . . . . .  4
     2.2.  Prefixes in Data Node Names  . . . . . . . . . . . . . . .  5
   3.  Objectives . . . . . . . . . . . . . . . . . . . . . . . . . .  6
   4.  The Design of the Core Routing Data Model  . . . . . . . . . .  7
     4.1.  Router . . . . . . . . . . . . . . . . . . . . . . . . . . 10
       4.1.1.  Configuration of IPv6 Router Interfaces  . . . . . . . 10
     4.2.  Route  . . . . . . . . . . . . . . . . . . . . . . . . . . 11
     4.3.  Routing Tables . . . . . . . . . . . . . . . . . . . . . . 12
     4.4.  Routing Protocols  . . . . . . . . . . . . . . . . . . . . 13
       4.4.1.  Defining New Routing Protocols . . . . . . . . . . . . 14
     4.5.  Route Filters  . . . . . . . . . . . . . . . . . . . . . . 17
     4.6.  RPC Operation  . . . . . . . . . . . . . . . . . . . . . . 18
   5.  IANA AFN and SAFI YANG Module  . . . . . . . . . . . . . . . . 19
   6.  Routing YANG Module  . . . . . . . . . . . . . . . . . . . . . 27
   7.  IPv4 Unicast Routing YANG Module . . . . . . . . . . . . . . . 37
   8.  IPv6 Unicast Routing YANG Module . . . . . . . . . . . . . . . 41
   9.  IANA Considerations  . . . . . . . . . . . . . . . . . . . . . 49
   10. Security Considerations  . . . . . . . . . . . . . . . . . . . 51
   11. Acknowledgments  . . . . . . . . . . . . . . . . . . . . . . . 52
   12. References . . . . . . . . . . . . . . . . . . . . . . . . . . 53
     12.1. Normative References . . . . . . . . . . . . . . . . . . . 53
     12.2. Informative References . . . . . . . . . . . . . . . . . . 53
   Appendix A.  Example: Adding a New Routing Protocol  . . . . . . . 54
   Appendix B.  Example: Reply to the NETCONF <get> Message . . . . . 57
   Appendix C.  Change Log  . . . . . . . . . . . . . . . . . . . . . 63
     C.1.  Changes Between Versions -01 and -02 . . . . . . . . . . . 63
     C.2.  Changes Between Versions -00 and -01 . . . . . . . . . . . 63
   Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 64

Lhotka                   Expires August 23, 2012                [Page 2]
Internet-Draft         YANG Routing Configuration          February 2012
Show full document text