Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes bug for PFCWD feature parameters (#838)
What I did The feature allows setting 'detection_time', 'restoration_time' and 'pollling_interval' PFCWD to an interface. The 'pollling_interval' must be lower than 'detection_time' and 'restoration_time'. The fix is checking if there is a lower value of 'detection_time' or 'restoration_time' than the 'pollling_interval' value entered by the user in config DB, if yes exit with error code 1. How I did it Checking the config DB for interfaces PFCWD values. How to verify it Try adding 'pollling_interval' greater than one of the values of PFCWD interfaces. Previous command output (if the output of a command-line utility has changed) No Output. New command output (if the output of a command-line utility has changed) unable to use polling_interval = #ms, value is bigger or equal to the minimum in PFCWD table
- Loading branch information