Common YANG Data Types
RFC 6021
|
Document |
Type |
|
RFC - Proposed Standard
(October 2010; No errata)
|
|
Author |
|
Jürgen Schönwälder
|
|
Last updated |
|
2015-10-14
|
|
Replaces |
|
draft-schoenw-netmod-yang-types
|
|
Stream |
|
IETF
|
|
Formats |
|
plain text
html
pdf
htmlized
bibtex
|
|
Yang Validation |
|
☯
1 errors, 0 warnings.
draft-ietf-netmod-yang-types-09.txt:
xym 0.4:
Extracting 'ietf-yang-types@2010-04-24.yang'
Removed 0 empty lines
Extracting 'ietf-inet-types@2010-04-24.yang'
Removed 0 empty lines
ietf-inet-types@2010-04-24.yang:
pyang 1.7.3: pyang --verbose --ietf -p {libs} {model}:
ietf-inet-types@2010-04-24.yang:320: error: keyword "length" not in canonical order, (See RFC 6020, Section 12)
yanglint 0.14.53: yanglint --verbose -p {rfclib} -p {draftlib} -p {tmplib} {model} -i:
No validation errors
ietf-yang-types@2010-04-24.yang:
pyang 1.7.3: pyang --verbose --ietf -p {libs} {model}:
No validation errors
yanglint 0.14.53: yanglint --verbose -p {rfclib} -p {draftlib} -p {tmplib} {model} -i:
No validation errors
|
|
Reviews |
|
|
|
Additional Resources |
|
|
Stream |
WG state
|
|
(None)
|
|
Document shepherd |
|
No shepherd assigned
|
IESG |
IESG state |
|
RFC 6021 (Proposed Standard)
|
|
Consensus Boilerplate |
|
Unknown
|
|
Telechat date |
|
|
|
Responsible AD |
|
Dan Romascanu
|
|
Send notices to |
|
(None)
|
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
subsequent sections and their equivalent Structure of Management
Information Version 2 (SMIv2) [RFC2578][RFC2579] data types. A YANG
data type is equivalent to an SMIv2 data type if the data types have
the same set of values and the semantics of the values are
equivalent.
Table 1 lists the types defined in the ietf-yang-types YANG module
Show full document text