NAT not working after Replay-Based-Upgrade 26/83226/2
authorChetan Arakere Gowdru <chetan.arakere@altencalsoftlabs.com>
Wed, 24 Jul 2019 09:06:28 +0000 (14:36 +0530)
committerFaseela K <faseela.k@ericsson.com>
Wed, 31 Jul 2019 05:48:53 +0000 (05:48 +0000)
commita77597ae37518a0c99ec2e84c1f0cdf806be145e
tree0fc63170abc9e74d18cd15525c64a9dda194a098
parent71925b5079ac234ec352f3d1f58ccc41972a3900
NAT not working after Replay-Based-Upgrade

Description: we noticed that the SNAT flows 26->46, 36->46
flows are missing when RBU is perfomed.

Root cause : The flows are actually installed by iterating over the
DPNs retrieved from router-dpn-list, but as this is an operational
DS and is empty initially while doing RBU, the flows installation code is not hit

Solution: As we already have the NAPT switch ID, install the flows
without interating over the router-dpn-list.

Issue: NETVIRT-1617

Change-Id: Ie3b027356f754830e1cfd37d6c2daffdbf9bfa94
Signed-off-by: Chetan Arakere Gowdru <chetan.arakere@altencalsoftlabs.com>
natservice/impl/src/main/java/org/opendaylight/netvirt/natservice/internal/ExternalRoutersListener.java