NETVIRT-1519: MIP entry duplicated in FIB
[netvirt.git] / vpnmanager / impl / src / main / java / org / opendaylight / netvirt / vpnmanager / iplearn / LearntVpnVipToPortEventProcessor.java
index 948b3daeed0ec46b3769d74f6bb61f74592530d1..ad34ef92e0eb2427cbea776e4219db861c7c80f7 100644 (file)
@@ -169,6 +169,8 @@ public class LearntVpnVipToPortEventProcessor
             return Collections.singletonList(txRunner.callWithNewWriteOnlyTransactionAndSubmit(
                                                                         Datastore.OPERATIONAL, operTx -> {
                     addMipAdjacency(vpnName, interfaceName, srcIpAddress, macAddress, destIpAddress);
+                    vpnUtil.createVpnPortFixedIpToPort(vpnName, srcIpAddress,
+                            interfaceName, Boolean.TRUE, macAddress, null);
                     vpnUtil.createLearntVpnVipToPort(vpnName, srcIpAddress, interfaceName, macAddress, operTx);
                 }));
         }