Moved MD SAL from sal/yang-prototype to md-sal
[controller.git] / opendaylight / md-sal / model / model-flow-statistics / src / main / yang / statistics-types.yang
diff --git a/opendaylight/md-sal/model/model-flow-statistics/src/main/yang/statistics-types.yang b/opendaylight/md-sal/model/model-flow-statistics/src/main/yang/statistics-types.yang
new file mode 100644 (file)
index 0000000..47c4c93
--- /dev/null
@@ -0,0 +1,56 @@
+module opendaylight-statistics-types {
+    namespace "urn:opendaylight:model:statistics:types";
+    prefix stat-types;
+
+    import opendaylight-inventory {prefix inv;}
+
+    
+    revision "2013-08-19" {
+        description "Initial revision of flow service";
+    }
+
+    
+
+    grouping node-connector-statistics {
+       container packets {
+            leaf received {
+                type uint64;
+            }
+            leaf transmitted {
+                type uint64;
+            }
+        }
+        container bytes {
+            leaf received {
+                type uint64;
+            }
+            leaf transmitted {
+                type uint64;
+            }
+        }
+        leaf receive-drops {
+            type uint64;
+        }
+        leaf transmit-drops {
+            type uint64;
+        }
+        leaf receive-errors {
+            type uint64;
+        }
+        leaf transmit-errors {
+            type uint64;
+        }
+        leaf receive-frame-error {
+            type uint64;
+        }
+        leaf receive-over-run-error {
+            type uint64;
+        }
+        leaf receive-crc-error {
+            type uint64;
+        }
+        leaf collision-count {
+            type uint64;
+        }
+    }
+}
\ No newline at end of file