Select groups without any buckets for remote MIPs 04/79504/5
authorSomashekar Byrappa <somashekar.b@altencalsoftlabs.com>
Mon, 14 Jan 2019 09:38:49 +0000 (15:08 +0530)
committerSomashekar Byrappa <somashekar.b@altencalsoftlabs.com>
Fri, 1 Feb 2019 09:45:54 +0000 (15:15 +0530)
commitbd6368133c33dcaf2412db3aa65f2b020e2d90f4
treed353b6308eb05e6cd73cb4d75fc39b730f1df6ee
parentf9de27709122dced7ed48d46dd512ac62872a405
Select groups without any buckets for remote MIPs

Issue-1:
--------
Inconsistency observed in table-21 flows. For remote IPv4/IPv6 MIPs,
traffic for fixed IPs are sent directly to table-220. But
traffic for remote learnt/MIPs are sent to groups.

Issue-2:
--------
Sporadic issue wherein when MIPs are learnt, perform delete and add
Transport zone (ITM). The corresponding groups referred in table-21
flows for remote MIPs have Select Groups without any buckets in one
of the DPN.

Solution for both 1 and 2:
--------------------------
+ Remote learnt/MIPs were treated as extra routes, hence were sent to
  load-balancing groups (Select). With this fix now, even for remote
  learnt/MIPs, traffic is directly sent to table-220 from table-21.

+ Refactored code to minimize datastore reads.

JIRA: NETVIRT-1553

Change-Id: Idb71cc6e5e2ce3eb812e36e51a0987a204d778dc
Signed-off-by: Somashekar Byrappa <somashekar.b@altencalsoftlabs.com>
fibmanager/impl/src/main/java/org/opendaylight/netvirt/fibmanager/VrfEntryListener.java [changed mode: 0755->0644]
vpnmanager/impl/src/main/java/org/opendaylight/netvirt/vpnmanager/VpnInterfaceManager.java
vpnmanager/impl/src/main/java/org/opendaylight/netvirt/vpnmanager/VpnUtil.java