Hi Paul, et al,
> I've run into an api where the api was changed and the SCRIPT: output wasn't
> updated to match.
> I'd like to clean it up. What is the best way to verify that the api_format
> code is correct?
>
> Is a self.vapi.cli("binary-api foo") in a python unit test sufficient?
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
This is a somewhat thorny area.
VPP itself supports dumping of API traces in two formats (sort of). User
friendly and "SCRIPT" that's tuned to output API commands that can be used by
VAT.
Some VPP features support only the user friendly dump, some only the "SCRIPT"
format and some none.
I don't see any reason why we cannot auto-generate the dump/custom-dump code.
Either as external post-processing of API trace files, or for the "api trace
dump|custom-dump" commands in VPP.
Best regards,
Ole
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#16226): https://lists.fd.io/g/vpp-dev/message/16226
Mute This Topic: https://lists.fd.io/mt/73395667/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-