X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fmodel%2Fmodel-flow-statistics%2Fsrc%2Fmain%2Fyang%2Fstatistics-types.yang;h=ff35c595e26bd56b5fa1adde4833913436ec628f;hb=c0497aa3c01474dd6c65a2b4f149feffc12ed90b;hp=d0b2e6a95931f8abdebf7f0f0c7353791a49b481;hpb=5cebad0c07f3d15d42be522cf484fa6eea3d7c88;p=controller.git 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 index d0b2e6a959..ff35c595e2 100644 --- 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 @@ -60,4 +60,39 @@ module opendaylight-statistics-types { } } } + + grouping generic-statistics { + description "Generic grouping for statistics"; + leaf packet-count { + type yang:counter64; + } + + leaf byte-count { + type yang:counter64; + } + + container duration { + leaf second { + type yang:counter64; + } + leaf nanosecond { + type yang:counter64; + } + } + } + + grouping aggregate-flow-statistics { + description "Aggregate flow statistics"; + leaf packet-count { + type yang:counter64; + } + + leaf byte-count { + type yang:counter64; + } + leaf flow-count { + type yang:counter32; + } + } + } \ No newline at end of file