YaST2 Developers Documentation: yast2



functions
files
intro

yast2

modules/Address.ycp
Address manipulation routines
Address is a hostname (either FQ or simple, or IP address)

Imports

  • Hostname
  • IP

Global Functions

global Valid4 () -> string

Return value:
a description of a valid address (ip4 or name)

global Check4 (string address) -> boolean

Check syntax of a network address (ip4 or name)

Parameters:
address an address
Return value:
true if correct

global Check6 (string address) -> boolean

Check syntax of a network address (ip6 or name)

Parameters:
address an address
Return value:
true if correct

global Check (string address) -> boolean

Check syntax of a network address (IP address or hostname)

Parameters:
address an address
Return value:
true if correct

YaST2 Developers Documentation