YANG Data Model for PW Protocol
draft-chen-pals-pw-yang-02

Document Type Active Internet-Draft (individual)
Last updated 2017-05-09
Stream (None)
Intended RFC status (None)
Formats plain text pdf html bibtex
Yang Validation 0 errors, 0 warnings.
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)
PALS WG                                                        Ran. Chen
Internet-Draft                                               Fangwei. Hu
Intended status: Standards Track                         ZTE Corporation
Expires: November 10, 2017                                   May 9, 2017

                    YANG Data Model for PW Protocol
                     draft-chen-pals-pw-yang-02.txt

Abstract

   This document defines a YANG data model for PW configuration and
   operation.

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 http://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 November 10, 2017.

Copyright Notice

   Copyright (c) 2017 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
   (http://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 & Hu               Expires November 10, 2017               [Page 1]
Internet-Draft                   PW YANG                        May 2017

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  SS-PW . . . . . . . . . . . . . . . . . . . . . . . . . . . .   2
   3.  MS-PW . . . . . . . . . . . . . . . . . . . . . . . . . . . .   2
   4.  Design of the Data Model  . . . . . . . . . . . . . . . . . .   3
   5.  PW YANG Data Model  . . . . . . . . . . . . . . . . . . . . .   4
   6.  Security Considerations . . . . . . . . . . . . . . . . . . .  15
   7.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .  15
   8.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  15
   9.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  15
     9.1.  Normative references  . . . . . . . . . . . . . . . . . .  15
     9.2.  Informative references  . . . . . . . . . . . . . . . . .  15
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  16

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]) YANG ([RFC6020])is a
   modular language that represents data structures in an XML or JSON
   tree format, and is used as a data modeling language for the NETCONF.

   This document defines a YANG data model for PW configuration and
   operation.  It includes point-to-point SS-PWs and MS-PWs that are
   signaled via LDP, and also for static provisioned (MPLS-TP) SS-PWs
   and MS-PWs.

2.  SS-PW

   This container defines all the configuration parameters related to
   ss-pw.

   It includes pw name, peer ip, tunnel parameters, pw-type, parameters
   associated with interface, parameters associated with LDP pw and
   parameters associated with static pw.

3.  MS-PW

   This container defines all the configuration parameters related to
   ms-pw.

   It includes ms-pw name, list of pw-segment-a and list of pw-segment-
   z.

Chen & Hu               Expires November 10, 2017               [Page 2]
Internet-Draft                   PW YANG                        May 2017

4.  Design of the Data Model

     module: ietf-pw
       +--rw pwe3
          +--rw ss-pw
          |  +--rw ss-pw* [name]
          |     +--rw name                    string
          |     +--rw peer-ip?                inet:ip-address
          |     +--rw cw-capable?             cw-capable-type
          |     +--rw type?                   pw-type
          |     +--rw tunnel* [tunnel-id]
          |     |  +--rw tunnel-id    string
          |     +--rw leaf-type?              pw-type
          |     +--rw autodiscovery-enable?   boolean
Show full document text