Fix occasional NPEs in Connection manager
[controller.git] / opendaylight / sal / yang-prototype / sal / model / model-flow-statistics / src / main / yang / statistics-types.yang
1 module opendaylight-statistics-types {
2     namespace "urn:opendaylight:model:statistics:types";
3     prefix stat-types;
4
5     import opendaylight-inventory {prefix inv;}
6
7     
8     revision "2013-08-19" {
9         description "Initial revision of flow service";
10     }
11
12     
13
14     grouping node-connector-statistics {
15         container packets {
16             leaf received {
17                 type uint64;
18             }
19             leaf transmitted {
20                 type uint64;
21             }
22         }
23         container bytes {
24             leaf received {
25                 type uint64;
26             }
27             leaf transmitted {
28                 type uint64;
29             }
30         }
31         leaf receive-drops {
32             type uint64;
33         }
34         leaf transmit-drops {
35             type uint64;
36         }
37         leaf receive-errors {
38             type uint64;
39         }
40         leaf transmit-errors {
41             type uint64;
42         }
43         leaf receive-frame-error {
44             type uint64;
45         }
46         leaf receive-over-run-error {
47             type uint64;
48         }
49         leaf receive-crc-error {
50             type uint64;
51         }
52         leaf collision-count {
53             type uint64;
54         }
55     }
56 }