From 003d5da298b2cd1e20400fb5fdcefce752ca616e Mon Sep 17 00:00:00 2001 From: Ole Troan Date: Tue, 18 Dec 2018 12:23:13 +0100 Subject: VAPI/VOM: Removing legacy stats tests, add string type. Fix misc VAPI/VOM generation and test cases. Change-Id: I1abf9ecdb6f8a2129f11e0a9ed1c0fe04cdf5c47 Signed-off-by: Ole Troan --- src/vpp-api/vapi/vapi.h | 1 + src/vpp-api/vapi/vapi_json_parser.py | 1 + 2 files changed, 2 insertions(+) (limited to 'src/vpp-api/vapi') diff --git a/src/vpp-api/vapi/vapi.h b/src/vpp-api/vapi/vapi.h index 2a401c21189..08d016b0dd7 100644 --- a/src/vpp-api/vapi/vapi.h +++ b/src/vpp-api/vapi/vapi.h @@ -21,6 +21,7 @@ #include #include #include +#include #include #include diff --git a/src/vpp-api/vapi/vapi_json_parser.py b/src/vpp-api/vapi/vapi_json_parser.py index 3eb5d3616e1..2c08b90a93b 100644 --- a/src/vpp-api/vapi/vapi_json_parser.py +++ b/src/vpp-api/vapi/vapi_json_parser.py @@ -302,6 +302,7 @@ class JsonParser(object): ] } + self.types['string'] = simple_type_class('vl_api_string_t') self.replies = set() self.events = set() self.simple_type_class = simple_type_class -- cgit 1.2.3-korg