YANG data model for SFC
draft-ao-sfc-yang-01

Document Type Active Internet-Draft (individual)
Last updated 2019-06-04
Stream (None)
Intended RFC status (None)
Formats plain text pdf 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)
SFC WG                                                             T. Ao
Internet-Draft                                                   R. Chen
Intended status: Standards Track                                  W. Wei
Expires: December 5, 2019                                ZTE Corporation
                                                            June 3, 2019

                        YANG data model for SFC
                          draft-ao-sfc-yang-01

Abstract

   This document is to define the YANG data model for SFC 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 December 5, 2019.

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

Ao, et al.              Expires December 5, 2019                [Page 1]
Internet-Draft           YANG data model for SFC               June 2019

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Design tree for SFC YANG data model . . . . . . . . . . . . .   2
   3.  YANG data model for SFC configuration . . . . . . . . . . . .   3
   4.  Security Considerations . . . . . . . . . . . . . . . . . . .   8
   5.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   8
   6.  References  . . . . . . . . . . . . . . . . . . . . . . . . .   8
     6.1.  Normative References  . . . . . . . . . . . . . . . . . .   8
     6.2.  Information References  . . . . . . . . . . . . . . . . .   8
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .   9

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 SFC which data plane has
   been defined in [RFC8300].

2.  Design tree for SFC YANG data model

     module: ietf-sfc
     +--rw sfc-config
     |  +--rw sfc-enable?   boolean
     |  +--rw sfc-domain* [sfc-domain-id]
     |     +--rw sfc-domain-id    uint32
     |     +--rw ipv4-prefix?     inet:ipv4-prefix
     |     +--rw ipv6-prefix?     inet:ipv6-prefix
     |     +--rw sfc-sfp* [sfpid si]
     |        +--rw sfpid                   uint32
     |        +--rw si                      uint16
     |        +--rw metric?                 uint16
     |        +--rw (nexthop-trans-type)?
     |        |  +--:(ipv4-nexthop)
     |        |  |  +--rw nh-node-type?     sfp-nexthop-type
     |        |  |  +--rw remote-ipv4?      inet:ipv4-address
     |        |  +--:(ipv6-nexthop)
     |        |  |  +--rw nh-node-type?     sfp-nexthop-type
     |        |  |  +--rw remote-ipv6?      inet:ipv6-address
     |        |  +--:(mac-nexthops)
     |        |  |  +--rw nh-node-type?     sfp-nexthop-type
     |        |  |  +--rw remote-mac?       yang:mac-address
     |        |  +--:(vxlan-gpe-nexthop)
     |        |     +--rw nh-node-type?     sfp-nexthop-type
     |        |     +--rw remote-ip?        inet:ipv4-address
     |        |     +--rw source-ip?        inet:ipv4-address
     |        |     +--rw destination-ip?   inet:ipv4-address

Ao, et al.              Expires December 5, 2019                [Page 2]
Internet-Draft           YANG data model for SFC               June 2019

     |        |     +--rw vni               uint32
     |        +--rw last-sff                boolean
     +--ro sfc-state
        +--ro sfc-enable?      boolean
        +--ro sfc-domain * [sfc-domain-id]
           +--ro sfc-domain-id               uint32
           +--ro ipv4-prefix?        inet:ipv4-prefix
           +--ro ipv6-prefix?        inet:ipv6-prefix
           +--ro sfc-sfp-state
              +--ro sfc-sfp*[sfpid si]
Show full document text