Project: netvirt master
36d94077d342fc3ade150a75cbdcb77e0962fad5
TunnelState changes for tunnels towards DCGW
Changes for programming the load balancing group for traffic towards
DC-GW.
- When tunnel is added, based on the number of DC-GWs we create all
possible load balancing groups for the traffic towards DC-GWs.
- When tunnel is updated, we read the dpid-l3vpn-lb-nexthops and the
l3vpn-lb-nexthops container to figure out the group which needs to be
modified and update the bucket directly in that group.
- When tunnel state is deleted, we delete the entry from both the
containers and also delete the group if only one DC-GW is left.
This review considers only two DC-GWs for now.
Change-Id: I87f9054ca7ba69762a57e8d18827c34e17c2f9dc
Signed-off-by: Kency Kurian <kency.kurian@ericsson.com>
-Subproject commit bfb3bf3329ddca8b2ae5f0bc79f6a4d647f2b1dd
+Subproject commit 36d94077d342fc3ade150a75cbdcb77e0962fad5