From 6f6311560380d0e992f710558e213df1b098ef94 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Tue, 3 Oct 2017 08:20:21 -0700 Subject: Distributed Virtual Router Support A distributed virtual router works by attmpeting to switch a packet, but on failing to find a local consumer (i.e. the packet is destined to a locally attached host) then the packet is sent unmodified 'upstream' to where the rest of the 'distributed' router is present. When L3 switching a packet this means the L2 header must not be modifed. This patch adds a 'l2-bridge' object to the L3 FIB which re-injects packets from the L3 path back into the L2 path - use with extreme caution. Change-Id: I069724eb45956647d7980cbe40a80a788ee6ee82 Signed-off-by: Neale Ranns --- src/vnet/fib/fib_test.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vnet/fib/fib_test.h') diff --git a/src/vnet/fib/fib_test.h b/src/vnet/fib/fib_test.h index 3692f57386d..5adc52ec658 100644 --- a/src/vnet/fib/fib_test.h +++ b/src/vnet/fib/fib_test.h @@ -26,6 +26,7 @@ typedef enum fib_test_lb_bucket_type_t_ { FT_LB_SPECIAL, FT_LB_ADJ, FT_LB_INTF, + FT_LB_L2, } fib_test_lb_bucket_type_t; typedef struct fib_test_lb_bucket_t_ { @@ -72,6 +73,7 @@ typedef struct fib_test_lb_bucket_t_ { typedef enum fib_test_rep_bucket_type_t_ { FT_REP_LABEL_O_ADJ, + FT_REP_DISP_MFIB_LOOKUP, FT_REP_INTF, } fib_test_rep_bucket_type_t; -- cgit 1.2.3-korg