MD-SAL StatisticsManager - Minor modification in the group and meter rpc/notifications
[controller.git] / opendaylight / md-sal / model / model-flow-statistics / src / main / yang / statistics-types.yang
index 47c4c9369e2ded77a471de29928e58e1fbef82df..d0b2e6a95931f8abdebf7f0f0c7353791a49b481 100644 (file)
@@ -2,14 +2,12 @@ module opendaylight-statistics-types {
     namespace "urn:opendaylight:model:statistics:types";
     prefix stat-types;
 
-    import opendaylight-inventory {prefix inv;}
-
+    import ietf-yang-types {prefix yang;}
+    import opendaylight-inventory {prefix inv;revision-date "2013-08-19";}
     
-    revision "2013-08-19" {
+    revision "2013-09-25" {
         description "Initial revision of flow service";
-    }
-
-    
+    }    
 
     grouping node-connector-statistics {
        container packets {
@@ -52,5 +50,14 @@ module opendaylight-statistics-types {
         leaf collision-count {
             type uint64;
         }
+        
+        container duration {
+            leaf second {
+                type yang:counter32;
+            }
+            leaf nanosecond {
+                type yang:counter32;
+            }
+        }
     }
 }
\ No newline at end of file