1 module interface-statistics {
2 namespace "urn:opendaylight:vpnservice:interface:statistics";
5 import ietf-interfaces {
9 revision "2015-08-24" {
10 description "YANG model describes rpc to retrieve the different ingress/egress statistics ie. packet/byte counts";
21 grouping service-enitity-statistics {
22 leaf packet-tx-count {
25 leaf packet-rx-count {
37 leaf stat-result-code {
40 uses service-enitity-statistics;
43 rpc get-interface-statistics {
47 path "/if:interfaces/if:interface/if:name";
52 container stat-result {