vat: add infrastructure to align vnet test code and plugin test code 37/28837/3
authorOle Troan <ot@cisco.com>
Tue, 15 Sep 2020 08:53:34 +0000 (10:53 +0200)
committerDave Barach <openvpp@barachs.net>
Fri, 18 Sep 2020 15:24:52 +0000 (15:24 +0000)
commit3d81267945a732753b0dbd0a83a50ab0625b448a
treec00b5e6a5e798cbb29c9c450eb37d43f9303cb85
parent34262d4d56295b0872ad4e9a4a4791953f3fa444
vat: add infrastructure to align vnet test code and plugin test code

Split vat/api_format.c also for VNET features.
Use auto-generated VAT test code and support dynamic message ID allocation as for plugins.
The arp and geneve features as Guinea pigs.

Type: improvement
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I461591496766bdf10c5f950fd30f1a0ae05909da
Signed-off-by: Ole Troan <ot@cisco.com>
14 files changed:
src/tools/vppapigen/vppapigen_c.py
src/vat/CMakeLists.txt
src/vat/api_format.c
src/vat/main.c
src/vat/vat.h
src/vnet/arp/arp_test.c
src/vnet/geneve/geneve.api
src/vnet/geneve/geneve.h
src/vnet/geneve/geneve_api.c
src/vnet/geneve/geneve_test.c [new file with mode: 0644]
src/vnet/vnet_all_api_h.h
src/vpp/CMakeLists.txt
src/vpp/api/api_main.c
src/vpp/api/custom_dump.c