Andrew Rynhard 2a449aea2f fix: fix error format
Minor fix to error string format that also uses %q instead of %s. The
quoted format helps when there are hidden characters.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-12-30 20:56:23 -08:00
..
2019-12-30 20:56:23 -08:00

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