YANG Data Model for SR Service Programming
draft-jags-spring-sr-service-programming-yang-00
SPRING Working Group J. Rajamanickam
Internet-Draft K. Raza
Intended status: Standards Track Cisco Systems
Expires: May 6, 2021
D. Bernier
Bell Canada
November 2, 2020
YANG Data Model for SR Service Programming
draft-jags-spring-sr-service-programming-yang-00
Abstract
This document describes a YANG data model for Segment Routing (SR)
Service Programming. The model serves as a base framework for
configuring and managing an SR based service programming.
Additionally, this document specifies the model for a Service Proxy
for SR-unaware services.
The YANG modules in this document conform to the Network Management
Datastore Architecture (NMDA).
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 May 6, 2021.
Copyright Notice
Copyright (c) 2020 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
Rajamanickam, et al. Expires May 6, 2021 [Page 1]
Internet-Draft YANG Data Model for SR Service Programming November 2020
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
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2
2. Specification of Requirements . . . . . . . . . . . . . . . . 3
3. YANG Model . . . . . . . . . . . . . . . . . . . . . . . . . 4
3.1. Overview . . . . . . . . . . . . . . . . . . . . . . . . 4
3.2. Service Function Types . . . . . . . . . . . . . . . . . 4
3.3. SR Service Programming Types . . . . . . . . . . . . . . 5
3.4. SR Service Programming Base . . . . . . . . . . . . . . . 5
3.4.1. Configuration . . . . . . . . . . . . . . . . . . . . 5
3.4.2. Operational State . . . . . . . . . . . . . . . . . . 6
3.4.3. Notification . . . . . . . . . . . . . . . . . . . . 7
3.5. SR Service Proxy . . . . . . . . . . . . . . . . . . . . 7
3.5.1. Static Proxy . . . . . . . . . . . . . . . . . . . . 8
3.5.2. Dynamic Proxy . . . . . . . . . . . . . . . . . . . . 9
3.5.3. Masquerading Proxy . . . . . . . . . . . . . . . . . 10
4. YANG Specification . . . . . . . . . . . . . . . . . . . . . 11
4.1. Service Types . . . . . . . . . . . . . . . . . . . . . . 11
4.2. SR Service Programming Types . . . . . . . . . . . . . . 13
4.3. SR Service Programming Base . . . . . . . . . . . . . . . 17
4.4. SR Service Proxy . . . . . . . . . . . . . . . . . . . . 23
5. Security Considerations . . . . . . . . . . . . . . . . . . . 28
6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 29
7. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 30
8. Normative References . . . . . . . . . . . . . . . . . . . . 30
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 32
1. Introduction
The Network Configuration Protocol (NETCONF) [RFC6241] is one of the
network management protocols that defines mechanisms to manage
network devices. YANG [RFC6020] is a modular language that
represents data structures in an XML tree format, and is used as a
data modeling language for the NETCONF.
Segment Routing is an architecture based on the source routing
paradigm that seeks the right balance between distributed
intelligence and centralized programmability. SR can be used with an
MPLS or an IPv6 data plane to steer packets through an ordered list
of instructions, called segments. These segments may encode simple
Show full document text