Fixed netconf monitoring.
[controller.git] / opendaylight / md-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 ietf-yang-types {prefix yang;}
6     import opendaylight-inventory {prefix inv;revision-date "2013-08-19";}
7     
8     revision "2013-09-25" {
9         description "Initial revision of flow service";
10     }    
11
12     grouping node-connector-statistics {
13         container packets {
14             leaf received {
15                 type uint64;
16             }
17             leaf transmitted {
18                 type uint64;
19             }
20         }
21         container bytes {
22             leaf received {
23                 type uint64;
24             }
25             leaf transmitted {
26                 type uint64;
27             }
28         }
29         leaf receive-drops {
30             type uint64;
31         }
32         leaf transmit-drops {
33             type uint64;
34         }
35         leaf receive-errors {
36             type uint64;
37         }
38         leaf transmit-errors {
39             type uint64;
40         }
41         leaf receive-frame-error {
42             type uint64;
43         }
44         leaf receive-over-run-error {
45             type uint64;
46         }
47         leaf receive-crc-error {
48             type uint64;
49         }
50         leaf collision-count {
51             type uint64;
52         }
53         
54         container duration {
55             leaf second {
56                 type yang:counter32;
57             }
58             leaf nanosecond {
59                 type yang:counter32;
60             }
61         }
62     }
63 }