YaST2 Developers Documentation: Network configuration

Network configuration

modules/LanUdevAuto.ycp
Udev rules for autoinstallation
  • Michal Zugec

This module has an unstable interface.

Representation of the configuration of network cards.

Imports

  • LanItems
  • Map

Includes

  • network/routines.ycp

Local Functions

local InstallInfParameter (string name) -> string

Parameters:
name parameter name, case sensitive
Return value:
parameter from /etc/install.inf or nil
local KernelCmdlineParameter (string name) -> string

Parameters:
name parameter name, case sensitive
Return value:
parameter from the kernel(boot) command line or nil
local InstallationParameter (string name) -> string

Parameters:
name parameter name, case sensitive
Return value:
installation parameter or nil
local oldStyle (map ay) -> boolean

internal function: check if old-style (ifcfg-eth-id-..., ifcfg-eth-bus-... is used) or new-style (ifcfg-eth0)

Parameters:
ay
local createUdevFromIfaceName (list<map> interfaces) -> list<map>

internal function: for old-slyle create udev rules and rename interface names to new-style

Parameters:
interfaces