datatracker.ietf.org
Sign in
Version 5.4.0, 2014-04-22
Report a bug

Common YANG Data Types
RFC 6021

Internet Engineering Task Force (IETF)             J. Schoenwaelder, Ed.
Request for Comments: 6021                             Jacobs University
Category: Standards Track                                   October 2010
ISSN: 2070-1721

                         Common YANG Data Types

Abstract

   This document introduces a collection of common data types to be used
   with the YANG data modeling language.

Status of This Memo

   This is an Internet Standards Track document.

   This document is a product of the Internet Engineering Task Force
   (IETF).  It represents the consensus of the IETF community.  It has
   received public review and has been approved for publication by the
   Internet Engineering Steering Group (IESG).  Further information on
   Internet Standards is available in Section 2 of RFC 5741.

   Information about the current status of this document, any errata,
   and how to provide feedback on it may be obtained at
   http://www.rfc-editor.org/info/rfc6021.

Copyright Notice

   Copyright (c) 2010 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.

Schoenwaelder                Standards Track                    [Page 1]
RFC 6021                       YANG-TYPES                   October 2010

   This document may contain material from IETF Documents or IETF
   Contributions published or made publicly available before November
   10, 2008.  The person(s) controlling the copyright in some of this
   material may not have granted the IETF Trust the right to allow
   modifications of such material outside the IETF Standards Process.
   Without obtaining an adequate license from the person(s) controlling
   the copyright in such materials, this document may not be modified
   outside the IETF Standards Process, and derivative works of it may
   not be created outside the IETF Standards Process, except to format
   it for publication as an RFC or to translate it into languages other
   than English.

Table of Contents

   1. Introduction ....................................................2
   2. Overview ........................................................3
   3. Core YANG Derived Types .........................................4
   4. Internet-Specific Derived Types ................................13
   5. IANA Considerations ............................................22
   6. Security Considerations ........................................23
   7. Contributors ...................................................23
   8. Acknowledgments ................................................23
   9. References .....................................................23
      9.1. Normative References ......................................23
      9.2. Informative References ....................................24

1.  Introduction

   YANG [RFC6020] is a data modeling language used to model
   configuration and state data manipulated by the Network Configuration
   Protocol (NETCONF) [RFC4741].  The YANG language supports a small set
   of built-in data types and provides mechanisms to derive other types
   from the built-in types.

   This document introduces a collection of common data types derived
   from the built-in YANG data types.  The definitions are organized in
   several YANG modules.  The "ietf-yang-types" module contains
   generally useful data types.  The "ietf-inet-types" module contains
   definitions that are relevant for the Internet protocol suite.

   The derived types are generally designed to be applicable for
   modeling all areas of management information.

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
   "OPTIONAL" in this document are to be interpreted as described in BCP
   14 [RFC2119].

Schoenwaelder                Standards Track                    [Page 2]
RFC 6021                       YANG-TYPES                   October 2010

2.  Overview

   This section provides a short overview of the types defined in

[include full document text]