package
0.0.0-20221215221243-b79a0d8da330
Repository: https://github.com/purecloudlabs/gprovision.git
Documentation: pkg.go.dev
# Packages
Package xfer handles robust file transfers, primarily for use in mfg process.
# Functions
Remove duplicate routes if MetricForDuplicates is 0, else give them different priority by changing the metric.
Assign the given IP to the given device.
Enable any network interface, even DIAG if not hidden.
Enable any network interface except DIAG (only use if DIAG port(s) are not already hidden - if they are, usable ports will be skipped).
set state up, get addr via dhcp.
Returns all 'default via ...' routes.
Returns routes.
GetRouteThroughIface gets a route to destip through iface.
HasIpv4 returns true if the given interface has an ipv4 address.
No description provided by the author
IPNetFromCIDR converts an address string in CIDR notation into an IPNet.
No description provided by the author
WaitForIpv4 waits until at least one of the given interfaces to gain an ipv4 address, or until the wait time has expired.
Determine the WAN device.