A YANG Data Model for Routing Policy Management
draft-ietf-rtgwg-policy-model-07
|
Document |
Type |
|
Active Internet-Draft (rtgwg WG)
|
|
Last updated |
|
2019-09-10
|
|
Replaces |
|
draft-shaikh-rtgwg-policy-model
|
|
Stream |
|
IETF
|
|
Intended RFC status |
|
Informational
|
|
Formats |
|
plain text
pdf
htmlized
bibtex
|
|
Yang Validation |
|
☯
4 errors, 2 warnings.
draft-ietf-rtgwg-policy-model-07.txt:
xym 0.4:
Extracting 'ietf-routing-policy@2019-03-06.yang'
Removed 12 empty lines
ietf-routing-policy@2019-03-06.yang:
pyang 2.1: pyang --verbose --ietf -p {libs} {model}:
# read ietf-routing-policy@2019-03-06.yang (CL)
# read /a/www/ietf-datatracker/6.111.0/env/share/yang/modules/ietf/ietf-inet-types.yang
# read /a/www/ietf-ftp/yang/draftmod/ietf-inet-types@2019-11-04.yang
# read /a/www/ietf-datatracker/6.111.0/env/share/yang/modules/ietf/ietf-yang-types.yang
# read /a/www/ietf-ftp/yang/draftmod/ietf-yang-types@2019-11-04.yang
# read /a/www/ietf-datatracker/6.111.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/6.111.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-l3-vlan@2019-11-04.yang
# read /a/www/ietf-ftp/yang/rfcmod/iana-if-type.yang
# read /a/www/ietf-datatracker/6.111.0/env/share/yang/modules/iana/iana-if-type.yang
# read /a/www/ietf-ftp/yang/ianamod/iana-if-type@2019-10-16.yang
# read /a/www/ietf-ftp/yang/draftmod/ietf-if-extensions@2019-11-04.yang
ietf-routing-policy@2019-03-06.yang:23: error: module "ietf-interfaces-common" not found in search path
ietf-routing-policy@2019-03-06.yang:27: warning: imported module "ietf-if-l3-vlan" not used
ietf-routing-policy@2019-03-06.yang:105: warning: RFC 8407: 3.1: The IETF Trust Copyright statement seems to be missing (see pyang --ietf-help for details).
yanglint 0.14.80: yanglint --verbose -p {rfclib} -p {draftlib} -p {tmplib} {model} -i:
err : Data model "ietf-interfaces-common" not found.
err : Importing "ietf-interfaces-common" module into "ietf-routing-policy" failed.
err : Module "ietf-routing-policy" parsing failed.
|
|
Additional URLs |
|
|
Stream |
WG state
|
|
WG Document
|
|
Document shepherd |
|
Jeff Tantsura
|
IESG |
IESG state |
|
I-D Exists
|
|
Consensus Boilerplate |
|
Unknown
|
|
Telechat date |
|
|
|
Responsible AD |
|
(None)
|
|
Send notices to |
|
(None)
|
RTGWG Y. Qu
Internet-Draft Futurewei
Intended status: Standards Track J. Tantsura
Expires: March 13, 2020 Apstra
A. Lindem
Cisco
X. Liu
Volta Networks
September 10, 2019
A YANG Data Model for Routing Policy Management
draft-ietf-rtgwg-policy-model-07
Abstract
This document defines a YANG data model for configuring and managing
routing policies in a vendor-neutral way and based on actual
operational practice. The model provides a generic policy framework
which can be augmented with protocol-specific policy configuration.
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 13, 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
Qu, et al. Expires March 13, 2020 [Page 1]
Internet-Draft Routing Policy Model September 2019
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 . . . . . . . . . . . . . . . 4
3. Model overview . . . . . . . . . . . . . . . . . . . . . . . 5
4. Route policy expression . . . . . . . . . . . . . . . . . . . 5
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. Routing protocol-specific policies . . . . . . . . . . . . . 11
8. Security Considerations . . . . . . . . . . . . . . . . . . . 13
9. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 13
10. YANG modules . . . . . . . . . . . . . . . . . . . . . . . . 14
10.1. Routing policy model . . . . . . . . . . . . . . . . . . 14
11. Policy examples . . . . . . . . . . . . . . . . . . . . . . . 30
12. References . . . . . . . . . . . . . . . . . . . . . . . . . 30
12.1. Normative references . . . . . . . . . . . . . . . . . . 31
12.2. Informative references . . . . . . . . . . . . . . . . . 32
Appendix A. Acknowledgements . . . . . . . . . . . . . . . . . . 32
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 32
1. Introduction
This document describes a YANG [RFC6020] [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, intuitive way in heterogeneous
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 March 13, 2020 [Page 2]
Show full document text