55. Detection

Network detection

55.1. Summary of Module Globals

List of Global Functions

List of Global Variables

  • result - Detection result (in dhcpcd-<i>interface</i>.info format)

  • running - True, if detection is running

55.2. Global Functions

55.2.1. DuplicateIP

Duplicate IP detection

Function parameters

  • string ip

Return value

  • boolean - true if duplicate found

55.2.2. ResolveIP

Resolve IP to hostname

Function parameters

  • string ip

Return value

  • string - resolved host

55.2.3. Start

Start the detection

Return value

  • boolean - true on success

55.2.4. Stop

Stop the detection

Return value

  • boolean - true on success

55.3. Global Variables

55.3.1. result

Detection result (in dhcpcd-<i>interface</i>.info format)

55.3.2. running

True, if detection is running

55.4. Module Requirements

55.4.1. Module Imports

  • Directory
  • Package
  • String

55.4.2. Module Includes

  • network/hardware.ycp