BGP YANG Model for Service Provider Networks
draft-ietf-idr-bgp-model-04

The information below is for an old version of the document
Document Type Active Internet-Draft (idr WG)
Last updated 2019-02-26
Replaces draft-shaikh-idr-bgp-model
Stream IETF
Intended RFC status Proposed Standard
Formats pdf htmlized bibtex
Stream WG state WG Document
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Yes
Telechat date
Responsible AD Alvaro Retana
Send notices to (None)
Interdomain Routing                                             K. Patel
Internet-Draft                                                    Arrcus
Intended status: Standards Track                         M. Jethanandani
Expires: August 29, 2019                                          VMware
                                                                S. Hares
                                                                  Huawei
                                                       February 25, 2019

              BGP YANG Model for Service Provider Networks
                      draft-ietf-idr-bgp-model-04

Abstract

   This document defines a YANG data model for configuring and managing
   BGP, including protocol, policy, and operational aspects based on
   data center, carrier and content provider operational requirements.

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 29, 2019.

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

Patel, et al.            Expires August 29, 2019                [Page 1]
Internet-Draft               BGP YANG Model                February 2019

   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
     1.1.  Goals and approach  . . . . . . . . . . . . . . . . . . .   3
     1.2.  Note to RFC Editor  . . . . . . . . . . . . . . . . . . .   4
   2.  Model overview  . . . . . . . . . . . . . . . . . . . . . . .   4
     2.1.  BGP protocol configuration  . . . . . . . . . . . . . . .   5
     2.2.  Policy configuration overview . . . . . . . . . . . . . .   7
     2.3.  BGP RIB overview  . . . . . . . . . . . . . . . . . . . .   8
       2.3.1.  Local Routing . . . . . . . . . . . . . . . . . . . .  20
       2.3.2.  Pre updates per-neighbor  . . . . . . . . . . . . . .  20
       2.3.3.  Post updates per-neighbor . . . . . . . . . . . . . .  20
       2.3.4.  Pre route advertisements per-neighbor . . . . . . . .  20
       2.3.5.  Post route advertisements per-neighbor  . . . . . . .  20
   3.  Relation to other YANG data models  . . . . . . . . . . . . .  21
   4.  Security Considerations . . . . . . . . . . . . . . . . . . .  21
   5.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  21
     5.1.  URI Registration  . . . . . . . . . . . . . . . . . . . .  21
     5.2.  YANG Module Name Registration . . . . . . . . . . . . . .  22
   6.  YANG modules  . . . . . . . . . . . . . . . . . . . . . . . .  23
   7.  Structure of the YANG modules . . . . . . . . . . . . . . . .  23
     7.1.  Main module and submodules for base items . . . . . . . .  23
     7.2.  BGP types . . . . . . . . . . . . . . . . . . . . . . . .  60
     7.3.  BGP policy data . . . . . . . . . . . . . . . . . . . . .  70
     7.4.  RIB modules . . . . . . . . . . . . . . . . . . . . . . .  81
   8.  Examples  . . . . . . . . . . . . . . . . . . . . . . . . . . 132
     8.1.  Creating BGP Instance . . . . . . . . . . . . . . . . . . 132
     8.2.  Neighbor Address Family Configuration . . . . . . . . . . 133
   9.  Contributors  . . . . . . . . . . . . . . . . . . . . . . . . 135
   10. Acknowledgements  . . . . . . . . . . . . . . . . . . . . . . 135
   11. References  . . . . . . . . . . . . . . . . . . . . . . . . . 135
     11.1.  Normative references . . . . . . . . . . . . . . . . . . 135
     11.2.  Informative references . . . . . . . . . . . . . . . . . 137
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . . 137

1.  Introduction

   This document describes a YANG [RFC7950] data model for the BGP
   [RFC4271] protocol, including various protocol extensions, policy
   configuration, as well as defining key operational state data,
   including Routing Information Base (RIB).  The model is intended to
Show full document text