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.
draft-ietf-rtgwg-policy-model-27.txt:
xym 0.4.10:
Extracting 'ietf-routing-policy@2021-01-10.yang'
Removed 2 empty lines
ietf-routing-policy@2021-01-10.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-routing-policy@2021-01-10.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-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-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-routing.yang
# read /a/www/ietf-ftp/yang/rfcmod/ietf-routing@2018-03-13.yang
# read /a/www/ietf-ftp/yang/draftmod/ietf-if-extensions@2020-07-29.yang
# read /a/www/ietf-ftp/yang/rfcmod/iana-if-type.yang
# read /a/www/ietf-datatracker/7.24.0/env/share/yang/modules/iana/iana-if-type.yang
# read /a/www/ietf-ftp/yang/ianamod/iana-if-type@2020-08-27.yang
# read /a/www/ietf-ftp/yang/catalogmod/ietf-if-flexible-encapsulation@2020-07-13.yang
# read /a/www/ietf-ftp/yang/catalogmod/ieee802-dot1q-types@2018-03-07.yang
yanglint SO 1.6.7: yanglint --verbose -p {tmplib} -p {rfclib} -p {draftlib} -p {ianalib} -p {cataloglib} {model} -i:
warn: Module's revisions are not unique (2018-06-28).
|
|
Reviews |
|
|
|
Additional Resources |
|
|
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