HC2VPP-268: add non-eos MPLS and IP FIB entries 98/9898/2
authorMarek Gradzki <[email protected]>
Fri, 22 Dec 2017 14:08:19 +0000 (15:08 +0100)
committerMarek Gradzki <[email protected]>
Fri, 22 Dec 2017 14:22:08 +0000 (15:22 +0100)
commit9a25f286116d8ecd75dcc03a2ef5f7b3d20fc24e
treed5e6f47acaba0f9b748763cf7f9c7eb3809787c9
parent6bb01993fda9b927923ba351d5509ed741ad616e
HC2VPP-268: add non-eos MPLS and IP FIB entries

VPP manages separate eos and non-eos forwarding chains,
so non-eos FIB entry is also needed.

Imposing received outgoing label on IP packets
is also required as described in
https://tools.ietf.org/html/draft-ietf-idr-bgp-prefix-sid-07#page-10
and
https://tools.ietf.org/html/draft-ietf-spring-segment-routing-msdc-08#section-4.2.2

Change-Id: Idb91dc44beb64f614f02a95ef0f4b8495c6aeb69
Signed-off-by: Marek Gradzki <[email protected]>
bgp/bgp-prefix-sid/src/main/java/io/fd/hc2vpp/bgp/prefix/sid/BgpPrefixSidMplsWriter.java
bgp/bgp-prefix-sid/src/main/java/io/fd/hc2vpp/bgp/prefix/sid/IpRouteRequestProducer.java [new file with mode: 0644]
bgp/bgp-prefix-sid/src/main/java/io/fd/hc2vpp/bgp/prefix/sid/MplsRouteRequestProducer.java [new file with mode: 0644]
bgp/bgp-prefix-sid/src/test/java/io/fd/hc2vpp/bgp/prefix/sid/BgpPrefixSidMplsWriterTest.java