Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func CreateAddrManager ¶
func (*Manager) ResetInfos ¶
func (m *Manager) ResetInfos()
func (*Manager) SyncAddresses ¶
func (m *Manager) SyncAddresses(getIPInstanceByAddress func(net.IP) (*networkingv1.IPInstance, error)) error
SyncAddresses try to add an "enhanced" addresses on vlan node forward interface For some environments, physical router or switcher might check the sender address of arp request, if the sender ip address is not in the same subnet of target address the arp request will be take as invalid and dropped.
So we will always keep an valid local pod address in the vlan interface without local routes.
Click to show internal directories.
Click to hide internal directories.