Ietf-interfaces yang model provides statistics container for interface see interface-state/statistics: https://github.com/YangModels/yang/blob/master/vendor/cisco/xe/1671/ietf-interfaces.yang
vpp interfaces api:
- provides collect_detailed_interface_stats api call (JVppCoreImpl.collectDetailedInterfaceStats()) with sw_if_index as input param
- returns data typeonly manual_print manual_endian define vnet_combined_counter, see:
https://gerrit.fd.io/r/gitweb?p=vpp.git;a=blob;f=src/vnet/interface.api;h=2010d8b5f545731b2e17af7f47543ebbd50a18f0;hb=refs/heads/master
Prepare mapping and reader for reading stats on per interface basis.