Skip to content

Conversation

@tamilmani1989
Copy link
Member

added drop rule for arp request for snat bridge ip

Reason for Change:

Issue Fixed:

Requirements:

Notes:

log.Printf("Drop ARP for snat bridge ip: %s", snatBridgeIP)
if err := dropArpForSnatBridgeIP(snatBridgeIP, azureSnatVeth0); err != nil {
return err
}
Copy link

@chandanAggarwal chandanAggarwal Jun 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are these calls idempotent? previously we were just returning if snatbridge exsited? #Resolved

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chandanAggarwal yes these calls are idempotent...for ebtable we check if rule exists and add it..the other one where we set mac to bridge is idempotent..i tested this in runner setup which creates multuple swift pods and each pod invoke this codepath

Copy link

@chandanAggarwal chandanAggarwal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@tamilmani1989 tamilmani1989 changed the title Drop arp request for snatbridge ip Drop arp request for snatbridge apipa range Jun 28, 2021
@tamilmani1989 tamilmani1989 merged commit 57fbd94 into Azure:master Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants