operation, store, path and data properties added to Data change event model 18/5118/5
authorMartin Bobak <mbobak@cisco.com>
Tue, 4 Feb 2014 13:27:57 +0000 (14:27 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Fri, 7 Feb 2014 06:44:31 +0000 (06:44 +0000)
Change-Id: I0b1c39e23506988528614b33c4a49cf8e00802ea
Signed-off-by: Martin Bobak <mbobak@cisco.com>
opendaylight/md-sal/sal-remote/src/main/yang/opendaylight-md-sal-remote.yang

index cc77af5..d12e252 100644 (file)
@@ -9,8 +9,8 @@ module sal-remote {
     contact "Martin Bobak <mbobak@cisco.com>";
 
     description
-          "This module contains the definition of types related to
-           Internet Assigned Numbers Authority.
+          "This module contains the definition of methods related to
+           sal remote model.
 
            Copyright (c)2013 Cisco Systems, Inc. All rights reserved.
 
@@ -48,8 +48,27 @@ module sal-remote {
 
     notification data-changed-notification {
         description "Data change notification.";
-        leaf data-change-event {
-            type instance-identifier;
+        list data-change-event {
+            key path;
+            leaf path {
+                type instance-identifier;
+            }
+            leaf store {
+                type enumeration {
+                    enum config;
+                    enum operation;
+                }
+            }
+            leaf operation {
+                type enumeration {
+                    enum created;
+                    enum updated;
+                    enum deleted;
+                }
+            }
+            anyxml data{
+                description "DataObject ";
+            }
          }
     }