Problem:
For vcenter only mode, the agent replies arp with the physical intf mac address for the VN's gateway ip.
When vm migrates to a different esxi host as part of vmotion,vcenter plugin binds it to the new contrail-compute-vm,whose physical intf mac is different. But the vm still hold the old mac address for the gateway ip in the arp table.
Until the old mac address gets flushed and the new mac is learnt for the gateway ip, the traffic is lost from the vm for a different subnet.
Solution:
Whenever VM migrates to new esxi host. and upon creation of VM interface
Arp module will listen on route update. after getting the route update
send the gratious arp for the Gateway IP.
closes-bug:#1650219
Change-Id: I6bf4bab98c956bead866d22b7c8e8960419315b4
(cherry picked from commit 5912a8bf417658f53d7878cc800b14ade7800f64)
Reviewed: https:/ /review. opencontrail. org/27986 github. org/Juniper/ contrail- controller/ commit/ 3192a79712e8e2c 85e2faf50005b36 31bb6685e6
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R3.1.1.x
commit 3192a79712e8e2c 85e2faf50005b36 31bb6685e6
Author: jayaramsatya <email address hidden>
Date: Wed Jan 11 19:33:37 2017 +0530
Problem: compute- vm,whose physical intf mac is different. But the vm still hold the old mac address for the gateway ip in the arp table.
For vcenter only mode, the agent replies arp with the physical intf mac address for the VN's gateway ip.
When vm migrates to a different esxi host as part of vmotion,vcenter plugin binds it to the new contrail-
Until the old mac address gets flushed and the new mac is learnt for the gateway ip, the traffic is lost from the vm for a different subnet.
Solution:
Whenever VM migrates to new esxi host. and upon creation of VM interface
Arp module will listen on route update. after getting the route update
send the gratious arp for the Gateway IP.
closes-bug:#1650219
Change-Id: I6bf4bab98c956b ead866d22b7c8e8 960419315b4 53d7878cc800b14 ade7800f64)
(cherry picked from commit 5912a8bf417658f