From: Tony Tkacik Date: Mon, 4 Apr 2016 14:43:08 +0000 (+0200) Subject: Added initial analysis of YANG 1.1 in context of MD-SAL. X-Git-Tag: release/boron~132 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=dbb9f2fbb281a2b0142dc7c074569c8e80c058c0;p=mdsal.git Added initial analysis of YANG 1.1 in context of MD-SAL. Change-Id: I21d84c4e58393e05fa677e6560a0042ace4e5aa1 Signed-off-by: Tony Tkacik --- diff --git a/docs/design/yang-1-1.adoc b/docs/design/yang-1-1.adoc new file mode 100644 index 0000000000..25e08e94bb --- /dev/null +++ b/docs/design/yang-1-1.adoc @@ -0,0 +1,25 @@ += MD-SAL Support for YANG 1.1 +Tony Tkacik +:toc: +:rfc6020: https://tools.ietf.org/html/rfc6020 +:rfc6020bis: https://tools.ietf.org/html/draft-ietf-netmod-rfc6020bis + +== Introduction + +=== Significant changes that affects MD-SAL DOM + +- Added a new statement `action` that is used to define operations + tied to data nodes. +- Allow notifications to be tied to data nodes. + +== `action` Keyword + +.Definition from link::{rfc6020bis}[YANG 1.1] +The "action" statement is used to define an operation connected to a +specific container or list data node. It takes one argument, which +is an identifier, followed by a block of substatements that holds +detailed action information. The argument is the name of the action. + +`action` is conceptually same as *Routed RPC* in the context of the MD-SAL, which +we used to model an RPC (action) connected to specific container or list data node. +Since MD-SAL does not