VPP-118: add support for variable length arrays to jvpp 17/1617/8
authorMarek Gradzki <mgradzki@cisco.com>
Wed, 15 Jun 2016 14:38:33 +0000 (16:38 +0200)
committerDave Wallace <dwallacelf@gmail.com>
Fri, 24 Jun 2016 13:23:16 +0000 (13:23 +0000)
commitfa42e25c4e498c57e15ebb0ded56502a61b7dc08
treea6a79850ddab1e962c9f639050a09925fe57c9f0
parent80ee21386cea217d0e9292d2a8b15ea88bf99d30
VPP-118: add support for variable length arrays to jvpp

* extends VPP's message definition language with the following syntax:

u32 count:
u8 array[count];

which is traslated to:

u32 count;
u8 array[0];

but now, python API representation generated by vppapigen
contains information about where the array length is stored.

* modifies existing response messages to use the new syntax

Change-Id: I68210bc7a3a755d03d067e9b79a567f40e2d31f3
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
vpp-api/java/jvpp/gen/jvpp_c_gen.py
vpp-api/java/jvpp/gen/jvpp_gen.py
vpp-api/python/pneum/api-gen.py
vpp/api/vpe.api
vppapigen/gram.y
vppapigen/node.c
vppapigen/node.h