Fixed discard-changes for mdsal netconf, mapping code cleanup.
[controller.git] / opendaylight / md-sal / model / model-flow-service / src / main / yang / flow-capable-transaction.yang
index 1c675f015dfd4a4964214bb289c4b765a05b1846..160291cf21a3f494daa221bb961290a35687127a 100644 (file)
@@ -1,17 +1,17 @@
 module flow-capable-transaction {
-       namespace "urn:opendaylight:flow:transaction";
+    namespace "urn:opendaylight:flow:transaction";
     prefix type;
 
     import opendaylight-inventory {prefix inv; revision-date "2013-08-19";}
     import ietf-inet-types {prefix inet; revision-date "2010-09-24";}
     import yang-ext {prefix ext; revision-date "2013-07-09";}
-    
+
     revision "2013-11-03" {
         description "Initial revision";
     }
 
     typedef transaction-id {
-       type uint64;
+        type uint64;
     }
     // This refers to MD-SAL transaction reference.
     grouping transaction-metadata {
@@ -19,13 +19,22 @@ module flow-capable-transaction {
             type inet:uri;
         }
     }
-    
+
     grouping transaction-aware {
         leaf transaction-id {
             type transaction-id;
         }
     }
 
+    grouping multipart-transaction-aware {
+        uses transaction-aware;
+
+        leaf moreReplies {
+            type boolean;
+            default false;
+        }
+    }
+
     rpc get-next-transaction-id {
         input {
             leaf node {
@@ -34,7 +43,7 @@ module flow-capable-transaction {
             }
         }
         output {
-               uses transaction-aware;
+            uses transaction-aware;
         }
     }
 
@@ -50,4 +59,4 @@ module flow-capable-transaction {
             }
         }
     }
-}
\ No newline at end of file
+}