diff options
author | Neale Ranns <neale.ranns@cisco.com> | 2018-08-22 00:21:14 -0700 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-08-22 20:29:40 +0000 |
commit | 6150211538ef37e317a1a68cd4d8f169d87becd2 (patch) | |
tree | ba960bed8660329c3d349460ad9ffd4bf110194c /src/vnet/fib | |
parent | 5779a441acaf1f613f548668262d8f9bb07560f2 (diff) |
IPIP and SIXRD tunnels create API needs table-IDs not fib-indexes
Change-Id: Ifaef196a24fa9b6924f2b9692318f69763cee5e1
Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Diffstat (limited to 'src/vnet/fib')
-rw-r--r-- | src/vnet/fib/fib_entry.h | 5 | ||||
-rw-r--r-- | src/vnet/fib/fib_entry_src_api.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/vnet/fib/fib_entry.h b/src/vnet/fib/fib_entry.h index 950f0dc7974..61b81493756 100644 --- a/src/vnet/fib/fib_entry.h +++ b/src/vnet/fib/fib_entry.h @@ -65,6 +65,10 @@ typedef enum fib_source_t_ { */ FIB_SOURCE_BIER, /** + * From 6RD. + */ + FIB_SOURCE_6RD, + /** * From the control plane API */ FIB_SOURCE_API, @@ -157,6 +161,7 @@ STATIC_ASSERT (sizeof(fib_source_t) == 1, [FIB_SOURCE_INTERFACE] = "interface", \ [FIB_SOURCE_PROXY] = "proxy", \ [FIB_SOURCE_BIER] = "BIER", \ + [FIB_SOURCE_6RD] = "6RD", \ [FIB_SOURCE_API] = "API", \ [FIB_SOURCE_CLI] = "CLI", \ [FIB_SOURCE_ADJ] = "adjacency", \ diff --git a/src/vnet/fib/fib_entry_src_api.c b/src/vnet/fib/fib_entry_src_api.c index cc3c78c187f..be93cc23c36 100644 --- a/src/vnet/fib/fib_entry_src_api.c +++ b/src/vnet/fib/fib_entry_src_api.c @@ -166,6 +166,7 @@ fib_entry_src_api_register (void) fib_entry_src_register(FIB_SOURCE_PLUGIN_LOW, &api_src_vft); fib_entry_src_register(FIB_SOURCE_API, &api_src_vft); fib_entry_src_register(FIB_SOURCE_CLI, &api_src_vft); + fib_entry_src_register(FIB_SOURCE_6RD, &api_src_vft); fib_entry_src_register(FIB_SOURCE_DHCP, &api_src_vft); fib_entry_src_register(FIB_SOURCE_IP6_ND_PROXY, &api_src_vft); fib_entry_src_register(FIB_SOURCE_IP6_ND, &api_src_vft); |