Load Balancer: Use FIB 2.0 73/3273/2
authorPierre Pfister <ppfister@cisco.com>
Wed, 5 Oct 2016 08:38:21 +0000 (09:38 +0100)
committerDamjan Marion <dmarion.lists@gmail.com>
Wed, 5 Oct 2016 09:33:07 +0000 (09:33 +0000)
commitd4bc9af55fc9a7bb5133da8c863569497cb92cd0
tree6a64ccf779e28162e6c6bd260b0602011aadc9d6
parent4c20e7197707aa95b144b289704e9e97335db17d
Load Balancer: Use FIB 2.0

This patch fixes load balancer, which was not working
since FIB 2.0.

Two FIB DPO types are defined:
- One for IPv4 GRE
- One for IPv6 GRE

When an AS is created, the plugin automatically uses
the result from the FIB in order to transmit the packet.
Therefore, the packet does not need to visit ip-lookup twice.

The 'bypass' command was removed, as it is now done
automatically using this process.

Change-Id: Ib505ba31bfc67897eaff752821087821c360360a
Signed-off-by: Pierre Pfister <ppfister@cisco.com>
plugins/lb-plugin/lb/cli.c
plugins/lb-plugin/lb/lb.c
plugins/lb-plugin/lb/lb.h
plugins/lb-plugin/lb/node.c