commit 218a8f51c737ce561cf0008c87b3d114365f24f7
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/11869 github. org/Juniper/ contrail- controller/ commit/ 218a8f51c737ce5 61cf0008c87b3d1 14365f24f7
Committed: http://
Submitter: Zuul
Branch: master
commit 218a8f51c737ce5 61cf0008c87b3d1 14365f24f7
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