SR-MPLS: fixes and tests 88/14588/2
authorNeale Ranns <[email protected]>
Thu, 30 Aug 2018 13:12:27 +0000 (06:12 -0700)
committerNeale Ranns <[email protected]>
Fri, 31 Aug 2018 09:03:07 +0000 (09:03 +0000)
commit2da975c4dde45b1421998e54c107cb24d01d10d9
tree2b26f835004209c611a846223d341a78d053a0e8
parentfe47e29fc6ddcb664f76f4ebbfd2593cb0282e43
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 <[email protected]>
(cherry picked from commit 7c922dc404c2c0a2d67d53ca05db1c1ae1598f44)
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