YaST2 Developers Documentation: Unknown YCP Module

Unknown YCP Module

This module has an unstable interface.

Imports

  • Arch
  • CWM
  • Label
  • Lan
  • LanItems
  • NetworkInterfaces
  • Popup
  • Wizard

Includes

  • network/lan/cards.ycp
  • network/routines.ycp
  • network/summary.ycp

Local Functions

Info:

File: include/network/lan/hardware.ycp Package: Network configuration Summary: Hardware dialogs Authors: Michal Svec

local isNewDevice () -> boolean

Determines if the dialog is used for adding new device or for editing existing one.

Some widgets are disabled when creating new device. Also, when editing existing device, it is not possible to e.g. change device type.

Return value:
false if hardware widgets are embedded into another dialog, otherwise true.
local initHelp () -> string

Dynamic initialization of help text.

Return value:
content of the help
local SelectionDialog () -> any

Call back for a manual selection from the list

Return value:
dialog result
local CheckUdevNicName (string name) -> boolean

Checks if given name can be accepted as nic's new one.

Parameters:
name
Return value:
false and pops up an explanation if the name is invalid
local EditUdevRulesDialog () -> string

Dialog for editing nic's udev rules.

Return value:
nic name. New one if `ok, old one otherwise.
local S390Dialog () -> any

S/390 devices configuration dialog

Return value:
dialog result
local HardwareDialog () -> any

Manual network card configuration dialog

Return value:
dialog result