commit 56541328c761eaf037bc234a0ddff5723c3f4faf
Author: Praveen K V <email address hidden>
Date: Wed Jun 17 19:57:04 2015 +0530
Fix tunnel-dest IP being set to 0.0.0.0
When OVS Peer adds routes, it does not set the server_ip_ field in the
AgentPath. Further when route is rebaked, the AgentPath module uses the
server_ip_ field to create the NH. This can result in NH being created
with dest-ip=0.0.0.0
Fix:
1. Modified ChangeNH() to pick the dest-ip and store in server_ip_ field of
AgentPath.
Additional changes:
1. server_ip_ was a misnomer. Its renamed to tunnel_dest_
2. UT to verify the scenario
Reviewed: https:/ /review. opencontrail. org/11750 github. org/Juniper/ contrail- controller/ commit/ 56541328c761eaf 037bc234a0ddff5 723c3f4faf
Committed: http://
Submitter: Zuul
Branch: R2.20
commit 56541328c761eaf 037bc234a0ddff5 723c3f4faf
Author: Praveen K V <email address hidden>
Date: Wed Jun 17 19:57:04 2015 +0530
Fix tunnel-dest IP being set to 0.0.0.0
When OVS Peer adds routes, it does not set the server_ip_ field in the
AgentPath. Further when route is rebaked, the AgentPath module uses the
server_ip_ field to create the NH. This can result in NH being created
with dest-ip=0.0.0.0
Fix:
1. Modified ChangeNH() to pick the dest-ip and store in server_ip_ field of
AgentPath.
Additional changes:
1. server_ip_ was a misnomer. Its renamed to tunnel_dest_
2. UT to verify the scenario
Change-Id: I2e2cf4c90a0c56 765ab5b3313fda4 21c329a4b2d
Closes-Bug: #1466113