fix mac address src for lb ip in arp response when openelb pod restart on another k8s node - #360
fix mac address src for lb ip in arp response when openelb pod restart on another k8s node#360wenwenxiong wants to merge 4 commits into
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: wenwenxiong The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/assign @FeynmanZhou |
|
It is not recommended that you modify it this way. This breaks the working principle of openelb layer2 mode. Your modification will refresh all existing allocations to the mac of the node where openelb-manager is located instead of the nodes available in the cluster. |
Description
What type of PR is this ?:

the first openelb deploy will generate arp item in switch, for example 172.31.249.200 lb ip
when openelb pod restart on another k8s node(fisrt in BAGG52 peer node, restart on XGE2/0/17 peer node)

the arp table source endpoint (from BAGG52 to XGE2/0/17) in switch will change
if wen did not update lb ip mac addresses like in this pr.
the will lead network unreach for switch gateway to lb ip
because the source endpoint not consistency
Related links: