VPP-1033: Python API support arbitrary sized input parameters. 36/8936/6
authorOle Troan <ot@cisco.com>
Fri, 20 Oct 2017 11:28:20 +0000 (13:28 +0200)
committerDave Wallace <dwallacelf@gmail.com>
Wed, 25 Oct 2017 17:16:56 +0000 (17:16 +0000)
commit895b6e8b4408108a9b5cea99dcb378c3524b18b2
treee9100c39d04dfa65469e8c9895c8e3d1fe44c394
parent5f3fcb96296a4769f55f60270e10c6294c604db9
VPP-1033: Python API support arbitrary sized input parameters.

Dynamically calculate the required buffer size to pack into based on
message definition. Also add input parameter length checking.

Change-Id: I7633bec596e4833bb328fbf63a65b866c7985de5
Signed-off-by: Ole Troan <ot@cisco.com>
src/vpp-api/python/vpp_papi.py
test/test_acl_plugin.py
test/test_dhcp.py
test/test_nat.py
test/test_papi.py [new file with mode: 0644]
test/vpp_papi_provider.py