iputils

package
v1.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UHostMasterInterface  = "eth0"
	UPHostMasterInterface = "eth2"
)

Variables

This section is empty.

Functions

func GetMasterInterface

func GetMasterInterface() string

func GetNodeAddress

func GetNodeAddress(dev string) (string, string, error)

Get node master network interface ip and mac address

func GetNodeIPAddress

func GetNodeIPAddress(dev string) (*netlink.Addr, error)

func GetNodeMacAddress

func GetNodeMacAddress(dev string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL