IPSEC: API modernisation 38/17138/9
authorNeale Ranns <nranns@cisco.com>
Thu, 10 Jan 2019 05:22:20 +0000 (21:22 -0800)
committerDamjan Marion <dmarion@me.com>
Thu, 31 Jan 2019 20:44:22 +0000 (20:44 +0000)
commit17dcec0b940374127f6e1e004fb3ec261a0a3709
treef14763efd0dc07c44e9d4d1f71f2a43052dc460a
parent6d0106e44e7dff2c9ef0f7052c4023245e9023a8
IPSEC: API modernisation

- use enums to enumerate the algoritms and protocols that are supported
- use address_t types to simplify encode/deocde
- use typedefs of entry objects to get consistency between add/del API and dump

Change-Id: I7e7c58c06a150e2439633ba9dca58bc1049677ee
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/vat/api_format.c
src/vnet/ipsec/ipsec.api
src/vnet/ipsec/ipsec.h
src/vnet/ipsec/ipsec_api.c
test/template_ipsec.py
test/test_ipsec_ah.py
test/test_ipsec_api.py
test/test_ipsec_esp.py
test/test_ipsec_nat.py
test/vpp_ipsec.py
test/vpp_papi_provider.py