VPP Python language binding - plugin support 78/2178/12
authorOle Troan <ot@cisco.com>
Mon, 1 Aug 2016 02:59:13 +0000 (04:59 +0200)
committerDamjan Marion <dmarion.lists@gmail.com>
Thu, 25 Aug 2016 00:29:40 +0000 (00:29 +0000)
commit5f9dcff39d5e25c6bef30d569e405635633f3c69
treeec14d5fdb45a9d82cf5703d63e0bcafcc40d4da0
parent151fb725636f192da8a04d0f74dc3455b58dd61c
VPP Python language binding - plugin support

- Moved Python generator tool to tools directory
- Added build-vpp-api Makefile target
- Generator now only creates a Python representation of the .api
  the rest of the framework is in the vpp_papi script
- Each plugin has its own namespace.
- Plugin Python files are installed in vpp_papi_plugins for easy
  use inside the build tree.

Change-Id: I272c83bb7e5d5e416bdbd8a790a3cc35c5a04e38
Signed-off-by: Ole Troan <ot@cisco.com>
23 files changed:
.gitignore
Makefile
build-data/platforms.mk
plugins/ioam-plugin/Makefile.am
plugins/snat-plugin/Makefile.am
vlib-api/Makefile.am
vpp-api/python/Makefile.am
vpp-api/python/pneum/pneum.c
vpp-api/python/pneum/pneum.h
vpp-api/python/setup.cfg [new file with mode: 0644]
vpp-api/python/setup.py
vpp-api/python/tests/test_base.py [new file with mode: 0644]
vpp-api/python/tests/test_modules.py [new file with mode: 0755]
vpp-api/python/tests/test_papi.py
vpp-api/python/vpp_papi/__init__.py
vpp-api/python/vpp_papi/pneum_wrap.c
vpp-api/python/vpp_papi/vpp_api_base.py [new file with mode: 0644]
vpp-api/python/vpp_papi/vpp_papi.py [new file with mode: 0644]
vpp/vpp-api/api.c
vppapigen/Makefile.am
vppapigen/lex.c
vppapigen/node.c
vppapigen/pyvppapigen.py [new file with mode: 0755]