YaST2 Developers Documentation: Network configuration

Network configuration

include/network/services/proxy.ycp
Proxy configuration

This module has an unstable interface.

Imports

  • Hostname
  • Label
  • Mode
  • Popup
  • Proxy
  • String
  • URL
  • Wizard

Includes

  • network/routines.ycp

Local Functions

local ProxyFinishPopup (boolean modified) -> void

Display popup at the end of the proxy configuration

Parameters:
modified true if proxy settings have been modified
local ErrorPopupGeneric (string message, string details) -> void

Function opens the generic error dialog including the message with the [Details >>] button. It handles pressing the button itself.

Parameters:
message
details
local TestProxyReturnCode (string test_type, string proxy_ret_stderr) -> boolean

Function checks the proxy-return code.

Parameters:
test_type
proxy_ret_stderr
Return value:
true if the proxy response is a good one
local TestProxySettings () -> boolean

Function test the current HTTP and FTP proxy settings. It currently ignores the "No Proxy" value.

Return value:
true if successful
local ProxyMainDialog (boolean standalone) -> any

Proxy dialog

Parameters:
standalone true if not run from another ycp client
Return value:
dialog result