One way to get a list of APIs is to use “help” command in the vpp_api_test (VAT) CLI which list all the APIs it calls. You can then do “help <vat-api-item>” to get the CLI command format help:
vat# help sw_interface_ip6_enable_disable usage: sw_interface_ip6_enable_disable <intfc> | sw_if_index <id> enable | disable Admittedly VAT does not call every binary APIs but it is pretty complete. Regards, John From: Keith Burns [mailto:alaga...@gmail.com] Sent: Thursday, November 03, 2016 10:29 AM To: John Lo (loj); Maros Marsalek -X (mmarsale - PANTHEON TECHNOLOGIES at Cisco); vpp-dev Subject: Re: [vpp-dev] Interface bonding (binary APIs) Which incidentally would mean there's no CLI for it either :) On Thu, Nov 3, 2016 at 7:01 AM John Lo (loj) <l...@cisco.com<mailto:l...@cisco.com>> wrote: Interface bonding is configured in the VPP startup config. There is no binary API to allow interface bonding at runtime. Regards, John From: vpp-dev-boun...@lists.fd.io<mailto:vpp-dev-boun...@lists.fd.io> [mailto:vpp-dev-boun...@lists.fd.io<mailto:vpp-dev-boun...@lists.fd.io>] On Behalf Of Keith Burns Sent: Thursday, November 03, 2016 9:22 AM To: Maros Marsalek -X (mmarsale - PANTHEON TECHNOLOGIES at Cisco); vpp-dev Subject: Re: [vpp-dev] Interface bonding (binary APIs) Maros, You can check vpe.api then ensure there is a corresponding function vl_api_<foo> in api.c I know Dave Barach is doing an audit of the API in his CFT. Not sure if there is a working punchlist or not you could contribute to. Alternatively if you find something has a CLI and are concerned about a binary api being present for it - grep code for CLI - find function it calls - invariably this function will consist of a cli parser and a REAL function to do the work (if all the work is done in cli parser odds are there's no binary api) - grep api.c for that REAL function as both will generally call the same worker thing It ain't pretty but until there's an audit and some API Developer docs that's the kind of thing you need to resort to. (Note VAT can also be useful here but... That's another kettle of fish) On Thu, Nov 3, 2016, 4:29 AM Maros Marsalek -X (mmarsale - PANTHEON TECHNOLOGIES at Cisco) <mmars...@cisco.com<mailto:mmars...@cisco.com>> wrote: Hey, VPP supports interface bonding and can be configured using DPDK configuration (https://wiki.fd.io/view/VPP/Command-line_Arguments#.22dpdk.22_parameters). Is there any support for interface bonding over binary APIs ? Thanks, Maros _______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> https://lists.fd.io/mailman/listinfo/vpp-dev
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev