Set remote ARP MAC address when CNS is running in CRD mode (#1306)
Co-authored-by: Jaeryn <tsun.chu@microsoft.com> windows dualstack e2e failures not related to this PR
This commit is contained in:
Родитель
027938a4c9
Коммит
257925e066
|
@ -579,6 +579,13 @@ func main() {
|
|||
logger.Errorf("Failed to start CRD Controller, err:%v.\n", err)
|
||||
return
|
||||
}
|
||||
|
||||
// Setting the remote ARP MAC address to 12-34-56-78-9a-bc on windows for external traffic
|
||||
err = platform.SetSdnRemoteArpMacAddress()
|
||||
if err != nil {
|
||||
logger.Errorf("Failed to set remote ARP MAC address: %v", err)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
// Initialize multi-tenant controller if the CNS is running in MultiTenantCRD mode.
|
||||
|
@ -589,6 +596,13 @@ func main() {
|
|||
logger.Errorf("Failed to start multiTenantController, err:%v.\n", err)
|
||||
return
|
||||
}
|
||||
|
||||
// Setting the remote ARP MAC address to 12-34-56-78-9a-bc on windows for external traffic
|
||||
err = platform.SetSdnRemoteArpMacAddress()
|
||||
if err != nil {
|
||||
logger.Errorf("Failed to set remote ARP MAC address: %v", err)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
logger.Printf("[Azure CNS] Start HTTP listener")
|
||||
|
|
Загрузка…
Ссылка в новой задаче