YANG data model for SFF
draft-ao-sfc-yang-02

Document Type Active Internet-Draft (individual)
Last updated 2020-02-07
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                                                           R. Chen
Internet-Draft                                           ZTE Corporation
Intended status: Standards Track                         Joel M. Halpern
Expires: August 10, 2020                                        Ericsson
                                                                   T. Ao
                                                              individual
                                                                  W. Wei
                                                         ZTE Corporation
                                                                  X. Liu
                                                          Volta Networks
                                                        February 7, 2020

                        YANG data model for SFF
                          draft-ao-sfc-yang-02

Abstract

   This document is to define the YANG data model for SFF 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 August 10, 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

Chen, et al.             Expires August 10, 2020                [Page 1]
Internet-Draft           YANG data model for SFF           February 2020

   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.  Design tree for SFF YANG data model . . . . . . . . . . . . .   2
   3.  YANG data model for SFF configuration . . . . . . . . . . . .   3
   4.  Security Considerations . . . . . . . . . . . . . . . . . . .   8
   5.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   9
   6.  References  . . . . . . . . . . . . . . . . . . . . . . . . .   9
     6.1.  Normative References  . . . . . . . . . . . . . . . . . .   9
     6.2.  Information References  . . . . . . . . . . . . . . . . .   9
   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 SFF which data plane has
   been defined in [RFC8300].

2.  Design tree for SFF YANG data model

Chen, et al.             Expires August 10, 2020                [Page 2]
Internet-Draft           YANG data model for SFF           February 2020

   module: ietf-sff
     +--rw sff-config
     |  +--rw sfc-enable?   boolean
     |  +--rw sff* [sff-name]
     |  |  +--rw sff-name         string
     |  |  +--rw interface*[interface-id]
     |  |     +--rw interface-id          if:interface-ref
     |--+--rw sfc-sfp* [sfpid service-index]
           +--rw sfpid                   uint32
           +--rw service-index*[ serivice-index]
           |  +--rw serivice-index               uint16
           +--rw sfp-nexthop[nh-node-name]
                 +--rw nh-node-name             sff:sff-name-ref
                 +--rw nh-node-type?            identityref
                 +--sff-nexthop-transport-type  identityref
                 +--(sff-nexthop-transport-type)?
                 |  +--:(ipv4-nexthop)
                 |  |  +--rw remote-ipv4?      inet:ipv4-address
                 |  +--:(ipv6-nexthop)
                 |  |  +--rw remote-ipv6?      inet:ipv6-address
                 |  +--:(mac-nexthop)
                 |  |  +--rw remote-mac?       yang:mac-address
                 |  +--:(vxlan-gpe-nexthop)
                 |     +--rw source-ip?        inet:ipv4-address
                 |     +--rw destination-ip?   inet:ipv4-address
                 |     +--rw vni               uint32
Show full document text