networkd

command
v0.4.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2020 License: MPL-2.0 Imports: 7 Imported by: 0

README

networkd

Networkd handles the addressing and interface configuration in Talos.

The general workflow is:

  • Discover all network interfaces ( networkd.Discover() )
  • Create an abstract representation of the network interface configuration ( nic.NetworkInterface )
  • Merge userdata configuration options on top of the nic.NetworkInterface representation
  • Configure the network interfaces based on the abstract representation ( networkd.Configure(...) )
    • Bring interface up
    • Begin address configuration method ( address.DHCP, address.Static )
    • Create rtnetlink message to set address based on config method
    • Create rtnetlink message to set any routes defined by the address method

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
networkd
Package networkd handles the network interface configuration on a host.
Package networkd handles the network interface configuration on a host.
nic
Package nic provides a way to describe and configure a network interface.
Package nic provides a way to describe and configure a network interface.
reg

Jump to

Keyboard shortcuts

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