summaryrefslogtreecommitdiffstats
path: root/vpp-api/python/pneum
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2016-09-29 13:20:52 +0200
committerMarek Gradzki <mgradzki@cisco.com>2016-09-30 07:36:32 +0200
commit101759c0d67defc91e50221952de6a29071f743c (patch)
tree4f7cc9e28c28e8b92969f13775d8baa2e35521d9 /vpp-api/python/pneum
parente85581cd07cf70d19870d8f858420f252ced3405 (diff)
VPP-120: include custom types to Python representation of vpe.api
Change-Id: Ide97a8bf55d3baf41a1e86af2c67c6b7b26b657a Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'vpp-api/python/pneum')
-rwxr-xr-xvpp-api/python/pneum/api-gen.py2
1 files changed, 1 insertions, 1 deletions
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)])