A YANG Data Model for Routing Policy
draft-ietf-rtgwg-policy-model-27

Document Type Active Internet-Draft (rtgwg WG)
Authors Yingzhen Qu  , Jeff Tantsura  , Acee Lindem  , Xufeng Liu 
Last updated 2021-01-11 (latest revision 2021-01-10)
Replaces draft-shaikh-rtgwg-policy-model
Stream IETF
Intended RFC status Proposed Standard
Formats plain text pdf htmlized (tools) htmlized bibtex
Yang Validation 0 errors, 1 warnings.
Reviews
Additional Resources
- Yang catalog entry for ietf-routing-policy@2020-10-05.yang
- Yang impact analysis for draft-ietf-rtgwg-policy-model
- Mailing list discussion
Stream WG state Submitted to IESG for Publication
Document shepherd Chris Bowers
Shepherd write-up Show (last changed 2021-01-11)
IESG IESG state Publication Requested
Consensus Boilerplate Yes
Telechat date
Responsible AD Martin Vigoureux
Send notices to Chris Bowers <chrisbowers.ietf@gmail.com>
RTGWG                                                              Y. Qu
Internet-Draft                                                 Futurewei
Intended status: Standards Track                             J. Tantsura
Expires: July 14, 2021                                            Apstra
                                                               A. Lindem
                                                                   Cisco
                                                                  X. Liu
                                                          Volta Networks
                                                        January 10, 2021

                  A YANG Data Model for Routing Policy
                    draft-ietf-rtgwg-policy-model-27

Abstract

   This document defines a YANG data model for configuring and managing
   routing policies in a vendor-neutral way.  The model provides a
   generic routing policy framework which can be extended for specific
   routing protocols using the YANG 'augment' mechanism.

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 July 14, 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
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect

Qu, et al.                Expires July 14, 2021                 [Page 1]
Internet-Draft            Routing Policy Model              January 2021

   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.  Goals and approach  . . . . . . . . . . . . . . . . . . .   3
   2.  Terminology and Notation  . . . . . . . . . . . . . . . . . .   3
     2.1.  Tree Diagrams . . . . . . . . . . . . . . . . . . . . . .   4
     2.2.  Prefixes in Data Node Names . . . . . . . . . . . . . . .   5
   3.  Model overview  . . . . . . . . . . . . . . . . . . . . . . .   5
   4.  Route policy expression . . . . . . . . . . . . . . . . . . .   6
     4.1.  Defined sets for policy matching  . . . . . . . . . . . .   6
     4.2.  Policy conditions . . . . . . . . . . . . . . . . . . . .   7
     4.3.  Policy actions  . . . . . . . . . . . . . . . . . . . . .   8
     4.4.  Policy subroutines  . . . . . . . . . . . . . . . . . . .   9
   5.  Policy evaluation . . . . . . . . . . . . . . . . . . . . . .  10
   6.  Applying routing policy . . . . . . . . . . . . . . . . . . .  10
   7.  Security Considerations . . . . . . . . . . . . . . . . . . .  11
   8.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  12
   9.  YANG module . . . . . . . . . . . . . . . . . . . . . . . . .  12
     9.1.  Routing policy model  . . . . . . . . . . . . . . . . . .  12
   10. Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .  33
   11. References  . . . . . . . . . . . . . . . . . . . . . . . . .  34
     11.1.  Normative references . . . . . . . . . . . . . . . . . .  34
     11.2.  Informative references . . . . . . . . . . . . . . . . .  36
   Appendix A.  Routing protocol-specific policies . . . . . . . . .  36
   Appendix B.  Policy examples  . . . . . . . . . . . . . . . . . .  39
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  41

1.  Introduction

   This document describes a YANG [RFC7950] data model for routing
   policy configuration based on operational usage and best practices in
   a variety of service provider networks.  The model is intended to be
   vendor-neutral, in order to allow operators to manage policy
   configuration in a consistent way in environments with routers
   supplied by multiple vendors.

   The YANG modules in this document conform to the Network Management
   Datastore Architecture (NMDA) [RFC8342].

Qu, et al.                Expires July 14, 2021                 [Page 2]
Internet-Draft            Routing Policy Model              January 2021
Show full document text