YANG extension Statements for formulae modeling
draft-srivastav-netmod-formulae-00

Document Type Active Internet-Draft (individual)
Last updated 2017-09-12
Stream (None)
Intended RFC status (None)
Formats plain text pdf html bibtex
Yang Validation 0 errors, 0 warnings.
Additional URLs
- Yang catalog entry for ietf-math-types@2017-09-12.yang
- Yang impact analysis for draft-srivastav-netmod-formulae
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)
Network Working Group                                      S.K.Srivastav
Internet-Draft                                            September 2017
Intended status: Standards Track
Expires: March 2018

            YANG extension Statements for formulae modeling
                    draft-srivastav-netmod-formulae-00

Abstract

   Operational data can be divided into multiple categories like i)
   state data, ii) raw performance counter, iii) Derived/calculated
   Counters by arithmetic operation on raw performance counters also
   referred as KPIs. Existing YANG built-in-types only define the way to
   model the state data and raw performance counters but have no
   provision for modelling derived performance counters representing an
   equivalent of a simple mathematical formula.

   This document define extensions for the modeling language YANG as new
   language statements, which introduce a method to model KPIs aka
   mathematical expression in YANG data modeling language and describes
   the syntax and semantics of newly added .

   As KPIs require limited number of mathematical operations viz. +, /,
   -, *,minimum, maximum, summation are needed. Hence, +, /, -,
   *,minimum, maximum, summation are needed. Hence, our proposal is to
   enhance YANG to support formula based nodes for these basic
   arithmetic operations. YANG is enhanced to model KPI formulae with
   basic arithmetic operations.

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 http://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."

 

Srivastav, et al.           Standards Track                     [Page 1]

Internet-Draft                                            September 2017

Copyright Notice

   Copyright (c) 2017 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 3.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

 

Srivastav, et al.           Standards Track                     [Page 2]

Internet-Draft                                            September 2017

Table of Contents

   1.  Introduction and overview . . . . . . . . . . . . . . . . . .  5
   2.  NETCONF Enhancement. . . . . . . . . . . . . . . . . . . . . . 5
   3.  MATH types Statements. . . . . . . . . . . . . . . . . . . . . 5
       3.1.  The "mt:math" Statement . . . . . . . .  . . . . . . . . 5
             3.1.1.  The mt:math's Substatements. . . . . . . . . . . 5
       3.2.  The "mt:addition " Statement. . . . . . . . . . . . . . .6
             3.2.1.  The mt:addition 's Substatements. . . . . . . . .6
             3.2.2.  The mt:addend Statements. . . . . . . . . . . . .6
                     3.2.2.1   The mt:addend Substatements. . . .  . .6
       3.3.  The "mt:subtraction" Statement. . . . . . . . . . . . . .6
             3.3.1.  The mt:subtraction's Substatements. .. . . . . . 7
             3.3.2.  The "mt:minuend" Statement. . . . . . . . . . . .7
                     3.3.2.1  The "mt:minuend" Substatements . . . . .7
             3.3.3.  The "mt:subtrahend" Statement. .  . . . . . . . .7
                     3.3.3.1  mt:subtrahend Substatements. . . . . . .7
       3.4.  The "mt:multiplication" Statement. . . . . . . . . . . . 8
             3.4.1.  The mt:multiplication's Substatements . . . . . .8
             3.4.2.  The "mt:multiplier" Statement. . . . . . . . . . 8
                     3.4.2.1. mt:multiplier Substatements. . . . . . .8
       3.5.  The "mt:division" Statement. . . . . . . .  . . . . . . .9
             3.5.1.  The mt:division's Substatements. . . . . . . . . 9
             3.5.2.  The "mt:dividend" Statement. . . . . . . . . . . 9
                     3.5.2.1. mt:dividend Substatements. . . . . . . .9
             3.5.3.  The "mt:divisor" Statement. . . . . . . .  . . . 9
Show full document text