VPP-521: Classify API enhancement to redirect traffic to pre-defined VRF 31/3731/8
authorSteve Shin <jonshin@cisco.com>
Tue, 8 Nov 2016 18:47:10 +0000 (10:47 -0800)
committerJohn Lo <loj@cisco.com>
Wed, 16 Nov 2016 02:29:44 +0000 (02:29 +0000)
commit25e26dc5136137c771715145dd5b2884060ff9eb
tree9279b106952a9a603060a185bda6b9f2e89ec8f4
parent9c6ae5f43b1f3141d37d6d7b3963926302826f08
VPP-521: Classify API enhancement to redirect traffic to pre-defined VRF

Ingress packets are punted to the “Input ACL node” where traffic is
classified based on n-tuple keys. If no matched session is found from
the classify tables, then it will be passed to “the lookup node” for
normal packet forwarding. If a classify session is hit from one of
classify tables, then packet vnet buffer field sw_if_index[VLIB_TX]
will be updated to the new FIB index used for subsequent IP lookup
for this packet.

Change-Id: Ifdea63196ddb81c2d5c43b8c98e11ddbf5b11858
Signed-off-by: Steve Shin <jonshin@cisco.com>
vnet/vnet/classify/vnet_classify.c
vnet/vnet/classify/vnet_classify.h
vnet/vnet/ip/ip_input_acl.c
vnet/vnet/l2/l2_input_acl.c
vpp-api-test/vat/api_format.c
vpp/vpp-api/api.c
vpp/vpp-api/custom_dump.c
vpp/vpp-api/vpe.api