YaST2 Developers Documentation: Network configuration



functions
files
intro

Network configuration

modules/Proxy.ycp
Proxy data
Configures FTP and HTTP proxies via sysconfig & SuSEconfig and /root/.curlrc (for YOU)

Imports

  • Summary

Includes

  • network/routines.ycp
  • network/runtime.ycp

Global Variables

Global Functions

global modified -> boolean

Data was modified?

global Read () -> boolean

Read settings

Return value:
true if success

global Write () -> boolean

Write routing settings and apply changes

Return value:
true if success

global Import (map settings) -> boolean

Get all settings from a map. When called by _auto (preparing autoinstallation data) the map may be empty.

Parameters:
settings autoinstallation settings
Return value:
true if success

global Export () -> map

Dump the Routing settings to a map, for autoinstallation use.

Return value:
autoinstallation settings

global Summary () -> string

Create proxy summary

Return value:
summary text

global GetModified () -> boolean

Function which returns if the settings were modified

Return value:
settings were modified

global SetModified () -> void

Function sets internal variable, which indicates, that any settings were modified, to "true"

global GetEnvironment () -> map <string, string>

Function returns an environment usable for curl. The proxy user/password are read from /root/.curlrc.


YaST2 Developers Documentation