144. NetHwDetection

Network detection

144.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

144.2. Global Functions

144.2.1. DuplicateIP

Duplicate IP detection

Function parameters

  • string ip

Return value

  • boolean - true if duplicate found

144.2.2. ResolveIP

Resolve IP to hostname

Function parameters

  • string ip

Return value

  • string - resolved host

144.2.3. Start

Start the detection

Return value

  • boolean - true on success

144.2.4. Stop

Stop the detection

Return value

  • boolean - true on success

144.3. Global Variables

144.3.1. result

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

144.3.2. running

True, if detection is running

144.4. Module Requirements

144.4.1. Module Imports

  • Directory
  • Package
  • String

144.4.2. Module Includes

  • network/hardware.ycp