YANG Data Node Self Explanation Tags
draft-tao-netmod-yang-node-tags-00

Document Type Active Internet-Draft (individual)
Last updated 2019-11-03
Stream (None)
Intended RFC status (None)
Formats plain text xml pdf htmlized bibtex
Yang Validation 0 errors, 3 warnings.
Additional URLs
- Yang catalog entry for ietf-data-node-tags@2019-05-03.yang
- Yang impact analysis for draft-tao-netmod-yang-node-tags
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)
NETMOD Working Group                                              R. Tao
Internet-Draft                                                     Q. Wu
Intended status: Standards Track                                  Huawei
Expires: May 5, 2020                                    November 2, 2019

                  YANG Data Node Self Explanation Tags
                   draft-tao-netmod-yang-node-tags-00

Abstract

   This document defines a method to tag data node associated with
   telemetry data in YANG Modules.  This YANG data node tagging method
   can be used to filter queries of operational state on a server during
   a "pub/sub" service for YANG datastore updates when the state of all
   subscriptions of a particular Subscriber to be fetched is huge, so
   that the amount of data to be streamed out to the destination can be
   greatly reduced.

   An extension statement to be used to indicate YANG data node tags
   that SHOULD be added by the module implementation automatically(i.e.,
   outside of configuration).

   A YANG module [RFC7950] is defined, which augment Module tag model
   and provides a list of data node entries to allow for adding or
   removing of data node tags as well as viewing the set of tags
   associated with a YANG module.

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 May 5, 2020.

Tao & Wu                   Expires May 5, 2020                  [Page 1]
Internet-Draft            Self Explanation Tags            November 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.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
     1.1.  Use cases for Data Node tags  . . . . . . . . . . . . . .   3
     1.2.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   4
   2.  Data Node Tag Values  . . . . . . . . . . . . . . . . . . . .   4
     2.1.  IETF Tags Prefix  . . . . . . . . . . . . . . . . . . . .   4
     2.2.  Vendor Tags Prefix  . . . . . . . . . . . . . . . . . . .   4
     2.3.  User Tags Prefix  . . . . . . . . . . . . . . . . . . . .   5
     2.4.  Reserved Tags Prefix  . . . . . . . . . . . . . . . . . .   5
   3.  Data Node Tag Management  . . . . . . . . . . . . . . . . . .   5
     3.1.  Module Design Tagging . . . . . . . . . . . . . . . . . .   5
     3.2.  Implementation Tagging  . . . . . . . . . . . . . . . . .   5
     3.3.  User Tagging  . . . . . . . . . . . . . . . . . . . . . .   5
   4.  Tags Module Structure . . . . . . . . . . . . . . . . . . . .   6
     4.1.  Tags Module Tree  . . . . . . . . . . . . . . . . . . . .   6
   5.  YANG Module . . . . . . . . . . . . . . . . . . . . . . . . .   6
   6.  Guidelines to Model Writers . . . . . . . . . . . . . . . . .   9
     6.1.  Define Standard Tags  . . . . . . . . . . . . . . . . . .   9
   7.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   9
     7.1.  YANG Data Node Tag Prefixes Registry  . . . . . . . . . .   9
     7.2.  IETF YANG Data Node Tags Registry . . . . . . . . . . . .  10
     7.3.  Updates to the IETF XML Registry  . . . . . . . . . . . .  11
     7.4.  Updates to the YANG Module Names Registry . . . . . . . .  11
   8.  Security Considerations . . . . . . . . . . . . . . . . . . .  12
   9.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  12
     9.1.  Normative References  . . . . . . . . . . . . . . . . . .  12
     9.2.  Informative References  . . . . . . . . . . . . . . . . .  13
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  13

Tao & Wu                   Expires May 5, 2020                  [Page 2]
Internet-Draft            Self Explanation Tags            November 2019

1.  Introduction
Show full document text