SR-MPLS: fixes and tests 79/14579/2
authorNeale Ranns <nranns@cisco.com>
Thu, 30 Aug 2018 13:12:27 +0000 (06:12 -0700)
committerDamjan Marion <dmarion@me.com>
Thu, 30 Aug 2018 17:12:11 +0000 (17:12 +0000)
commit7c922dc404c2c0a2d67d53ca05db1c1ae1598f44
tree8319a93f2a8307b40446a26d9412de523f0e7ab8
parent70fee2df339288d2c0a2a37ac8f497764df438c2
SR-MPLS: fixes and tests

- the FIB path takes a vector of type fib_mpls_label_t not u32 so the untype safe vec_add did not work
- write som eSR-MPLS tests
- allow an MPLS tunnel to resolve through a SR BSID

Change-Id: I2a18b9a9bf43584100ac269c4ebc286c9e3b3ea5
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/vnet/dpo/mpls_label_dpo.c
src/vnet/mpls/mpls.api
src/vnet/mpls/mpls_api.c
src/vnet/srmpls/sr_mpls_policy.c
test/test_srmpls.py [new file with mode: 0644]
test/vpp_mpls_tunnel_interface.py
test/vpp_papi_provider.py