Hi, VPP provides set of vppctl cli commands for getting the configuration done on VPP, i.e route table , interfaces etc. Also, VPPCTL shows statistics data as well in some cases, for instance : - "show sr localsids" command not only shows the localsids we have configured but also the statistical data related to it i.e. good traffic an bad traffic information.
vpp# show sr localsids SRv6 - My LocalSID Table: ========================= Address: 2001:9c0:11::111 Behavior: End PSP: True Good traffic: [1255 packets : 130520 bytes] Bad traffic: [0 packets : 0 bytes] -------------------- But if we try to get this information using VAPI (API Message : sr_localsids_dump & sr_localsids_details), we only get the configuration data. We have observed the same behaviour when we try different VPPCTL commands that gives configuration and statistical data as well but the corresponding VAPI APIs are limited to configuration data only. In some cases, even some of the configuration data is also not available through VAPI, for instance : - Following command gives list of i/f and their ip address: vpp# show int address GigabitEthernet0/8/0 (up): L3 2001:4a0:10::10/64 GigabitEthernet0/9/0 (up): L3 2001:4a0:11::11/64 GigabitEthernet0/a/0 (up): L3 2001:4a0:12::11/64 But using VAPI APIs , we are not getting the ip address of interface. Is there any other way to interface with VPP and extract the information similar to the way vppctl cli is getting the data? Thanks and Regards, Chinmaya Agarwal.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19735): https://lists.fd.io/g/vpp-dev/message/19735 Mute This Topic: https://lists.fd.io/mt/84090173/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-