L2 Emulation 59/9759/8
authorNeale Ranns <nranns@cisco.com>
Sat, 21 Oct 2017 13:34:22 +0000 (06:34 -0700)
committerJohn Lo <loj@cisco.com>
Wed, 20 Dec 2017 16:26:04 +0000 (16:26 +0000)
commit55d03788290d51c79686218ef5de2be8ff6ce976
treea242784d0b1ff9817f476dbc9b0a199cf848caea
parent4c8a45491dc38a1075881be225df3be14801ffe9
L2 Emulation

L2 Emulation is a feautre that is applied to L2 ports to 'extract'
IP packets from the L2 path and inject them into the L3 path (i.e.
into the appropriate ip[4|6]_input node).
L3 routes in the table_id for that interface should then be configured
as DVR routes, therefore the forwarded packet has the L2 header
preserved and togehter the L3 routed system behaves like an L2 bridge.

Change-Id: I8effd7e2f4c67ee277b73c7bc79aa3e5a3e34d03
Signed-off-by: Neale Ranns <nranns@cisco.com>
19 files changed:
src/configure.ac
src/plugins/Makefile.am
src/plugins/l2e.am [new file with mode: 0644]
src/plugins/l2e/l2e.api [new file with mode: 0644]
src/plugins/l2e/l2e.c [new file with mode: 0644]
src/plugins/l2e/l2e.h [new file with mode: 0644]
src/plugins/l2e/l2e_all_api_h.h [new file with mode: 0644]
src/plugins/l2e/l2e_api.c [new file with mode: 0644]
src/plugins/l2e/l2e_msg_enum.h [new file with mode: 0644]
src/vnet/dpo/l2_bridge_dpo.c
src/vnet/l2/l2_input.h
src/vpp-api/vom/Makefile.am
src/vpp-api/vom/bridge_domain.cpp
src/vpp-api/vom/l2_emulation.cpp [new file with mode: 0644]
src/vpp-api/vom/l2_emulation.hpp [new file with mode: 0644]
src/vpp-api/vom/l2_emulation_cmds.cpp [new file with mode: 0644]
src/vpp-api/vom/l2_emulation_cmds.hpp [new file with mode: 0644]
test/test_dvr.py
test/vpp_papi_provider.py