YaST2 Developers Documentation: yast2

yast2

modules/Address.ycp
Address manipulation routines

This module has an unstable interface.

Address is a hostname (either FQ or simple, or IP address)

Imports

  • Hostname
  • IP

Global Functions

global Valid4 () -> string

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

Return value:
description
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