Added initial analysis of YANG 1.1 in context of MD-SAL.
[mdsal.git] / docs / design / yang-1-1.adoc
1 = MD-SAL Support for YANG 1.1
2 Tony Tkacik <ttkacik@cisco.com>
3 :toc:
4 :rfc6020: https://tools.ietf.org/html/rfc6020
5 :rfc6020bis: https://tools.ietf.org/html/draft-ietf-netmod-rfc6020bis
6
7 == Introduction
8
9 === Significant changes that affects MD-SAL DOM
10
11 -  Added a new statement `action` that is used to define operations
12    tied to data nodes.
13 -  Allow notifications to be tied to data nodes.
14
15 == `action` Keyword
16
17 .Definition from link::{rfc6020bis}[YANG 1.1]
18 The "action" statement is used to define an operation connected to a
19 specific container or list data node.  It takes one argument, which
20 is an identifier, followed by a block of substatements that holds
21 detailed action information.  The argument is the name of the action.
22
23 `action` is conceptually same as *Routed RPC* in the context of the MD-SAL, which
24 we used to model an RPC (action) connected to specific container or list data node.
25 Since MD-SAL does not