aboutsummaryrefslogtreecommitdiffstats
path: root/vpp-api
diff options
context:
space:
mode:
Diffstat (limited to 'vpp-api')
-rwxr-xr-xvpp-api/java/jvpp/gen/jvpp_gen.py2
-rwxr-xr-xvpp-api/python/pneum/api-gen.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/vpp-api/java/jvpp/gen/jvpp_gen.py b/vpp-api/java/jvpp/gen/jvpp_gen.py
index d8ee6a14c75..4781ea06aa4 100755
--- a/vpp-api/java/jvpp/gen/jvpp_gen.py
+++ b/vpp-api/java/jvpp/gen/jvpp_gen.py
@@ -109,7 +109,7 @@ def get_definitions():
# Pass 1
func_list = []
func_name = {}
- for a in cfg.vppapidef:
+ for a in cfg.messages:
if not is_supported(a[0]):
continue
diff --git a/vpp-api/python/pneum/api-gen.py b/vpp-api/python/pneum/api-gen.py
index 081fb983539..6718de42cab 100755
--- a/vpp-api/python/pneum/api-gen.py
+++ b/vpp-api/python/pneum/api-gen.py
@@ -119,7 +119,7 @@ def get_definitions():
func_list = []
func_name = {}
i = 1
- for a in cfg.vppapidef:
+ for a in cfg.messages:
pack, packlen, tup, zeroarray = get_pack(a[1:])
func_name[a[0]] = dict([('name', a[0]), ('pack', pack), ('packlen', packlen), ('tup', tup), ('args', get_args(a[1:])),
('zeroarray', zeroarray)])