Documentation ¶
Index ¶
- func FlushIPNeigh(ip string, exec executor.Executor) error
- func ForIP(ip string, exec executor.Executor) (net.HardwareAddr, error)
- func GetIfaceMac(iface string, exec executor.Executor) (net.HardwareAddr, error)
- func MatchNode(nodes []corev1.Node, mac net.HardwareAddr, exec executor.Executor) (*corev1.Node, error)
- func RequestAddressResolution(ip string, exc executor.Executor) error
- func RequestAddressResolutionFromIface(ip string, iface string, exec executor.Executor) error
- func UpdateNodeCache(nodes []corev1.Node, exec executor.Executor) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FlushIPNeigh ¶ added in v0.13.6
FlushIPNeigh flush the ip from ip neighbor table.
func GetIfaceMac ¶ added in v0.13.6
GetIfaceMac returns the mac of the iface.
func MatchNode ¶
func MatchNode(nodes []corev1.Node, mac net.HardwareAddr, exec executor.Executor) (*corev1.Node, error)
MatchNode returns the node with the given MAC address.
func RequestAddressResolution ¶ added in v0.12.0
RequestAddressResolution does an ARP/NS request for the given IP.
func RequestAddressResolutionFromIface ¶ added in v0.13.6
RequestAddressResolutionFromIface does an ARP/NS request for the given IP from the given interface.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.