openconfig / public

Repository for publishing OpenConfig models, documentation, and other material for the community.
Apache License 2.0
899 stars 656 forks source link

openconfig-if-ip.yang : introduction of per family per subinterface multicast packet and octet counters #381

Closed dshokarev closed 1 year ago

dshokarev commented 4 years ago

Dear OC Community,

I represent a routing systems vendor (Juniper Networks) and would like to propose an addition of the following leaves to the IPv4 / IPv6 containers in the openconfig-if-ip.yang model for your review:

IPv4 Path, Type, Description interfaces/interface/subinterfaces/subinterface/ipv4/state/counters/in-mcast-pkts, counter64, "number of IPv4 multicast packets received on a subinterface" interfaces/interface/subinterfaces/subinterface/ipv4/state/counters/in-mcast-octets, counter64, "number of octets in IPv4 multicast packets received on a subinterface" interfaces/interface/subinterfaces/subinterface/ipv4/state/counters/out-mcast-pkts, counter64, "number of IPv4 multicast packets sent to a subinterface" interfaces/interface/subinterfaces/subinterface/ipv4/state/counters/out-mcast-octets, counter64, "number of octets in IPv4 multicast packets sent to a subinterface"

IPv6 Path, Type, Description interfaces/interface/subinterfaces/subinterface/ipv6/state/counters/in-mcast-pkts, counter64, "number of IPv4 multicast packets received on a subinterface" interfaces/interface/subinterfaces/subinterface/ipv6/state/counters/in-mcast-octets, counter64, "number of octets in IPv4 multicast packets received on a subinterface" interfaces/interface/subinterfaces/subinterface/ipv6/state/counters/out-mcast-pkts, counter64, "number of IPv4 multicast packets sent to a subinterface" interfaces/interface/subinterfaces/subinterface/ipv6/state/counters/out-mcast-octets, counter64, "number of octets in IPv4 multicast packets sent to a subinterface"

Would you please review?

Thanks, Dmitry.

aashaikh commented 4 years ago

Thanks for the suggestion -- these seem reasonable to add. Will you create a PR for these?