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:FIELDis the field containing the invalid value.VALUEis the invalid value.DEVICEis 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:FIELDis the field containing the invalid value.VALUEis the invalid value.DEVICEis the device name.