External api proposal
[openflowplugin.git] / model / model-flow-statistics / src / main / yang / opendaylight-flow-table-statistics.yang
index 431ef50624c0f66e917cb65bf35e21e1bbbd0bdc..5ce0565bcd088dc954be94533433a09c5600fd29 100644 (file)
@@ -2,13 +2,14 @@ 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; revision-date "2015-03-04";}
     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";}
     import opendaylight-table-types {prefix table-types;revision-date "2013-10-26";}
     import opendaylight-statistics-types {prefix stat-types;revision-date "2013-09-25";}
-    
+
+    description "Openflow flow table statistics structures.";
 
     contact
         "Anilkumar Vishnoi
@@ -18,21 +19,23 @@ module opendaylight-flow-table-statistics {
         description "Initial revision of flow table statistics model";
     }
     
-    //Augment flow table statistics data to the table
     augment "/inv:nodes/inv:node/flow-node:table" {
+        description "Openflow flow table statistics data into the table node.";
         ext:augment-identifier "flow-table-statistics-data";
         uses flow-table-statistics;
     }
     
     grouping flow-table-statistics {
+        description "TODO:: simplify.";
         container flow-table-statistics {
-            //config "false";
             uses stat-types:generic-table-statistics;
         }
     }    
     
-    //RPC calls to fetch flow table statistics
     grouping flow-table-and-statistics-map {
+        status deprecated;
+        description "RPC calls to fetch flow table statistics.";
+
         list flow-table-and-statistics-map {
             key "table-id";
             leaf table-id {
@@ -43,7 +46,9 @@ module opendaylight-flow-table-statistics {
     }
     
     rpc get-flow-tables-statistics {
+        status deprecated;
         description "Fetch statistics of all the flow tables present on the tarnet node";
+
         input {
             uses inv:node-context-ref;
         }
@@ -56,6 +61,7 @@ module opendaylight-flow-table-statistics {
     //Notification to receive table statistics update
     
     notification flow-table-statistics-update {
+        status deprecated;
         description "Receive flow table statistics update";
         
         uses inv:node;