Merge "ConfigurationService to create default config dir"
[controller.git] / opendaylight / md-sal / model / model-flow-statistics / src / main / yang / opendaylight-flow-table-statistics.yang
index ab84f50f31922ff9d27d4184978d05e8af2ce980..431ef50624c0f66e917cb65bf35e21e1bbbd0bdc 100644 (file)
@@ -2,7 +2,7 @@ module opendaylight-flow-table-statistics {
     namespace "urn:opendaylight:flow:table:statistics";
     prefix flowtablestat;
 
-       import flow-capable-transaction {prefix tr;}
+    import flow-capable-transaction {prefix tr;}
     import yang-ext {prefix ext; revision-date "2013-07-09";}
     import opendaylight-inventory {prefix inv;revision-date "2013-08-19";}
     import flow-node-inventory {prefix flow-node;revision-date "2013-08-19";}
@@ -19,50 +19,47 @@ module opendaylight-flow-table-statistics {
     }
     
     //Augment flow table statistics data to the table
-       augment "/inv:nodes/inv:node/flow-node:table" {
+    augment "/inv:nodes/inv:node/flow-node:table" {
         ext:augment-identifier "flow-table-statistics-data";
         uses flow-table-statistics;
     }
-       
-       grouping flow-table-statistics {
+    
+    grouping flow-table-statistics {
         container flow-table-statistics {
             //config "false";
-               uses stat-types:generic-table-statistics;
+            uses stat-types:generic-table-statistics;
         }
-       }    
+    }    
     
     //RPC calls to fetch flow table statistics
     grouping flow-table-and-statistics-map {
-       list flow-table-and-statistics-map {
-               key "table-id";
-               leaf table-id {
-                       type table-types:table-id;
-               }
-               uses stat-types:generic-table-statistics;
-       }
+        list flow-table-and-statistics-map {
+            key "table-id";
+            leaf table-id {
+                type table-types:table-id;
+            }
+            uses stat-types:generic-table-statistics;
+        }
     }
     
     rpc get-flow-tables-statistics {
-       description "Fetch statistics of all the flow tables present on the tarnet node";
-       input {
-               uses inv:node-context-ref;
-       }
-       output {
-               uses flow-table-and-statistics-map;
-               uses tr:transaction-aware;
-       }
+        description "Fetch statistics of all the flow tables present on the tarnet node";
+        input {
+            uses inv:node-context-ref;
+        }
+        output {
+            uses flow-table-and-statistics-map;
+            uses tr:transaction-aware;
+        }
     }
     
     //Notification to receive table statistics update
     
     notification flow-table-statistics-update {
-       description "Receive flow table statistics update";
-       
-               leaf moreReplies {
-            type boolean;
-        }
+        description "Receive flow table statistics update";
+        
         uses inv:node;
-               uses flow-table-and-statistics-map;
-               uses tr:transaction-aware;
+        uses flow-table-and-statistics-map;
+        uses tr:multipart-transaction-aware;
     }
 }