Add L3DSR feature in LB plugin 03/10203/9
authorHongjun Ni <hongjun.ni@intel.com>
Tue, 23 Jan 2018 11:17:23 +0000 (19:17 +0800)
committerHongjun Ni <hongjun.ni@intel.com>
Fri, 2 Feb 2018 02:20:46 +0000 (02:20 +0000)
commit647f609a11e2afb91a5216ca99d0705a3e1212a7
tree149ab0443d42a8d8a7620c8bce917ec87edf1ae7
parent91389ac2c28ae10f2b7f766e4dfe7a7fd96dc5e0
Add L3DSR feature in LB plugin

L3DSR is used to overcome Layer 2 limitations
of Direct Server Return Load Balancing.
It maps VIP to DSCP bits, and reuse TOS bits to transfer it
to server, and then server will get VIP from DSCP-to-VIP mapping.
Please refer to https://www.nanog.org/meetings/nanog51/presentations/Monday/NANOG51.Talk45.nanog51-Schaumann.pdf

Change-Id: I403ffeadfb04ed0265086eb2dc41f2e17f8f34cb
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
src/plugins/lb/api.c
src/plugins/lb/cli.c
src/plugins/lb/lb.api
src/plugins/lb/lb.c
src/plugins/lb/lb.h
src/plugins/lb/lb_plugin_doc.md
src/plugins/lb/lb_test.c
src/plugins/lb/node.c
test/test_lb.py