Bug7380:CSIT FIP ping is getting failed for Ext Flat/VLAN Network 92/62492/5
authorkarthikeyan <karthikeyan.k@altencalsoftlabs.com>
Thu, 31 Aug 2017 12:50:21 +0000 (18:20 +0530)
committerSam Hague <shague@redhat.com>
Wed, 13 Sep 2017 19:08:11 +0000 (19:08 +0000)
commit4f4f7effef43699a1568305ecf2aa48c602b0355
tree7750c8c2c35c31e4c4d9f724f84a2d0f813b02ab
parent3f26a19195eef926c6f3a171e71bc2383b25cd1b
Bug7380:CSIT FIP ping is getting failed for Ext Flat/VLAN Network

Problem Description:
=======================
FIP Ping TC is getting failed for external FLAT/VLAN network on single
node setup.

For Single node setup VXLAN TEP is not at all required for external
network with provider type as FLAT/VLAN.
Current Implementation on FIP handling, it is
expected nextHop IP should not be null before programming FIP local flow
entry L3_FIB_TABLE (21) -> PDNAT_TABLE (25). This validation is not
required for external provider type as FLAT/VLAN networks.

Solution:
==========
NextHopIP validation is already existing in NatUtil.addPrefixToBGP()
method before FIP advertising to BGP. Hence removing unnecessary
validation from VpnFloatingIpHandler.
This will resolve FIP local flow entry L3_FIB_TABLE (21) -> PDNAT_TABLE
(25) installation on corresponding DPN for external FLAT/VLAN network on
Single Node setup (Without VXLAN TEP Configured)

Change-Id: I6653c78733e037310827ffbcd4498097b19a2abf
Signed-off-by: karthikeyan <karthikeyan.k@altencalsoftlabs.com>
vpnservice/natservice/natservice-impl/src/main/java/org/opendaylight/netvirt/natservice/internal/VpnFloatingIpHandler.java