YANG extension Statements for formulae modeling

Document Type Expired Internet-Draft (individual)
Last updated 2018-04-19 (latest revision 2017-09-12)
Stream (None)
Intended RFC status (None)
Expired & archived
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 Expired
Telechat date
Responsible AD (None)
Send notices to (None)

This Internet-Draft is no longer active. A copy of the expired Internet-Draft can be found at


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.


Sudhanshu Srivastav (sk.srivastav@samsung.com)

(Note: The e-mail addresses provided for the authors of this Internet-Draft may no longer be valid.)