Bug 8864: DNAT to SNAT traffic is getting failed on same DPN for VXLAN 34/60534/5
authorkarthikeyan <karthikeyan.k@altencalsoftlabs.com>
Tue, 18 Jul 2017 12:44:21 +0000 (18:14 +0530)
committerSam Hague <shague@redhat.com>
Tue, 25 Jul 2017 21:51:13 +0000 (21:51 +0000)
commite88336d0b929975f84beb448f5fd08e9233dcf9f
tree79a415c410f1552ce2d63f01a5524da905a698a4
parent5780817e2fa72516670936fe56ff0b21ecb5baad
Bug 8864: DNAT to SNAT traffic is getting failed on same DPN for VXLAN

Problem Description:
=========================
DNAT to SNAT traffic is getting failed on same hypervisor for External
VXLAN Provider Type

Solution:
===========
Have added the follwing flow install/remove code to handle this problem
for external VXLAN provider type (EVPN_RT5)

Install the flow L3_FIB_TABLE (table=21)-> INBOUND_NAPT_TABLE (table=44)
(FIP VM on DPN1 is responding back to external fixed Ip on DPN1 itself.
ie. same Hypervisor){DNAT to SNAT Intra DC traffic}

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