Skip to content

Misconfiguration

Objective

Verify the driver's behavior when it receives configuration values outside defined ranges, ensuring it properly detects these errors during its startup sequence, with special attention to:

  • Device addresses
  • Misconfiguration in Extrafields

003-a - Misconfiguration in IP Address

Test Steps

  • Register a device with an invalid IP address. (If the device does not have an IP address, use the main configuration field of the device.)

Expected Results

  • The driver must detect the error and set the device to state "ConfigurationFailure"
  • The driver must create an entry in the device audit log with the message "Invalid 'FIELD' value 'VALUE' on 'DEVICE'" where:
    • FIELD is the field containing the invalid value.
    • VALUE is the invalid value.
    • DEVICE is the device name.

003-b - Misconfiguration in Extrafields

Test Steps

  • Register a device with an invalid extrafield.

Expected Results

  • The driver must detect the error and set the device to state "ConfigurationFailure"
  • The driver must create an entry in the device audit log with the message "Invalid 'FIELD' value 'VALUE' on 'DEVICE'" where:
    • FIELD is the field containing the invalid value.
    • VALUE is the invalid value.
    • DEVICE is the device name.