YANG data model for shorter srv6
draft-chen-shorter-srv6-yang-00

Document Type Active Internet-Draft (individual)
Last updated 2020-04-02
Stream (None)
Intended RFC status (None)
Formats plain text pdf htmlized (tools) htmlized bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
SPRING WG                                                        R. Chen
Internet-Draft                                                   D. Zhao
Intended status: Standards Track                         ZTE Corporation
Expires: October 2, 2020                                  March 31, 2020

                    YANG data model for shorter srv6
                    draft-chen-shorter-srv6-yang-00

Abstract

   This document is to define the YANG data model for shorter srv6(
   Compressing SRv6 ).

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 October 2, 2020.

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
   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.

Chen & Zhao              Expires October 2, 2020                [Page 1]
Internet-Draft      YANG data model for shorter srv6          March 2020

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Shorter SRv6 Types  . . . . . . . . . . . . . . . . . . . . .   2
   3.  Configuration . . . . . . . . . . . . . . . . . . . . . . . .   2
     3.1.  Shorter SRv6 base . . . . . . . . . . . . . . . . . . . .   2
     3.2.  Shorter SRv6 Static . . . . . . . . . . . . . . . . . . .   3
   4.  YANG Module . . . . . . . . . . . . . . . . . . . . . . . . .   6
     4.1.  Shorter SRv6 type . . . . . . . . . . . . . . . . . . . .   6
     4.2.  Shorter SRv6 Base . . . . . . . . . . . . . . . . . . . .  10
     4.3.  Shorter SRv6 Static . . . . . . . . . . . . . . . . . . .  12
   5.  Security Considerations . . . . . . . . . . . . . . . . . . .  22
   6.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  22
   7.  Normative References  . . . . . . . . . . . . . . . . . . . .  22
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  23

1.  Introduction

   YANG[RFC6020]is a data definition language that was introduced to
   define the contents of a conceptual data store that allows networked
   devices to be managed using NETCONF [RFC6241].  This document defines
   a YANG data model for the configuration of shorter srv6.

   [I-D.mirsky-6man-unified-id-sr] proposed an extension of SRH that
   enables the use of a shorter segment identifier, such as 32-bits
   Label format SID or 32-bits IP address format SID.

   [I-D.raza-spring-srv6-yang]introduces a YANG data model for base SRv6
   and SRv6 Static application.

   This document is to define the YANG data model for shorter srv6(
   Compressing SRv6 )

2.  Shorter SRv6 Types

   The Shorter-SRv6-Types augment "ietf-srv6-types"
   [I-D.raza-spring-srv6-yang], and defines new srv6-endpoint-type: SRv6
   Endpoint behaviors identity type.

3.  Configuration

3.1.  Shorter SRv6 base

   The Shorter-SRv6-base configuration augments the SRv6-base locator
   tree [I-D.raza-spring-srv6-yang]"/rt:routing/rt:srv6", and defines
   new Parameters.

Chen & Zhao              Expires October 2, 2020                [Page 2]
Internet-Draft      YANG data model for shorter srv6          March 2020

   Following is a simplified graphical tree representation of the data
   model for Shorter SRv6 base configuration.

     module: ietf-shorter-srv6-base
           augment /rt:routing/rt:srv6:
            +--rw shorter-srv6
               +--rw node-capabilities
                      +--rw UET-support?             enumeration

       augment /rt:routing/rt:srv6/rt:locators/rt:locator/rt:prefix:
            +--rw lb-length     srv6-types:srv6-lb-len

3.2.  Shorter SRv6 Static

   The Shorter-SRv6-Static configuration augments the SRv6-base locator
   tree "/rt:routing/srv6:srv6/srv6:locators/srv6:locator/rt:prefix:",
   and defines new Parameters.

   Following is a simplified graphical tree representation of the data
Show full document text