API: Track options and version 84/31584/5
authorVratko Polak <vrpolak@cisco.com>
Tue, 9 Mar 2021 13:22:34 +0000 (14:22 +0100)
committerVratko Polak <vrpolak@cisco.com>
Tue, 9 Mar 2021 13:22:34 +0000 (14:22 +0100)
commitd76d99af81585c10e778d761d862fca77a94bc35
tree5cfb9bbb8de46053ef9900f9ee1b8e5dbae7ffa0
parent2b90fd5bd7d38b5800864daa20939e5fe9e129c8
API: Track options and version

If options are not present in .api.json file
(e.g. old PVP build), use an empty dict.
If a message is used in CSIT, check its options.
Tolerate vat_help, but print warning for others.
This aims to discover in-progress and obsolete APIs.

If .api.json version is not detected, or starts with "0.",
add a "version" item to options, so they get reported.

Change-Id: Ic5a9423157728a58f7ad306c7bd9eaef3bd92488
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
resources/libraries/python/VppApiCrc.py

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.