Python API: Add enum and union support. 13/13013/7
authorOle Troan <ot@cisco.com>
Tue, 12 Jun 2018 19:06:44 +0000 (21:06 +0200)
committerDamjan Marion <dmarion@me.com>
Sun, 17 Jun 2018 15:21:00 +0000 (15:21 +0000)
commita5ee900fb75201bbfceaf13c8bc57a13ed094988
treeac866f01fca454d05ade6a6be200a429ea786f99
parent76440d9033822da4123d1c5bca1d4df12aef6280
Python API: Add enum and union support.

As well as a rewrite of the encoders/decoders to make it more readable and extensible.

Change-Id: I253369ac76303922bf9c11377622c8974fa92f19
Signed-off-by: Ole Troan <ot@cisco.com>
.gitignore
extras/rpm/vpp-suse.spec
extras/rpm/vpp.spec
src/vpp-api/python/setup.py
src/vpp-api/python/tests/test_vpp_serializer.py [new file with mode: 0755]
src/vpp-api/python/vpp_papi/__init__.py [new file with mode: 0644]
src/vpp-api/python/vpp_papi/vpp_papi.py [moved from src/vpp-api/python/vpp_papi.py with 63% similarity]
src/vpp-api/python/vpp_papi/vpp_serializer.py [new file with mode: 0644]
test/test_papi.py
test/vpp_papi_provider.py