fib: Source Address Selection 97/30197/2
authorNeale Ranns <neale.ranns@cisco.com>
Thu, 26 Nov 2020 08:37:27 +0000 (08:37 +0000)
committerOle Tr�an <otroan@employees.org>
Tue, 8 Dec 2020 09:00:24 +0000 (09:00 +0000)
commite2fe097424fb169dfe01421ff17b8ccd0c26b4a6
tree2d9993f78d9165c1aba23b1daa4067106da81b45
parent9b8cb5082471dd670066b8ba2872ffbcc35a87f8
fib: Source Address Selection

Type: feature

Use the FIB to provide SAS (in so far as it is today)
 - Use the glean adjacency as the record of the connected prefixes
 = there's a glean per-{interface, protocol, connected-prefix}
 - Keep the glean up to date with whatever the recieve host prefix is
(since it can change)

Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Change-Id: I0f3dd1edb1f3fc965af1c7c586709028eb9cdeac
34 files changed:
src/plugins/igmp/igmp_pkt.c
src/plugins/ping/ping.c
src/plugins/unittest/fib_test.c
src/plugins/vrrp/node.c
src/plugins/vrrp/vrrp_packet.c
src/vnet/CMakeLists.txt
src/vnet/adj/adj.c
src/vnet/adj/adj.h
src/vnet/adj/adj_glean.c
src/vnet/adj/adj_glean.h
src/vnet/adj/adj_internal.h
src/vnet/fib/fib_entry_src.c
src/vnet/fib/fib_entry_src.h
src/vnet/fib/fib_entry_src_interface.c
src/vnet/fib/fib_path.c
src/vnet/fib/fib_path.h
src/vnet/fib/fib_sas.c [new file with mode: 0644]
src/vnet/fib/fib_sas.h [new file with mode: 0644]
src/vnet/fib/fib_table.c
src/vnet/fib/fib_types.c
src/vnet/fib/fib_types.h
src/vnet/ip-neighbor/ip4_neighbor.c
src/vnet/ip-neighbor/ip4_neighbor.h
src/vnet/ip-neighbor/ip6_neighbor.c
src/vnet/ip-neighbor/ip6_neighbor.h
src/vnet/ip-neighbor/ip_neighbor.c
src/vnet/ip-neighbor/ip_neighbor.h
src/vnet/ip/ip4.h
src/vnet/ip/ip4_forward.c
src/vnet/ip/ip6_link.c
src/vnet/ip/ip6_link.h
src/vpp/api/custom_dump.c
test/test_neighbor.py
test/test_ping.py